22
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Ubuntuで時刻同期の設定 (timesyncd.conf)

Posted at

きっかけ

今まで ntpdate を使っていたが、deprecate になっていた。
sntp を使うようにとあったが、systemdで提供があった。

設定

  • /etc/systemd/timesyncd.conf
/etc/systemd/timesyncd.conf
[Time]
NTP=ntp.nict.jp
FallbackNTP=ntp1.jst.mfeed.ad.jp ntp2.jst.mfeed.ad.jp ntp3.jst.mfeed.ad.jp

サービスのリスタート

systemctl restart systemd-timesyncd

systemctl status systemd-timesyncd
22
16
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
22
16

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?