Changing a RHEL/CentOS server’s timezone

For a long time I’ve seen people using the symbolic link method to change the timezone however there is a cleaner way of doing this.

Edit /etc/sysconfig/clock and change the timezone to the one you need.

Then all you need to do is update the tzdata:

# tzdata-update

Make sure ntpd is installed and running (minimal installs do not have it by default):

# yum install ntp
# chkconfig ntpd on
# service ntpd start
# ntpq -p
# date

Now you need to restart key services to make sure they pick up the changes:

# service *syslog restart
# service crond restart
# tail /var/log/messages

/var/log/messages should now show the correct time.