Latest Posts »
Latest Comments »
Popular Posts »

配置时间服务器:ntpd

Written by bixuan on 2006年10月30号 – 11:10

系统:redhat as4-u4

首先安装:ntp

yum -y install ntp

注意:redhat as4中是没有yum,这里的yum是我自己架设的yum repo,抱歉,不对外开放:-)

配置:

cat > /etc/ntp.conf < end
server 195.13.1.153
server 194.137.39.67
server 58.73.137.250
server 207.46.130.100
restrict 195.13.1.153 mask 255.255.255.255 nomodify notrap noquery
restrict 194.137.39.67 mask 255.255.255.255 nomodify notrap noquery
restrict 172.16.1.0 mask 255.255.255.0
driftfile /var/lib/ntp/drift
broadcastdelay 0.008
keys /etc/ntp/keys
end

启动:/etc/init.d/ntpd start

  转贴到开心网
分享到Google Buzz  分享到 Google Buzz
Posted in 运维小技巧 |

Leave a Comment