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
'Linux' 카테고리의 다른 글
openSuSE 리눅스 Hostname 설정 (Step by Step) (0) | 2020.01.12 |
---|---|
openSUSE SSH 활성화 방법 (Step by Step) (0) | 2020.01.12 |
리눅스 NFS 서버/클라이언트 설정 (Step by Step) (0) | 2019.11.14 |
리눅스 hosts 파일 설정 (Step by Step) (0) | 2019.11.13 |
CentOS7 hostname 변경 (Step by Step) (0) | 2019.11.12 |