Ubuntu 20の時刻合わせ – systemd-timesyncd

Facebooktwittermail

Ubuntu 20の時刻合わせ

How To Set Up Time Synchronization on Ubuntu 20.04
https://www.digitalocean.com/community/tutorials/how-to-set-up-time-synchronization-on-ubuntu-20-04

Ubuntu 20.04の時刻合わせはtimesyncd serviceが標準でインストールされて有効化されていると。
設定ファイルは/etc/systemd/timesyncd.conf

  • 標準設定
  • ntp.jst.mfeed.ad.jpで同期設定
  • systemd-timesyncdの再起動
  • 確認
  • “Initial synchronization to time server 210.173.160.57:123 (ntp.jst.mfeed.ad.jp).”と表示されてます。

manを見ても設定が簡単ですが最初の同期でいっきに時刻を合わせるんですかね。
上記のサイトには場合によってはntpdを使うこともできると。

timesyncd will work in most circumstances. There are instances, however, when an application may be sensitive to any disturbance with time. In this case, ntpd is an alternative network time service you can use. ntpd uses sophisticated techniques to constantly and gradually keep the system time on track.

Leave a Reply