User Tools

Site Tools


ubuntuntp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubuntuntp [2013/01/27 21:29] (current)
Line 1: Line 1:
 +====== 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:
 +<​file>​ntpdate ntp_server</​file>​
 +Then install the NTP daemon:
 +<​file>​sudo apt-get install ntp</​file>​
 +Edit /​etc/​ntp.conf:​
 +<​file>​server ntp_server1
 +server ntp_server2</​file>​
 +Save it and restart ntpd:
 +<​file>​sudo /​etc/​init.d/​ntp restart</​file>​
  
 +==== Reference ====
 +[[https://​help.ubuntu.com/​8.04/​serverguide/​C/​NTP.html|https://​help.ubuntu.com/​8.04/​serverguide/​C/​NTP.html]]
 +
 +-- Main.FredPettis - 2010-12-03
ubuntuntp.txt ยท Last modified: 2013/01/27 21:29 (external edit)