服务端配置:CentOS6.8 服务器IP:10.252.254.88

service iptables stop
关闭防火墙
chkconfig iptables off
开机关闭防火墙
yum -y install chrony
安装chrony
vim /etc/chrony.conf
编辑chrony.conf
Linux下使用chrony配置时钟服务器
第一个红框内添加外网NTP服务器
第二个红框内指定内网需要同步的网段
重启chrony服务
Linux下使用chrony配置时钟服务器
设置chrony服务开启自启动
Linux下使用chrony配置时钟服务器
查看时间同步源
Linux下使用chrony配置时钟服务器
查看时间同步源状态
Linux下使用chrony配置时钟服务器

客户端配置:CentOS6.8 服务器IP:10.252.254.85

yum -y install chrony
安装chrony服务
vim /etc/chrony.conf
编辑chrony.conf
Linux下使用chrony配置时钟服务器
在红框内添加要进行同步的服务器IP
重启chrony服务
Linux下使用chrony配置时钟服务器
设置chrony服务开启自启动
Linux下使用chrony配置时钟服务器
查看时间同步源
Linux下使用chrony配置时钟服务器
查看时间同步源状态
Linux下使用chrony配置时钟服务器
使用date查看时间是否准确
Linux下使用chrony配置时钟服务器
Linux下使用chrony配置时钟服务器

相关文章:

  • 2021-06-26
  • 2021-08-27
  • 2021-12-09
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2021-12-14
  • 2021-07-07
猜你喜欢
  • 2021-12-14
  • 2022-12-23
  • 2021-10-07
  • 2022-01-21
  • 2022-02-05
  • 2022-01-16
  • 2021-04-23
相关资源
相似解决方案