May
24
2010

NTPサーバーのインストール

21:24 pm

1.NTPサーバーのインストール

$ sudo aptitude install ntp

2.NTPサーバーの設定

$ sudo nano /etc/ntp.conf

server ntp.ubuntu.com
と書かれている行をコメントアウトし、下記のように変更します。(同じ行を3つ追加する)
#server ntp.ubuntu.com
server ntp.nict.jp
server ntp.nict.jp
server ntp.nict.jp

3.NTPの再起動

$ sudo /etc/init.d/ntp restart

4.動作確認

$ sudo ntpq -p

No Comments »

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

www.hbirds.net