LoginSignup
2
2

More than 5 years have passed since last update.

chrony使ってみた

Last updated at Posted at 2015-02-19

@yunanoさんのCentOS - 新しいNTPクライアント&サーバ、chrony - Qiitaをやってみた。

インストール

yum install -y chrony

設定

/etc/chrony.conf
- server 0.fedora.pool.ntp.org iburst
- server 1.fedora.pool.ntp.org iburst
- server 2.fedora.pool.ntp.org iburst
- server 3.fedora.pool.ntp.org iburst
+ server ntp.nict.jp
+ server ntp1.jst.mfeed.ad.jp
+ server ntp2.jst.mfeed.ad.jp
+ server ntp3.jst.mfeed.ad.jp
リスタート
systemctl restart chronyd

動作確認

ntpq -pの変わり
chronyc sources
  • 時間がずれているとき一気に変更されるのではなく、徐々に合わせていく様子。

  • 日本標準時間確認サイト

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2