NTP is a protocol designed to synchronize the clocks of computers over a network, easy to setup and probably comes packaged with the OS.
Here's what was needed on a Fedora-6:
-
Install the ntp rpm if not already installed.
# yum install ntp
Find a reliable close ntp pool server or you could just use the hub, "pool.ntp.org" and add it to the server list in "/etc/ntp.conf" file.
Make sure your computer's clock is set to something sensible (within a few minutes of the 'true' time) - you could use `ntpdate pool.ntp.org`, or you could just use the date command and set it to your wristwatch, and also synchronize the hardware clock.
Make sure ntp starts up at boot and then start the service:
# /sbin/chkconfig ntpd on
# /sbin/service ntpd start
# ntpq -pn localhost
Related Reading:
- sandip's blog
- Login or register to post comments