Fedora 32にシステムのタイムゾーンを変更する

[root@localhost ~]# cat /etc/fedora-release
Fedora release 32 (Thirty Two)
1.タイムゾーンの確認
[root@localhost ~]# timedatectl

               Local time: Sat 2021-10-16 20:31:25 PDT
           Universal time: Sun 2021-10-17 03:31:25 UTC
                 RTC time: Sun 2021-10-17 03:31:25
                Time zone: America/Los_Angeles (PDT, -0700)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

2.タイムゾーンを東京に変更
[root@localhost ~]# systemctl unmask systemd-timedated.service
[root@localhost ~]# systemctl start systemd-timedated.service
[root@localhost ~]# timedatectl set-timezone Asia/Tokyo

3.タイムゾーンの再確認
[root@localhost ~]# timedatectl

               Local time: Sun 2021-10-17 12:33:48 JST
           Universal time: Sun 2021-10-17 03:33:48 UTC
                 RTC time: Sun 2021-10-17 03:33:48
                Time zone: Asia/Tokyo (JST, +0900)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

4.タイムゾーン一覧を表示
[root@localhost ~]# timedatectl list-timezones

Fedora 32

Posted by arkgame