#服务端

yum install -y ntpvi /etc/ntp.conflogfile /var/log/ntp.log#添加以下2行,防止出现客户端no server suitableserver 127.127.1.0 fudge 127.127.1.0 stratum 10systemctl restart ntpdsystemctl enable ntpdntpq -pntpdc -c sysinfo

参考资料