Vous êtes sur la page 1sur 1

Fedora 16 - NTP Server : Server World

Configure NTP server for time adjustment.


[root@dlp ~]# yum - y install ntp
[root@dlp ~]# vi /etc/ntp.conf
# line 19: 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.fedora.pool.ntp.org iburst
# server 1.fedora.pool.ntp.org iburst
# server 2.fedora.pool.ntp.org iburst
# server 3.fedora.pool.ntp.org iburst
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
[root@dlp ~]# systemctl start ntpd.service
Starting ntpd (via systemctl):
[ OK ]
[root@dlp ~]# systemctl enable ntpd.service
ln - s '/lib/systemd/system/ntpd.service' '/etc/systemd/system/multiuser.target.wants/ntpd.service'
[root@dlp ~]# ntpq - p

remote
refid
st t when poll reach
delay
offset jitter
==============================================================================
ntp1.jst.mfeed. 210.173.160.86
2 u
35
64
1
23.423 -324029
0.000
ntp2.jst.mfeed. 210.173.160.56
2 u
35
64
1
25.503 -324029
0.000
ntp3.jst.mfeed. 210.173.160.56
2 u
34
64
1
16.563 -324029
0.000

http://www.server-world.info/en/note?os=Fedora_16&p=ntp[21/03/2012 10:37:29 p.m.]

Vous aimerez peut-être aussi