1
1

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.

Raspberry Pi 時計同期設定

Posted at

時刻同期先サーバ設定

$ sudo vi /etc/systemd/timesyncd.conf

以下を追加する

NTP=ntp.nict.jp
FallbackNTP=time.google.com

以下を実行する。

$ sudo systemctl enable systemd-timesyncd
$ sudo timedatectl set-ntp true
$ sudo systemctl restart systemd-timesyncd

タイムゾーン設定

日本時間にする。

$ sudo timedatectl set-timezone Asia/Tokyo

日時を確認する。

$ date
Mon Nov  9 21:15:16 JST 2020
1
1
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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?