================时钟同步设置================
1.添加路由
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
并添加
route add -host 10.10.10.33 gw 10.10.3.192
2.重启网络
#service network restart
3.测试网络
#ping 10.10.10.33
4.修改参数文件
#vi /etc/ntp.conf
并添加
tinker panic 0
logconfig =allinfo +allevents +allstatistics
server 10.10.10.33 prefer
restrict default nomodify notrap noquery
restrict 127.0.0.1
driftfile /var/lib/ntp/drift
5.配置ntpd启动级
#chkconfig --level 123 ntpd on;chkconfig --list ntpd
6.重启ntp服务
#service ntpd restart
1.添加路由
#vi /etc/sysconfig/network-scripts/ifcfg-eth0
并添加
route add -host 10.10.10.33 gw 10.10.3.192
2.重启网络
#service network restart
3.测试网络
#ping 10.10.10.33
4.修改参数文件
#vi /etc/ntp.conf
并添加
tinker panic 0
logconfig =allinfo +allevents +allstatistics
server 10.10.10.33 prefer
restrict default nomodify notrap noquery
restrict 127.0.0.1
driftfile /var/lib/ntp/drift
5.配置ntpd启动级
#chkconfig --level 123 ntpd on;chkconfig --list ntpd
6.重启ntp服务
#service ntpd restart