Ubuntu Linux
타임존 설정
SmartPro
2020. 10. 23. 08:53
1. timezonectl 사용
# timedatectl set-timezone 'Asia/Seoul'
# timedatectl set-timezone 'GMT'
** 타임존 목록 확인은?
# timedatectl list-timezones
2. tzdata를 링크
$ sudo apt install tzdata
$ ln -sf /usr/share/zoneinfo/Asia/Seoul /etc/localtime
$ ln -sf /usr/share/zoneinfo/GMT /etc/localtime