Syncronise time with NTP server in Ubuntu /Mint/Debian

by
Share this Article: Facebook0Google+0Twitter10LinkedIn1Reddit0StumbleUpon0

How to Synchronize time  with NTP  server in Ubuntu /Mint/Debian ?

To install the ntp, just enter this command:

sudo apt-get install ntp

 Edit the default ntp configuration:

sudo nano /etc/ntp.conf

Add the following to your ntp.conf file: (Netherlands)

server 0.nl.pool.ntp.org
 server 1.nl.pool.ntp.org
 server 2.nl.pool.ntp.org
 server 3.nl.pool.ntp.org

to  get other  servers  for your  country  please  use  http://www.pool.ntp.org/

After ,  just restart the ntp service:

sudo service ntp restart

Check if the NTP service is synchronizing:

sudo ntpq -c lpeer

To check the synchronization log:

sudo tail -f /var/log/syslog

For questions please refer to our Q/A forum at : http://ask.unixmen.com/


Share this Article: Facebook0Google+0Twitter10LinkedIn1Reddit0StumbleUpon0