Configure NTP Server2015/11/21 |
Install NTPd and Configure NTP server for time adjustment. NTP uses 123/UDP.
|
|
[1] | Install NTPd. |
dlp:~ # zypper -n install ntp
|
[2] | Configure NTd. |
dlp:~ #
vi /etc/ntp.conf # line 38: change servers for synchronization (replace to your timezone's one)
server ntp1.jst.mfeed.ad.jp iburst
server ntp2.jst.mfeed.ad.jp iburst server ntp3.jst.mfeed.ad.jp iburst # line 67: add the network range you allow to receive requests
restrict 10.0.0.0 mask 255.255.255.0 notrust
systemctl start ntpd dlp:~ # systemctl enable ntpd dlp:~ # ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== *ntp1.jst.mfeed. 133.243.236.17 2 u 11 64 1 17.447 0.317 0.164 ntp2.jst.mfeed. 133.243.236.17 2 u 8 64 1 17.320 0.311 0.388 ntp3.jst.mfeed. 133.243.236.17 2 u 18 64 0 0.000 0.000 0.000 |
Sponsored Link |