Ubuntu timezone 설정 방법

timedatectl 사용하는 방법

한국으로 설정

timedatectl set-timezone 'Asia/Seoul'

GMT 로 설정

timedatectl set-timezone 'GMT'

전체 타임존 목록은 list-timezones 옵션 사용

timedatectl list-timezones

tzdata 를 ln 으로 링크로 사용

tzdata 설치

sudo apt install tzdata

symbolic link 한국

ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime

GMT

ln -sf /usr/share/zoneinfo/GMT /etc/localtime

Leave a Reply

Your email address will not be published. Required fields are marked *