chrony 服务端与客户端
chrony 服务端与客户端
# 服务端 /etc/chrony.conf
server ntp.aliyun.com iburst
allow 10.10.0.0/24
local stratum 10
# 客户端 /etc/chrony.conf
server 10.10.0.10 iburst验证命令
验证命令
systemctl enable --now chronyd
chronyc sources -v
chronyc trackingWindows 同步
Windows 同步
w32tm /config /manualpeerlist:10.10.0.10 /syncfromflags:manual /update
w32tm /resync
w32tm /query /status