Linux 타임존 변경 (timedatectl)
타임존 변경은 대부분의 Linux 배포판에서 공통으로 사용 가능한 timedatectl 명령어로 처리
적용 대상 배포판
timedatectl 은 systemd 기반 배포판이면 공통으로 사용 가능
| 배포판 | 사용 가능 여부 |
|---|---|
| Rocky Linux / AlmaLinux / RHEL | ✅ |
| CentOS | ✅ |
| Ubuntu / Debian | ✅ |
| Fedora | ✅ |
| openSUSE | ✅ |
| Arch Linux | ✅ |
타임존 변경 방법
bash
timedatectl
[root@localhost /]# timedatectl
Local time: Mon 2026-05-11 16:32:51 EDT
Universal time: Mon 2026-05-11 20:32:51 UTC
RTC time: Mon 2026-05-11 20:32:50
Time zone: America/New_York (EDT, -0400)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
사용 가능한 타임존 목록 확인
bash
timedatectl list-timezones
[root@localhost /]# timedatectl list-timezones
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa
Africa/Algiers
Africa/Asmara
Africa/Asmera
Africa/Bamako
Africa/Bangui
...
timedatectl list-timezones | grep Asia/Seoul
[root@localhost /]# timedatectl list-timezones | grep Asia/Seoul
Asia/Seoul
타임존 변경
bash
timedatectl set-timezone Asia/Seoul
[root@localhost /]# timedatectl
Local time: Tue 2026-05-12 05:35:14 KST
Universal time: Mon 2026-05-11 20:35:14 UTC
RTC time: Mon 2026-05-11 20:35:14
Time zone: Asia/Seoul (KST, +0900)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
주요 타임존 목록
| 지역 | 타임존 | 표준시 |
|---|---|---|
| 한국 | Asia/Seoul |
KST +0900 |
| 일본 | Asia/Tokyo |
JST +0900 |
| 중국 | Asia/Shanghai |
CST +0800 |
| 미국 동부 | America/New_York |
EST -0500 |
| 미국 서부 | America/Los_Angeles |
PST -0800 |
| 영국 | Europe/London |
GMT +0000 |
| 독일 | Europe/Berlin |
CET +0100 |
| UTC | UTC |
UTC +0000 |
NTP 시간 동기화 확인
타임존 변경 후 시간이 맞지 않으면 NTP 동기화 상태를 확인
bash
timedatectl set-ntp true
timedatectl status
[root@localhost /]# timedatectl set-ntp true
[root@localhost /]# timedatectl status
Local time: Tue 2026-05-12 05:36:39 KST
Universal time: Mon 2026-05-11 20:36:39 UTC
RTC time: Mon 2026-05-11 20:36:39
Time zone: Asia/Seoul (KST, +0900)
System clock synchronized: yes // 정상
NTP service: active
RTC in local TZ: no