0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ubuntu 24.04 LTSで自宅サーバー構築(サーバーのタイムゾーンの設定)

Posted at

月額99円から。WordPressも簡単にインストールできるレンタルサーバー

例として、東京に変更。
#タイムゾーン一覧を表示
taisuke@ubuntuserver:~$ sudo timedatectl list-timezones
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Asmera
Africa/Bamako
Africa/Bangui
.....
.....
US/Samoa
UTC
Universal
W-SU
WET
Zulu
#タイムゾーン設定
taisuke@ubuntuserver:~$ sudo timedatectl set-timezone Asia/Tokyo
#設定確認
taisuke@ubuntuserver:~$ sudo timedatectl
Local time: Wed 2024-05-08 13:59:17 JST
Universal time: Wed 2024-05-08 04:59:17 UTC
RTC time: Wed 2024-05-08 04:59:17
Time zone: Asia/Tokyo (JST, +0900)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
月額99円から。WordPressも簡単にインストールできるレンタルサーバー

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?