服务器时间同步
作者:互联网
服务端(192.168.0.10)
安装后启动
[root@localhost ~]# yum -y install chronyd
[root@localhost ~]# systemctl enable chronyd.service
[root@localhost ~]# systemctl restart chronyd.service
客户端
[root@localhost ~]# vim /etc/chrony.conf
server 192.168.0.10 iburst ##配置服务端地址
#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
[root@localhost ~]# systemctl enable chronyd.service
[root@localhost ~]# systemctl restart chronyd.service
[root@localhost ~]# chronyc sources -v
安装后启动
[root@localhost ~]# yum -y install chronyd
[root@localhost ~]# systemctl enable chronyd.service
[root@localhost ~]# systemctl restart chronyd.service
客户端
[root@localhost ~]# vim /etc/chrony.conf
server 192.168.0.10 iburst ##配置服务端地址
#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
[root@localhost ~]# systemctl enable chronyd.service
[root@localhost ~]# systemctl restart chronyd.service
[root@localhost ~]# chronyc sources -v
标签:service,同步,centos,chronyd,iburst,时间,服务器,root,localhost 来源: https://www.cnblogs.com/xgsh/p/16638696.html