Configure NTP Server2015/11/25 |
Install NTPd and Configure NTP server for time adjustment. NTP uses 123/UDP.
|
|
[1] | Install NTPd. |
dlp:~ # zypper -n install ntp
|
[2] | Configure NTP. |
dlp:~ #
vi /etc/ntp.conf # line 38: add 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 70: add the network range you allow to receive requests
restrict 10.0.0.0 mask 255.255.255.0 notrust
/etc/init.d/ntp start Starting network time protocol daemon (NTPD) dlp:~ # chkconfig ntp on dlp:~ # ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== LOCAL(0) .LOCL. 10 l - 64 0 0.000 0.000 0.000 +ntp1.jst.mfeed. 133.243.236.17 2 u - 64 1 17.799 1.732 0.136 *ntp2.jst.mfeed. 133.243.236.17 2 u - 64 1 17.795 0.444 0.086 +ntp3.jst.mfeed. 133.243.236.17 2 u - 64 1 18.320 0.059 0.091 |
Sponsored Link |