Ubuntu timezone 변경하기

  • Post author:
  • Post category:Linux / SBC
# timedatectl 명령어로 확인
root@odroid:~# timedatectl
               Local time: Sat 2022-05-28 03:18:50 UTC
           Universal time: Sat 2022-05-28 03:18:50 UTC
                 RTC time: Sat 2022-05-28 03:18:51
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

#시간대 변경
$ sudo timedatectl set-timezone Asia/Seoul

#변경확인
root@odroid:~# timedatectl
               Local time: Sat 2022-05-28 12:19:52 KST
           Universal time: Sat 2022-05-28 03:19:52 UTC
                 RTC time: Sat 2022-05-28 03:19:54
                Time zone: Asia/Seoul (KST, +0900)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no