Ubuntu設定|NTP
$ sudo ntp-get atp-get install ntp
するすると導入(CD-Rから)
次いで /etc/ntpd.conf を開き、NTPサーバのところ
# You do need to talk to an NTP server or two (or three).
server ntp.ubuntu.com
server ntp.ubuntu.com
を下記に変更
# You do need to talk to an NTP server or two (or three).
# server ntp.ubuntu.com
server 自プロバイダのNTPサーバ
server ntp.nict.jp
# server ntp.ubuntu.com
server 自プロバイダのNTPサーバ
server ntp.nict.jp
ubuntuのNTPサーバをコメントアウトし、自ISPのNTPサーバと「ntp.nict.jp」を追加。
ntpサーバを再起動
$ sudo /etc/init.d/ntp restart
確認
$ sudo ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
*ntp2.plala.or.j 202.234.233.109 4 u 10 64 377 37.740 12.621 34.446
ntp-a2.nict.go. .INIT. 16 u - 64 0 0.000 0.000 0.000
remote refid st t when poll reach delay offset jitter
==============================================================================
*ntp2.plala.or.j 202.234.233.109 4 u 10 64 377 37.740 12.621 34.446
ntp-a2.nict.go. .INIT. 16 u - 64 0 0.000 0.000 0.000
時刻も同期されたし、okみたい。
◆関連ログ:「Ubuntu設定」ネタ


![トロン:レガシー [Blu-ray]](http://ecx.images-amazon.com/images/I/51stKBdzK%2BL._SL160_.jpg)
![ミッション:インポッシブル/ゴースト・プロトコル ブルーレイ+DVDセット(デジタル・コピー付) [Blu-ray]](http://ecx.images-amazon.com/images/I/51foiQ98iuL._SL160_.jpg)


![ハリー・ポッターと死の秘宝 PART 2 [Blu-ray]](http://ecx.images-amazon.com/images/I/61TQHHRDBAL._SL160_.jpg)
COMMENTS
ご指摘どうも、ありがとうございます。 m(_ _)m
自分は、最近、CentOSにしたのですが、8.04が出たらまたUbuntuに戻そうかと思ってます。
× sudo npt-get ...
○ sudo apt-get ...
ですよね。
それにしても、Ubuntu って標準で ntp 入ってなかったんですね。
昨年 11 月ぐらいに Cent-OS から Ubuntu に migrate したんですが、まだ知らないことがありそうです。
※本記事に関係ないと判断した COMMENTS はお断りしております。