NTPd : Configure NTP Server2015/05/27 |
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 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. 172.16.177.60 2 u 23 64 1 18.363 -0.615 0.000 ntp2.jst.mfeed. 133.243.236.18 2 u 22 64 1 18.952 0.372 0.000 ntp3.jst.mfeed. 172.16.176.60 2 u 21 64 1 19.851 -1.123 0.000 |
Sponsored Link |