<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>centos time zone Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/centos-time-zone/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 25 Nov 2018 17:58:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>Change Time Zone on CentOS and RHEL</title>
		<link>https://www.osradar.com/change-time-zone-on-centos-and-rhel/</link>
					<comments>https://www.osradar.com/change-time-zone-on-centos-and-rhel/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Sun, 25 Nov 2018 17:58:45 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[centos 7 time zone]]></category>
		<category><![CDATA[centos time zone]]></category>
		<category><![CDATA[time zone]]></category>
		<category><![CDATA[time zone centos 7]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7649</guid>

					<description><![CDATA[<p>Time zone is one of the most important and basic system settings that have to CORRECTLY set. Without a proper time zone, lots of your online services and apps aren’t going to work or even allow you to access the service at all. CentOS and RHEL are the enterprise Linux distros we got at the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/change-time-zone-on-centos-and-rhel/">Change Time Zone on CentOS and RHEL</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Time zone is one of the most important and basic system settings that have to CORRECTLY set. Without a proper time zone, lots of your online services and apps aren’t going to work or even allow you to access the service at all.</p>
<p>CentOS and RHEL are the enterprise Linux distros we got at the higher ends. As they’re used for higher level works, you must make sure that the system is configured with the correct time zone.</p>
<p>Let’s find out on changing and fixing the time zone of your CentOS and RHEL.</p>
<h1>Changing time zone</h1>
<p>Fire up a terminal –</p>
<p><img loading="lazy" class="size-full wp-image-7651 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-1.png" alt="" width="945" height="596" srcset="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-1.png 945w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-1-300x189.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-1-768x484.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-1-696x439.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-1-666x420.png 666w" sizes="(max-width: 945px) 100vw, 945px" /></p>
<p>Run the following command –</p>
<pre>timedatectl</pre>
<p><img loading="lazy" class="size-full wp-image-7652 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-2.png" alt="" width="755" height="518" srcset="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-2.png 755w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-2-300x206.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-2-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-2-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-2-696x478.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-2-612x420.png 612w" sizes="(max-width: 755px) 100vw, 755px" /></p>
<p>This will show the current time and time zone.</p>
<p>Now, run the following command –</p>
<pre class="">timedatectl list-timezones</pre>
<p><img loading="lazy" class="size-full wp-image-7653 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-3.png" alt="" width="1026" height="641" srcset="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-3.png 1026w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-3-300x187.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-3-768x480.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-3-1024x640.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-3-696x435.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-3-672x420.png 672w" sizes="(max-width: 1026px) 100vw, 1026px" /></p>
<p>This will show you a HUGE list of available time zones. If you want to show the time zones for a specific area, <a href="https://www.osradar.com/how-to-use-grep-on-linux/">use “grep”</a>.</p>
<pre class="">timedatectl list-timezones | grep Asia</pre>
<p><img loading="lazy" class="size-full wp-image-7654 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-4.png" alt="" width="1022" height="654" srcset="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-4.png 1022w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-4-300x192.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-4-768x491.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-4-696x445.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-4-656x420.png 656w" sizes="(max-width: 1022px) 100vw, 1022px" /></p>
<p>Once you’ve identified your time zone, it’s TIME to bake it into your system!</p>
<pre class="">timedatectl set-timezone Asia/Dhaka</pre>
<h1><img loading="lazy" class="size-full wp-image-7655 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-5.png" alt="" width="751" height="163" srcset="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-5.png 751w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-5-300x65.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-5-696x151.png 696w" sizes="(max-width: 751px) 100vw, 751px" /></h1>
<h1>Verifying the result</h1>
<p>Run the following commands –</p>
<pre class="">date

ls -l /etc/localtime</pre>
<p><img loading="lazy" class="size-full wp-image-7656 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-6.png" alt="" width="757" height="151" srcset="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-6.png 757w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-6-300x60.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-6-696x139.png 696w" sizes="(max-width: 757px) 100vw, 757px" /></p>
<p><img loading="lazy" class="size-full wp-image-7657 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-7.png" alt="" width="754" height="169" srcset="https://www.osradar.com/wp-content/uploads/2018/11/centos-time-7.png 754w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-7-300x67.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/centos-time-7-696x156.png 696w" sizes="(max-width: 754px) 100vw, 754px" /></p>
<p>Enjoy!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/change-time-zone-on-centos-and-rhel/">Change Time Zone on CentOS and RHEL</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/change-time-zone-on-centos-and-rhel/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
