首页 > 其他 > 详细

cetnos 7 ntp服务的安装与配置

时间:2016-10-16 21:50:38      阅读:429      评论:0      收藏:0      [点我收藏+]

首先需要搭建yum本地仓库

http://www.cnblogs.com/jw35/p/5967677.html   #搭建yum仓库方法

 

yum install ntp -y        #安装ntp服务

技术分享

 

修改ntp配置文件

vi /etc/ntp.conf    #编辑配置文件

server 0.centos.pool.ntp.org iburst
server 1.centos.pool.ntp.org iburst
server 2.centos.pool.ntp.org iburst
server 3.centos.pool.ntp.org iburst

前面加上#,让其失效。在添加一条

server     ntp服务端地址    iburst

 

技术分享

:wq    #保存退出

完成

 

cetnos 7 ntp服务的安装与配置

原文:http://www.cnblogs.com/jw35/p/5967740.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!