Change timezone in CentOS/Red Hat Linux (RHEL)/Fedora

Edit /etc/sysconfig/clock.
Change ZONE line to your preferred time zone. You can see a list of time zones listed under /usr/share/zoneinfo/.

For example, to use the Los Angeles time zone listed under /usr/share/zoneinfo/America/Los_Angeles:
ZONE=”America/Los_Angeles”.

Run the following command:
tzdata-update

Run the data command to make sure that the changes you made took affect.
# date
Wed Jan 29 16:46:43 PST 2014

This entry was posted in Uncategorized. Bookmark the permalink.

Comments are closed.