時刻合わせのためのntpサーバーを構築します。
[root@host3 ~]# yum -y install ntp
[root@host3 ~]# vi /etc/ntp.conf
restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap ← 19行目: 時刻同期を許可する範囲
# 同期をとるサーバーを変更
#server 0.rhel.pool.ntp.org
#server 1.rhel.pool.ntp.org
#server 2.rhel.pool.ntp.org
server -4 ntp.nict.jp
server -4 ntp.jst.mfeed.ad.jp
server -4 ntp.ring.gr.jp
[root@host3 ~]# /etc/rc.d/init.d/ntpd start
Starting ntpd: [ OK ]
[root@host3 ~]# chkconfig ntpd on
[root@host3 ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*ntp-a3.nict.go. .NICT. 1 u 87 512 377 28.036 -4.730 1.462
+ntp2.jst.mfeed. 210.173.160.56 2 u 170 512 377 27.725 -4.058 3.954
+ring.ix.oita-u. 133.40.41.134 3 u 199 512 377 59.959 -6.202 1.283