chrony用法

添加ntp服务器,查看时间同步

[root@station tmp]# vim /etc/chrony.conf 
server 172.25.254.254 iburst
[root@station tmp]# systemctl restart chronyd.service 
[root@station tmp]# systemctl enable chronyd
[root@station tmp]#chronyc sources -v  ##查看时间同步源状态
[root@station tmp]#date                ##查看时间是否同步

猜你喜欢

转载自blog.51cto.com/6519883/2592295