Time Synchronisation in CentOS

21 01 2010

3 Steps and then you will be synchronised.

1. Make sure you have ntpd

>rpm -qa ntp

If nothing returns, you need to install NTP first.

> yum install ntp

2. It is time to synchronise(ntpd must be disabled).

> ntpdate time.navy.mi.th

3. Turn on ntpd service

> /etc/init.d/ntpd restart