Fedora 23
Sponsored Link

NTPd : Configure NTP Server2015/11/03

 
Install NTPd and Configure NTP server for time adjustment. NTP uses 123/UDP.
[1] NTPd 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 ntp
[2] Configure NTP.
[root@dlp ~]#
vi /etc/ntp.conf
# line 18: add the network range you allow to receive requests

restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap
# change servers for synchronization (replace to your timezone's one)

#
server 0.fedora.pool.ntp.org iburst
#
server 1.fedora.pool.ntp.org iburst
#
server 2.fedora.pool.ntp.org iburst
#
server 3.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
[root@dlp ~]#
systemctl start ntpd

[root@dlp ~]#
systemctl enable ntpd

[root@dlp ~]#
ntpq -p

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*ntp1.jst.mfeed. 133.243.236.17   2 u    1   64    1   18.298    0.685   0.049
 ntp2.jst.mfeed. 133.243.236.17   2 u    2   64    1   18.299    0.076   0.085
 ntp3.jst.mfeed. 133.243.236.17   2 u    1   64    1   18.477   -0.487   0.246
Matched Content