chrony usage

Add ntp server, view time synchronization

[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                ##查看时间是否同步

Guess you like

Origin blog.51cto.com/6519883/2592295