User Tools

Ubuntu NTP

Run the following command to get the time in sync where “ntp_server” is the name or IP address of a valid NTP server:

ntpdate ntp_server

Then install the NTP daemon:

sudo apt-get install ntp

Edit /etc/ntp.conf:

server ntp_server1
server ntp_server2

Save it and restart ntpd:

sudo /etc/init.d/ntp restart

Reference

https://help.ubuntu.com/8.04/serverguide/C/NTP.html

– Main.FredPettis - 2010-12-03

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information