安装chronyd
yum install chrony -y
配置文件
vim /etc/chrony.conf
server cn.pool.ntp.org iburst
allow 10.10.27.0/24
driftfile /var/lib/chrony/drift
makestep 1.0 3
rtcsync
local stratum 10
logdir /var/log/chrony
启动同步
systemctl enable chronyd
systemctl start chronyd
chronyc sources
评论区