公開NTPサーバーと時刻同期する
設定変更
cp /etc/chrony.conf{,.org}
vi /etc/chrony.conf
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
pool 2.centos.pool.ntp.org iburst
↓
#pool 2.centos.pool.ntp.org iburst
server ntp.nict.jp iburst
pool ntp.jst.mfeed.ad.jp iburst
ntp.jst.mfeed.ad.jpはDNSラウンドロビンとなっているので、serverでなくpoolで指定する
サービスの起動
systemctl enable chronyd systemctl start chronyd systemctl status chronyd
正常に起動していることを確認する
参考
https://www.mfeed.ad.jp/ntp/detail.html
https://psychoco.net/linux/centos8-conoha-part1

 
  
  
  
  
コメント