Setting up NTP Client on CentOS 5.3
setting up the ntp client for time synchronization on centos cando as follow
1. login to your shell as root
2. install ntp client by invoke this command
yum -y install ntp
3. edit ntp file configuration|
vi /etc/ntp.conf
comment out all the default time server and add your own time server. in case of me , Im in Thailand
so I use the time server that located in thailand.
server clock.thaicert.org
server time1.nimt.or.th
server time2.nimt.or.th
server time3.nimt.or.th
5. start the service
service ntpd start
6. start ntp on boot
chkconfig –levels 235 ntpd on
October 23rd, 2009 at 7:28 pm
Correction for step 6:
chkconfig –-level 235 ntpd on