Configure NTP Server(Chrony)2017/04/16 |
Install Chrony and Configure NTP server for time adjustment. NTP uses 123/UDP.
|
|
[1] | Install and Configure Chrony. |
root@dlp:~#
apt -y install chrony
root@dlp:~#
vi /etc/chrony/chrony.conf # line 3: comment out # pool 2.debian.pool.ntp.org offline iburst# add servers of your timezone to sync times
server ntp.nict.jp iburst
server ntp1.jst.mfeed.ad.jp iburst server ntp2.jst.mfeed.ad.jp iburst # add to the end : add the network range you allow to receive requests
allow 10.0.0.0/24
root@dlp:~#
systemctl restart chrony
# show status root@dlp:~# chronyc sources 210 Number of sources = 3 MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== ^* ntp-a3.nict.go.jp 1 6 17 7 -112us[ -51us] +/- 10ms ^- ntp1.jst.mfeed.ad.jp 2 6 17 7 -1388us[-1327us] +/- 82ms ^- ntp2.jst.mfeed.ad.jp 2 6 17 6 -1096us[-1096us] +/- 88ms |
Sponsored Link |
|