제2외국어/Linux

[Fedora]Timezone 한국으로 설정하기

윈플. 2017. 3. 20. 19:08

Fedora 설치 후 파일 확인하는 작업 중에 시간이 맞지 않은 부분이 있었습니다.

timedatectl  status 명령어를 통해 확인한 결과 Time zone이 한국이 아니라 다른 곳으로 되어 있는걸 확인

   Local time: Mon 2017-03-20 17:51:03 EDT

  Universal time: Mon 2017-03-20 08:51:03 UTC

        RTC time: Mon 2017-03-20 08:51:03
       Time zone: America/New_York (EDT, -0400)
   Network time on: yes
  NTP synchronized: yes
      RTC in local TZ: no 


EDT → KST (Korea) 로 변경합니다.
ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime 

다시 명령어 timedatectl  status 로 변경된걸 확인합니다.

  Local time: Mon 2017-03-20 17:51:03 KST

  Universal time: Mon 2017-03-20 08:51:03 UTC

        RTC time: Mon 2017-03-20 08:51:03
       Time zone: Asia/Seoul (KST, +0900)
   Network time on: yes
  NTP synchronized: yes
      RTC in local TZ: no 

시간 설정완료.


(+) 다른 Timezone 리스트를 확인하기 위해서는 timedatectl list-timezones 명령어를 사용하면 됩니다.


참고했던 URL 입니다.
구글 키워드 : fedora time sync
http://www.tecmint.com/set-time-timezone-and-synchronize-time-using-timedatectl-command/