<?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>enable ntp Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/enable-ntp/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 21 Jun 2018 20:42:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to Sync Your Linux with NTP</title>
		<link>https://www.osradar.com/how-to-sync-your-linux-with-ntp/</link>
					<comments>https://www.osradar.com/how-to-sync-your-linux-with-ntp/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Sat, 05 May 2018 14:05:18 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[configure ntp]]></category>
		<category><![CDATA[configure ntp linux]]></category>
		<category><![CDATA[enable ntp]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[time server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=2916</guid>

					<description><![CDATA[<p>Time is the most important value in our life, philosophically speaking. Since the starting of our life, we’ve been taught that time is money. That’s why it’s really important to maintain the time in our life. That’s even a burning truth to the systems where even the slightest bit of delay in the system can [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-sync-your-linux-with-ntp/">How to Sync Your Linux with NTP</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 is the most important value in our life, philosophically speaking. Since the starting of our life, we’ve been taught that time is money. That’s why it’s really important to maintain the time in our life. That’s even a burning truth to the systems where even the slightest bit of delay in the system can cause serious and troublesome issues in lots of places. The best solution for this problem is NTP.</p>
<p>That’s what I faced several days ago when the computer time went haywire. Almost all the major sites were blocked in my device, thinking that I may be a hacker or some intruder. Thankfully, I synced with the NTP and fixed the issue. It’s always a good idea to sync your system with any NTP for keeping your PC’s time always up-to-date.</p>
<h3>What is NTP?</h3>
<p>NTP stands for Network Time Protocol. It’s a networking protocol that’s being used widely for syncing clocks between computer systems where system latency is a big factor. It’s also quite useful for keeping your system’s time up-to-date. In fact, it’s one of the oldest network protocols still in use.</p>
<h3>Syncing your Linux with NTP</h3>
<p>In most of the Linux systems, it’s done automatically. However, your system is prone to go haywire time to time. Let’s fix the system once and for all.</p>
<h3>Installing NTPd</h3>
<p>It comes pre-installed in lots of Linux distros, but just to make sure that it’s present in your system.</p>
<ul>
<li>Ubuntu</li>
</ul>
<pre>sudo apt install ntp</pre>
<p><img loading="lazy" class="size-full wp-image-2917 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/05/install-ntp-ubuntu.png" alt="" width="1186" height="485" srcset="https://www.osradar.com/wp-content/uploads/2018/05/install-ntp-ubuntu.png 1186w, https://www.osradar.com/wp-content/uploads/2018/05/install-ntp-ubuntu-300x123.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/install-ntp-ubuntu-768x314.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/install-ntp-ubuntu-1024x419.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/install-ntp-ubuntu-696x285.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/install-ntp-ubuntu-1068x437.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/install-ntp-ubuntu-1027x420.png 1027w" sizes="(max-width: 1186px) 100vw, 1186px" /></p>
<ul>
<li>Debian</li>
</ul>
<pre>sudo apt-get install ntp</pre>
<ul>
<li>Fedora</li>
</ul>
<pre>sudo dnf install ntp</pre>
<ul>
<li>OpenSUSE</li>
</ul>
<pre>sudo zypper install ntp</pre>
<ul>
<li>Arch Linux</li>
</ul>
<pre>sudo pacman -S ntp</pre>
<h3>Configuring the NTP server</h3>
<p>The NTPd program comes up with preset NTP servers in the configuration file. Those are enough for average users, but I recommend to switch to better servers like Google NTP.</p>
<p>For adding the Google NTP server in the system, run this command:</p>
<pre>sudo nano /etc/ntp.conf</pre>
<p>Now, add these lines in the file:</p>
<pre>server time.google.com iburst

server time2.google.com iburst

server time3.google.com iburst</pre>
<h3><img loading="lazy" class="size-full wp-image-2918 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/05/add-google-ntp-ntp-configuration.png" alt="" width="1183" height="487" srcset="https://www.osradar.com/wp-content/uploads/2018/05/add-google-ntp-ntp-configuration.png 1183w, https://www.osradar.com/wp-content/uploads/2018/05/add-google-ntp-ntp-configuration-300x123.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/add-google-ntp-ntp-configuration-768x316.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/add-google-ntp-ntp-configuration-1024x422.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/add-google-ntp-ntp-configuration-696x287.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/add-google-ntp-ntp-configuration-1068x440.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/add-google-ntp-ntp-configuration-1020x420.png 1020w" sizes="(max-width: 1183px) 100vw, 1183px" /></h3>
<h3>Setting time zone</h3>
<p>Before NTPd starts syncing with the time server, it needs to know your time zone. For setting that up, start a terminal and run this command:</p>
<pre>tzselect</pre>
<p>The wizard will walk you through setting up your time zone.</p>
<p><img loading="lazy" class="size-full wp-image-2919 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/05/configure-time-zone-for-ntp.png" alt="" width="1182" height="350" srcset="https://www.osradar.com/wp-content/uploads/2018/05/configure-time-zone-for-ntp.png 1182w, https://www.osradar.com/wp-content/uploads/2018/05/configure-time-zone-for-ntp-300x89.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/configure-time-zone-for-ntp-768x227.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/configure-time-zone-for-ntp-1024x303.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/configure-time-zone-for-ntp-696x206.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/configure-time-zone-for-ntp-1068x316.png 1068w" sizes="(max-width: 1182px) 100vw, 1182px" /></p>
<h3>Starting NTPd</h3>
<p>Open a terminal and run the following commands:</p>
<pre>sudo systemctl start ntp.service

sudo systemctl enable ntp.service</pre>
<p><img loading="lazy" class="size-full wp-image-2920 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/05/enable-ntp-service.png" alt="" width="1184" height="269" srcset="https://www.osradar.com/wp-content/uploads/2018/05/enable-ntp-service.png 1184w, https://www.osradar.com/wp-content/uploads/2018/05/enable-ntp-service-300x68.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/enable-ntp-service-768x174.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/enable-ntp-service-1024x233.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/enable-ntp-service-696x158.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/enable-ntp-service-1068x243.png 1068w" sizes="(max-width: 1184px) 100vw, 1184px" /></p>
<p>Enjoy the super accurate timing of your PC!</p>
<p>Love Linux? Then <a href="https://www.osradar.com/ubuntu-18-04-lts-better-than-ever/">try out the latest features of Ubuntu 18.04 LTS</a>!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-sync-your-linux-with-ntp/">How to Sync Your Linux with NTP</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/how-to-sync-your-linux-with-ntp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
