개발
[aws] ec2에서 timezone과 locale 변경하기
으아아아앜
2020. 3. 6. 19:52
timezone 변경
$ date //현재 시간 확인
Thu Dec 13 06:41:49 UTC 2018
$ cat /etc/localtime //시간대 확인
...UTC
$sudo rm /etc/localtime
$sudo ln -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime
$ date
locale 변경
$ locale // 현재 설정되어있는 locale 확인
$ locale -a //현재 설정가능한 locale 리스트 확인
$ vim /etc/sysconfig/i18n //에디터를 이용해 해당 아래의 내용을 변경
LANG=en_US.UTF-8
--->
LANG=ko_KR.utf8