NTP server settings (Chrony)
Install Chrony and synchronize time.
[root@www ~]# dnf -y install chrony
[root@www ~]# vi /etc/chrony.conf
#pool 2.centos.pool.ntp.org iburst pool ntp.nict.jp iburst
allow 192.168.1.1/24
[root@www ~]# systemctl enable --now chronyd
[root@www ~]# chronyc sources 210 Number of sources = 4 MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== ^- ec2-13-230-38-136.ap-nor> 2 10 377 299 +3241us[+3241us] +/- 38ms ^* ntp-a2.nict.go.jp 1 10 377 478 +371us[ +563us] +/- 11ms ^- ntp-5.jonlight.com 2 10 377 236 +460us[ +460us] +/- 40ms ^- 122x215x240x51.ap122.ftt> 2 10 377 298 -957us[ -957us] +/- 40ms
コメント