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

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

vim /etc/chrony.conf

server classroom.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

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

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

[root@desktop0 ~]#

你可能感兴趣的:(server,style,服务器,color)