CentOS7配置ntp服务
文章目录
安装ntp
# yum install ntp
开启ntp服务
# systemctl start ntpd
配置防火墙,允许其他主机可以连接到此主机上的ntp服务
# firewall-cmd --add-service=ntp --permanent
# firewall-cmd --reload
ntp的配置文件默认在/etc/ntp.conf
安装ntp
# yum install ntp
开启ntp服务
# systemctl start ntpd
配置防火墙,允许其他主机可以连接到此主机上的ntp服务
# firewall-cmd --add-service=ntp --permanent
# firewall-cmd --reload
ntp的配置文件默认在/etc/ntp.conf
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论