Centos 7.4 NTP服务 AlexKim 2020-08-26 266 阅读1分钟 服务端: Yum install -y ntp* Vim /etc/ntp.conf (主配置文件) 1. 添加server 127.127.1.0 Fudge 127.127.1.0 stratum 8 2. 修改范围段 service ntpd restart 为了试验效果我们将更改时间 客户端: Yum install -y ntp* Ntpdate +服务器的IP 显示如下结果才算校正成功 (ntp服务过一段时间才有效)