天天看點

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 ~]#

      本文轉自810105851 51CTO部落格,原文連結:http://blog.51cto.com/4708948/1701889,如需轉載請自行聯系原作者