Welcome > Linux > Miscellaneous > Time Syncronization - Setup

Time Syncronization - Setup

For RHEL/CentOS 4 and later, /etc/ntp.conf is already set up to work. If you cannot get to one of these default servers, or want to change them, go to lines 17-19, and edit appropriately. Then:
touch /var/lib/ntp/drift
chkconfig ntpd on
service ntpd start
cd /etc/cron.d
cat <ntpdate
# ensure clock is updated upon reboot
@reboot root /usr/sbin/ntpdate -u

Content Copyright 2003-2014 George Toft