Configure NTP Server(Chrony)2017/06/18 |
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 iburst# add servers in 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-a2.nict.go.jp 1 6 7 1 +508us[ +446us] +/- 9385us ^- ntp1.jst.mfeed.ad.jp 2 6 7 1 -1555us[-1617us] +/- 82ms ^- ntp2.jst.mfeed.ad.jp 2 6 7 1 -1476us[-1538us] +/- 101ms |
Sponsored Link |
|