67 words
1 minutes
[Linux]Linux container timezone 설정
2024-07-20

개요#

리눅스 ec2 인스턴스에서 생성된 기본 timezone은 UTC이다. 이를 local KST로 변경하자.

1. timezone 확인#

date

2. timezone 변경#

  • 현재 timezone 이 설정된 symbolic link 삭제
sudo rm /etc/localtime
  • symbolic link 재생성
sudo ln -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime
  • timezone 변경 확인
date
[Linux]Linux container timezone 설정
https://yjinheon.netlify.app/posts/05system/linux/de-linux-set_timezone/
Author
Datamind
Published at
2024-07-20