리눅스에서 OS 설치시에 Time zone을 설정하게 되는데,
OS 구성이 완료된 이후에 Time zone을 설정하기 위해서는
system-config-date 패키지가 필요하다.

system-config-date 패키지가 설치된 후에
system-config-date 또는 timeconfig 커맨드를 사용하여
Time zone 지역을 설정할 수 있다.(Asia-Seoul)

하지만 system-config-date 패키지가 설치되어 있지 않다하더라도
커맨드 상에서 Time zone을 재설정할 수가 있다.
/usr/share/zoneinfo 아래에 가면, timezone 데이터들이 있는데,
환경에 맞는 timezone 데이터 파일을 /etc/localtime 파일로
복사해 주면 된다.

# file /usr/share/zoneinfo/Asia/Seoul
/usr/share/zoneinfo/Asia/Seoul: timezone data

# cp -af /usr/share/zoneinfo/Asia/Seoul /etc/localtime

+ Recent posts