Saturday, July 19, 2014

Time Synchronisation With NTP In Ubuntu

Install the NTP daemon :   sudo apt-get install ntp
Stop the NTP service :       sudo /etc/init.d/ntp stop
Set your timezone :           sudo dpkg-reconfigure tzdata
Set the local time to the time provided by the specified time server
                                         sudo ntpdate 0.de.pool.ntp.org
Edit the config file if you want to change the default time server addresses
                                         sudo mcedit /etc/ntp.conf
Start the NTP server :      sudo /etc/init.d/ntp start
Test NTP status :              sudo ntpq -p

No comments:

Post a Comment

bloggerwidgets