How To Set the Time Zone

How To Set the Time Zone

Change directory to /usr/lib/zoneinfo/. Get the time zone package if
you don't have this directory. The source is available in
ftp://metalab.unc.edu/pub/Linux/system/admin/time/.

Then make a symbolic link named localtime pointing to one of the files
in this directory (or a subdirectory), and one called posixrules
pointing to localtime. For example:

$ ln -sf US/Mountain localtime
$ ln -sf localtime posixrules

This change will take effect immediately--try date.



Home
FAQ