ntpd

CentOS7配置ntp服务

安装ntp # yum install ntp开启ntp服务 # systemctl start ntpd 配置防火墙,允许其他主机可以连接到此主机上的ntp服务 # firewall-cmd --add-service=ntp --permanent # firewall-cmd --reload ntp的配置文件默认在/etc/ntp.conf 原文连接https:/