Fedora 20
Sponsored Link

NTP Server2013/12/18

  Configure NTP server for time adjustment.
[root@dlp ~]#
yum -y install ntp
[root@dlp ~]#
vi /etc/ntp.conf
# line 19: 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

#
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
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
[root@dlp ~]#
systemctl start ntpd.service

[root@dlp ~]#
systemctl enable ntpd.service

ln -s '/usr/lib/systemd/system/ntpd.service' '/etc/systemd/system/multi-user.target.wants/ntpd.service'
[root@dlp ~]#
ntpq -p

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 ntp1.jst.mfeed. 172.29.3.60      2 u   21   64    1   20.089  2349.38   0.000
 ntp2.jst.mfeed. 172.29.2.50      2 u   20   64    1   20.961  2350.28   0.000
 ntp3.jst.mfeed. 172.29.3.60      2 u   19   64    1   19.634  2348.26   0.000
Matched Content