Chrony : Configure NTP Server2015/06/03 |
Install Chrony and Configure NTP server for time adjustment. NTP uses 123/UDP.
|
|
[1] | Chrony is installed if you installed Fedora Server with minimum-install, so it's not necessarry to install new packages. But if it's not installed, do like follows. |
[root@dlp ~]# dnf -y install chrony
|
[2] | Configure Chrony. |
[root@dlp ~]#
vi /etc/chrony.conf # line 3: change servers for synchronization (replace to your timezone's one) # pool 2.fedora.pool.ntp.org iburst
server ntp1.jst.mfeed.ad.jp iburst
server ntp2.jst.mfeed.ad.jp iburst server ntp3.jst.mfeed.ad.jp iburst # line 19: add the network range you allow to receive requests
allow 10.0.0.0/24
systemctl start chronyd [root@dlp ~]# systemctl enable chronyd [root@dlp ~]# chronyc sources 210 Number of sources = 3 MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== ^+ ntp1.jst.mfeed.ad.jp 2 6 17 0 +102us[ -53us] +/- 51ms ^+ ntp2.jst.mfeed.ad.jp 2 6 17 0 -47us[ -202us] +/- 16ms ^* ntp3.jst.mfeed.ad.jp 2 6 17 0 -239us[ -394us] +/- 17ms |
Sponsored Link |
|