CentOS Linux install and configure NTP to synchronize the system clock
Q. How do I install and configure NTP to synchronize the system clock?
A. You can install NTP (Network Time Protocol) using the yum command under Redhat or CentOS/Fedora core Linux.
This is how you would do it :-
Login as the root user using SSH
Type the following commands to install, update and start on boot NTP
yum install ntp
chkconfig ntpd on
ntpdate pool.ntp.org
Start NTP using the following command via SSH:
/etc/init.d/ntpd start