[Linux] chronyを使用した時刻同期

目次

chronyのインストールと設定

yum install chrony
systemctl start chronyd
systemctl enable chronyd

/etc/chrony.confに以下を追記

server ntp.nict.jp iburst
systemctl restart chronyd

即時反映

chronyc makestep

DBサーバなどではタイムスタンプが重要なシステムではデータの整合性が取れなくなる可能性がある点に注意

よかったらシェアしてね!
  • URLをコピーしました!
目次