How to set up ntp on Cent OS.
1. Install ntp.
# yum install ntp
2. Turn on service.
# /sbin/chkconfig ntpd on
3. Synchronize the system clock.
# /sbin/ntpdate pool.ntp.org
4. Start ntp.
# /etc/init.d/ntpd start
1. Install ntp.
# yum install ntp
2. Turn on service.
# /sbin/chkconfig ntpd on
3. Synchronize the system clock.
# /sbin/ntpdate pool.ntp.org
4. Start ntp.
# /etc/init.d/ntpd start