Sync time with NTP on Ubuntu 12.04 - lifuzu/cafe GitHub Wiki
- Install ntp package:
sudo apt-get install ntp
- Tune the NTP server (/etc/ntp.conf)
\# Use servers from the NTP Pool Project. Approved by Ubuntu Technical Board
\# on 2011-02-08 (LP: \#104525). See http://www.pool.ntp.org/join.html for
\# more information.
server 0.ubuntu.pool.ntp.org
server 1.ubuntu.pool.ntp.org
server 2.ubuntu.pool.ntp.org
server 3.ubuntu.pool.ntp.org
sudo /etc/init.d/ntp reload
- View the status:
$ sudo ntpq -p
remote refid st t when poll reach delay offset jitter
diane.ensma.fr 192.93.2.20 2 u 9 64 3 161.164 309969. 2.394
ns.rnl.ist.utl. 150.214.94.5 2 u 8 64 3 190.486 127.283 0.830
64.246.132.14 .CDMA. 1 u 6 64 3 79.594 124.674 1.119
time.shf.uk.as4 89.36.197.2 3 u 10 64 3 157.356 119.386 0.467
golem.canonical 193.79.237.14 2 u 10 64 3 147.839 130.300 2.456
#References: