Here’s how to auto-sync the clock of your CentOS box:
- if not yet installed, install the ntp package
# yum install ntp - Turn on Service
# chkconfig ntpd on - Synchronize the system clock with 0.pool.ntp.org server
# ntpdate pool.ntp.org - Start the NTP deamon
# /etc/init.d/ntpd start - You’re done!