TITLE:NTPの設定 *NTPの設定 [#r1bacac3] 時刻合わせに必要な、NTPサーバを設定する。 **NTPのインストール [#f2d5a5d0] # yum install ntp **NTPの設定 [#r30174b1] 設定ファイルを編集する。 # vi /etc/ntp.conf 該当箇所に、学内のNTPサーバを設定する。 server 0.rhel.pool.ntp.org server 1.rhel.pool.ntp.org server 2.rhel.pool.ntp.org server -4 hogehoge.hoge.ac.jp ←追加する設定 **NTPサーバの起動 [#r758998f] まず、手動で時間をあわせる。 # ntpdate hogehoge.hoge.ac.jp サービスの起動を設定する。 # chkconfig ntpd on # service ntpd start 起動後の、同期の確認はntpqコマンドを使う。 # ntpq -p ***参考 [#f00eb370] -http://centossrv.com/ntp.shtml |