Setup CENTOS Time Zone

All time zones are stored in:


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

Be the first to comment

Leave a Reply

Your email address will not be published.