Tag Archives: time on ubuntu

Time synchronization on Ubuntu 12.04LTS using NTP

To install the ntp, just enter this command at the terminal:

sudo apt-get install ntp

After installation, edit the default ntp configuration:

sudo nano /etc/ntp.conf

Commented out the default Ubuntu server,you can add your own time-servers here to synchronize with, http://www.pool.ntp.org/zone/europe or http://www.pool.ntp.org/zone/north-america lists:

After you are done with the configuration, just restart the ntp service:

sudo service ntp restart

To check if the NTP service is synchronizing:

sudo ntpq -c lpeer

To check the synchronization log:

sudo tail -f /var/log/syslog

Geeky Comparison with Windows clock after synchronization 🙂

Troubleshooting:

If you are using the firewall, then just allows port 123 on UDP level.

Hope this will help you!

Please Remember me in your prayers!

Advertisements
%d bloggers like this: