How to Synchronize Time with NTP Server in Ubuntu / Linux Mint / Xubuntu / Debian
In today’s computer world time synchronization is very crucial to determine when events happened to your system. You may want your system time should be accurate. The Network Time Protocol (NTP) is to keep your system clock updated. It contacts NTP servers around the globe depend upon the configuration or you may configure NTP manually by editing default configuration file in /etc/ntp.conf file and NTP will fetch local time accordingly. NTP uses UDP port 123.
Installation of NTP Server
Open terminal with “Ctrl+Alt+T” and type command ‘sudo apt-get install ntp’. Update your packages list in case any error thrown as ‘Unable to locate package’ with ‘sudo apt-get update’ or please verify sources.list file at /etc/apt/ path.
Verify NTP service is running by using command ‘sudo service ntp status’.
NTPQ command utility to monitor NTP daemon and it’s performance with command ‘sudo ntpq -p’.
You may verify Synchronization ntp logs using ‘sudo tail -f /var/log/syslog’ command.
For more information, please visit http://www.pool.ntp.org/ to get nearest NTP servers list.