본문 바로가기
서버인프라/리눅스

Linux Time Zone 설정

by techwold ted 2022. 2. 18.

현재 timezone 확인

ls -al /etc/localtime
lrwxrwxrwx 1 root root 27 Feb  4 07:06 /etc/localtime -> /usr/share/zoneinfo/Etc/UTC

 

timezone list 확인

timedatectl
               Local time: Wed 2022-02-16 11:50:14 UTC
           Universal time: Wed 2022-02-16 11:50:14 UTC
                 RTC time: Wed 2022-02-16 11:50:14
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

 

한국시간으로 timezone 변경

timedatectl set-timezone Asia/Seoul

'서버인프라 > 리눅스' 카테고리의 다른 글

Linux Disk resize  (0) 2022.10.09
리눅스 history 날짜 시간 생성  (0) 2022.10.07
리눅스 디스크 추가  (1) 2022.10.07
IPTABLE Rule 설정  (0) 2022.02.16
IPTABLE 설치  (0) 2022.02.16

댓글