install ntp centos

Login as the root user

Type the following command to install ntp
# yum install ntp

Turn on service
# chkconfig ntpd on

Synchronize the system clock with pool.ntp.org server:
# ntpdate 0.centos.pool.ntp.org

Start the NTP:
# /etc/init.d/ntpd start