centos6.7搭建局域网ntp服务器

修改/etc/ntp.conf文件

restrict xxx nomodify notrap nopeer noquery             #xxx 此处配置本地IP地址
restrict 127.0.0.1
restrict xxx mask 255.255.255.0 nomodify notrap     # xxx为允许进行ntp同步的网段
server 127.127.1.0
Fudge 127.127.1.0 stratum 8

猜你喜欢

转载自www.cnblogs.com/xiaopaipai/p/11590531.html