server 127.127.1.0

fudge  127.127.1.0 stratum 11

driftfile /var/lib/ntp/drift

broadcastdelay 0.008

 

上面是自己作为ntp服务器简单配置

 

 

server 192.168.1.10 prefer

driftfile /var/lib/ntp/drift

broadcastdelay 0.008

 

上面是选择其他服务器作为ntp服务器简单配置

 

完事后,/etc/init.d/ntpd start | stop | restart ,注意要重启

 

开机自启动 chkconfig ntpd on

 

本配置在红帽企业版本5下有用

 

相关文章:

  • 2021-12-09
  • 2021-10-15
  • 2021-09-09
  • 2021-07-23
  • 2021-09-14
  • 2022-12-23
猜你喜欢
  • 2021-08-22
  • 2021-09-03
  • 2021-10-01
  • 2022-12-23
  • 2021-06-11
相关资源
相似解决方案