码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-12-27 20:05:17      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:技术分享   sys   systemctl   .com   时间   start   命令   service   tar   

配置yum

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

 yum install ntp -y 

技术分享

进入 /etc/ntp.conf

技术分享

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

技术分享

重启ntpd服务:systemctl restart ntpd.service

时间同步完成

 

 

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

标签:技术分享   sys   systemctl   .com   时间   start   命令   service   tar   

原文地址:http://www.cnblogs.com/jw1519/p/6227211.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!