Tecnologia da Informação - TI : Chrony : Configure NTP Server

Total de visualizações de página

segunda-feira, 11 de abril de 2016

Chrony : Configure NTP Server


Chrony : Configure NTP Server
2015/06/03
 Install Chrony and Configure NTP server for time adjustment. NTP uses 123/UDP.
[root@dlp ~]# 
yum -y install chrony
[root@dlp ~]# 
vi /etc/chrony.conf
# line 3: change servers for synchronization

#
server 0.centos.pool.ntp.org iburst
#
server 1.centos.pool.ntp.org iburst
#
server 2.centos.pool.ntp.org iburst
#
server 3.centos.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
# line 25: add the network range you allow to receive requests

allow 10.0.0.0/24
[root@dlp ~]# 
systemctl start chronyd 

[root@dlp ~]# 
systemctl enable chronyd 

[root@dlp ~]# 
chronyc sources 

210 Number of sources = 3
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^+ ntp1.jst.mfeed.ad.jp          2   6    17     8  -1028us[-1261us] +/-   14ms
^* ntp2.jst.mfeed.ad.jp          2   6    17     8  -1241us[-1474us] +/-   15ms
^? ntp3.jst.mfeed.ad.jp          0   6     0   10y     +0ns[   +0ns] +/-    0ns

Nenhum comentário:

Postar um comentário

Jesus Cristo: A Esperança Que Nunca Acaba

  Jesus Cristo continua sendo a maior referência de amor e fé para milhões de pessoas no mundo inteiro. Em tempos difíceis, quando muitos p...