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

[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サーバなどではタイムスタンプが重要なシステムではデータの整合性が取れなくなる可能性がある点に注意

技術ブログ一覧へ戻る