(æçµæ´æ°æ¥æ:2011-01-17 05:50:33)
時刻同期用にNTPサーバーの設定を行います。
各クライアントPCはこのサーバーと時刻同期する設定を行い、外部のNTPサーバーへの負荷を軽減させるようにします。
設定ファイルの編集
設定ファイルを編集します。
# vi /etc/ntp.conf
:
# Hosts on local network are less restricted.
restrict 192.168.12.0 mask 255.255.255.0 nomodify notrap LAN内のPCからアクセスできるようにします
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server -4 ntp.asahi-net.or.jp iburst 上位サーバーを変更します。(プロバイダ)
server -4 ntp.jst.mfeed.ad.jp iburst (インターネットマルチフィード時刻情報提供サービス)
server -4 ntp.nict.jp iburst (独立行政法人情報通信研究機構)
:
起動設定
起動設定を行います。
# 再起動時に自動起動するようにします
# chkconfig ntpd on
# 起動します
# service ntpd start
Copyright © 2004-2012 System House ACT. All Rights Reserved.