NTP (Network Time Protocol) Server on CentOS 5
step 1
#yum install ntp
or download ntp rpmpkg
step 2
# crontab -e
*/15 * * * * ntpdate 210.72.145.44
step 3
# vi /etc/ntp.conf
(add or replace the text as follows)
server 210.72.145.44 prefer
(set the default source is from "TIME OF THE NET SERVER IN CHINA")
server 218.21.130.42
(an other source server)
restrict 0.0.0.0 mask 0.0.0.0 nomodify
(allow all client)
step [...]
