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 🙂


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!


2 responses to “Time synchronization on Ubuntu 12.04LTS using NTP

  1. Pingback: Perfect Server for Magento | Teknik

  2. Pingback: Sincronizzazione tempo su Ubuntu 12.04 | marcodevivo.com

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: