安装ntp服务器,并配置

1.首先用yum安装ntp服务器

 yum install ntp -y

2.修改配置文件,/etc/ntp.conf

3.重启服务

systemctl restart ntpd.service

4查看时间 date

 

posted on 2016-11-21 19:27  i叶飘零  阅读(104)  评论(0编辑  收藏  举报

导航