时间同步ntp服务的安装与配置

配置yum

使用yum命令来安装时间同步

 yum install ntp -y 

进入 /etc/ntp.conf

蓝色圈内的内容,在前面加上#号,在后方添加一行

重启ntpd服务:systemctl restart ntpd.service

时间同步完成

 

 


posted @ 2016-12-27 18:55  prudent  阅读(251)  评论(0编辑  收藏  举报