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:/

安装ntp

# yum install ntp

开启ntp服务

# systemctl start ntpd 

配置防火墙,允许其他主机可以连接到此主机上的ntp服务

# firewall-cmd --add-service=ntp --permanent
# firewall-cmd --reload

ntp的配置文件默认在/etc/ntp.conf

原文连接https://segmentfault.com/a/1190000005591893

关键字:ntp, centos7, 主机, ntpd