Ubuntu 8.10 (Intrepid Ibex) のインストール

ntp をインストールし、時計を合わせるようにします。

ntp のインストール

$ sudo apt-get install ntp

ntp の設定

$ sudo gedit /etc/ntp.conf
--- ./ntp.conf	2009/02/02 00:04:06	1.1
+++ ./ntp.conf	2009/02/02 00:04:54
@@ -13,7 +13,10 @@
 
 
 # You do need to talk to an NTP server or two (or three).
-server ntp.ubuntu.com
+#server ntp.ubuntu.com
+server -4 ntp.nict.jp iburst
+server -4 ntp.nict.jp iburst
+server -4 ntp.nict.jp iburst
 
 
 # Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for

ntp の起動

$ sudo /etc/init.d/ntp restart

確認

$ sudo ntpq -p

参考


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2009-02-02 (月) 09:09:35 (5584d)