CentOS7에서 timedatectl 명령어를 사용해서 Timezone 설정 (Step by Step)

 

 

현재 Timezone 확인

[root@nfssrv01 ~]# timedatectl

      Local time: Thu 2019-11-14 20:34:23 PST

  Universal time: Fri 2019-11-15 04:34:23 UTC

        RTC time: Fri 2019-11-15 04:34:23

       Time zone: America/Los_Angeles (PST, -0800)

     NTP enabled: yes

NTP synchronized: yes

 RTC in local TZ: no

      DST active: no

 Last DST change: DST ended at

                  Sun 2019-11-03 01:59:59 PDT

                  Sun 2019-11-03 01:00:00 PST

 Next DST change: DST begins (the clock jumps one hour forward) at

                  Sun 2020-03-08 01:59:59 PST

                  Sun 2020-03-08 03:00:00 PDT

 

Timezone Asia/Seoul 변경

[root@nfssrv01 ~]# timedatectl set-timezone Asia/Seoul

 

변경된 Timezone 확인

[root@nfssrv01 ~]# timedatectl

      Local time: Fri 2019-11-15 13:34:46 KST

  Universal time: Fri 2019-11-15 04:34:46 UTC

        RTC time: Fri 2019-11-15 04:34:46

       Time zone: Asia/Seoul (KST, +0900)

     NTP enabled: yes

NTP synchronized: yes

 RTC in local TZ: no

      DST active: n/a

+ Recent posts