heroxsx 2009-05-10
================时钟同步设置================
1.添加路由
#vi/etc/sysconfig/network-scripts/ifcfg-eth0
并添加
routeadd-host10.10.10.33gw10.10.3.192
2.重启网络
#servicenetworkrestart
3.测试网络
#ping10.10.10.33
4.修改参数文件
#vi/etc/ntp.conf
并添加
tinkerpanic0
logconfig=allinfo+allevents+allstatistics
server10.10.10.33prefer
restrictdefaultnomodifynotrapnoquery
restrict127.0.0.1
driftfile/var/lib/ntp/drift
5.配置ntpd启动级
#chkconfig--level123ntpdon;chkconfig--listntpd
6.重启ntp服务
#servicentpdrestart