블라베 IT world/Linux Document
linux/centos6, centos 7 한국시간 설정하기
블라베
2022. 5. 19. 10:06
반응형
현재 시간 확인, UTC로 확인됨
# date
Thu May 19 00:36:53 UTC 2022
# ll /etc/localtime
lrwxrwxrwx 1 root root 30 May 19 09:41 /etc/localtime -> /usr/share/zoneinfo/UTC
Seoul 시간으로 변경하기
# cd /etc
# mv localtime localtime_org // 기존 설정 백업해두고
# ln -s /usr/share/zoneinfo/Asia/Seoul /etc/localtime // 변경
변경된 시간 확인
# date
Thu May 19 09:47:00 KST 2022
# ll /etc/localtime
lrwxrwxrwx 1 root root 30 May 19 09:41 /etc/localtime -> /usr/share/zoneinfo/Asia/Seoul
반응형