NTP Server
|
Configure NTP server for time adjustment. |
[root@dlp ~]#
yum -y install ntp
[root@dlp ~]#
vi /etc/ntp.conf
# line 14: add the network range you allow to receive requests
restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap
# change servers for synchronization
#
server 0.centos.pool.ntp.org
#
server 1.centos.pool.ntp.org
#
server 2.centos.pool.ntp.org
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
/etc/rc.d/init.d/ntpd start
Starting ntpd:
[ OK ]
[root@dlp ~]#
chkconfig ntpd on
[root@dlp ~]#
ntpq -p
remote
refid
st
t
when
poll
reach
delay
offset
jitter
========================================================== ntp1.jst.mfeed.
210.173.176.4
2
u
2
64
1
21.227
187904.
0.000
ntp2.jst.mfeed.
210.173.176.4
2
u
1
64
1
21.400
187903.
0.000
ntp3.jst.mfeed.
210.173.176.4
2
u
-
64
1
22.087
187900.
0.000
|