chronyのインストール

NTPクライアント兼サーバとしてchronyをインストールします。

$ sudo apt-get install chrony

/etc/chrony/chrony.confを編集して、参照先のNTPサーバーを変更します。

$ sudo nano /etc/chrony/chrony.conf

インターネットマルチフィード(MFEED) 時刻情報提供サービス for Publicを利用します。

変更前) 17行目, Ubuntu
  pool ntp.ubuntu.com iburst maxsources 4
  pool 0.ubuntu.pool.ntp.org iburst maxsources 1
  pool 1.ubuntu.pool.ntp.org iburst maxsources 1
  pool 2.ubuntu.pool.ntp.org iburst maxsources 1
変更後) 
  server ntp1.jst.mfeed.ad.jp iburst minpoll 10 maxpoll 12 
  server ntp2.jst.mfeed.ad.jp iburst minpoll 10 maxpoll 12 
  server ntp3.jst.mfeed.ad.jp iburst minpoll 10 maxpoll 12 

chronyのサービスを再起動します。

$ sudo service chrony restart

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です