uncategorized

Local NTP Server Configuration

/etc/ntp.conf

1
2
3
4
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap 允许局域网内机器同步时间
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10 外界同步源无法联系时,使用本地时间为同步服务