IT/LINUX

ubuntu timezone 변경

ssung85 2023. 4. 18. 15:02
728x90

현재 시스템의 타임존을 확인합니다.

# timedatectl
Local time: Fri 2019-04-19 07:53:45 UTC
Universal time: Fri 2019-04-19 07:53:45 UTC
RTC time: n/a
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no

 

설정할 타임존 값을 확인합니다. 여기선 서울로 설정합니다.

# timedatectl list-timezones | grep Seoul
Asia/Seoul


위에서 확인한 타임존 값으로 설정합니다.

# timedatectl set-timezone Asia/Seoul


변경한 타임존이 적용되었는지 확인합니다.

# timedatectl
Local time: Fri 2019-04-19 16:57:40 KST
Universal time: Fri 2019-04-19 07:57:40 UTC
RTC time: n/a
Time zone: Asia/Seoul (KST, +0900)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no
728x90

'IT > LINUX' 카테고리의 다른 글

Linux에서 NFS 서버를 설정하는 방법  (0) 2023.05.03
서버 ping 체크 스크립트  (2) 2023.04.20
bookstack 설치 메뉴얼  (0) 2023.04.17
tcpdump 사용법  (0) 2023.02.09
Docker 웹 GUI 관리 툴  (0) 2022.11.18