All time zones are stored in:
/usr/share/zoneinfo
Remove locatime file and create symlink to the selected time zone file:
# rm -rf /etc/localtime # ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
Set timezone for hardware clock
Edit the file /etc/sysconfig/clock: vi /etc/sysconfig/clock set: ZONE="Asia/Shanghai"
Leave a Reply