Fedora 23
Sponsored Link

Chrony : Configure NTP Server2015/11/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
[root@dlp ~]#
systemctl restart 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     6  -1950us[-1950us] +/-   77ms
^* ntp2.jst.mfeed.ad.jp          2   6    17     6   -284us[ -171us] +/-   81ms
^+ ntp3.jst.mfeed.ad.jp          2   6    17     5   +357us[ +357us] +/-  130ms
Matched Content