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

It's only fair to share...Tweet about this on TwitterShare on Google+Share on FacebookShare on LinkedInEmail this to someone
Twitter Auto Publish Powered By : XYZScripts.com