Rehl7 设置ntp服务,同步指定服务器时间。Ntp改为chrony

vim /etc/chrony.conf

server cla***oom.example.com iburst

systemctl restart chronyd.service

[root@desktop0 ~]# chronyc sources -v

210 Number of sources = 1

.-- Source mode '^' = server, '=' = peer, '#' = local clock.

/ .- Source state '*' = current synced, '+' = combined , '-' = not combined,

| / '?' = unreachable, 'x' = time may be in error, '~' = time too variable.

|| .- xxxx [ yyyy ] +/- zzzz

|| / xxxx = adjusted offset,

|| Log2(Polling interval) -. | yyyy = measured offset,

|| \ | zzzz = estimated error.

|| | |

MS Name/IP address Stratum Poll Reach LastRx Last sample

===============================================================================

^* cla***oom.example.com 8 6 177 98 -1722ns[-5693us] +/- 1191us

[root@desktop0 ~]#