Configure NTP to Synchronize the system clock: Centos 6

Login as root. Type the following command

[root@homeserver]# yum install ntp

Type on the ntpd service

[root@homeserver]# chkconfig ntpd on

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

[root@homeserver]# ntpdate pool.ntp.org

Start daemon process:

[root@homeserver]# /etc/init.d/ntpd restart