Syncronise time with NTP server in Ubuntu /Mint/Debian
How to Synchronize time with NTP server in Ubuntu /Mint/Debian ?To install the ntp, just enter this command:
sudo apt-get install ntpEdit the default ntp configuration:
sudo nano /etc/ntp.confAdd 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.orgto get other servers for your country please use http://www.pool.ntp.org/
After , just restart the ntp service:
sudo service ntp restartCheck if the NTP service is synchronizing:
sudo ntpq -c lpeerTo check the synchronization log:
sudo tail -f /var/log/syslog
No comments:
Post a Comment