How do I change the Time Zone on my Virtual Server?
To change the Time Zone for your Virtual Server, do the following:
At a command prompt, type:
-
chmod 600 ~/etc/localtime
cp /usr/share/zoneinfo/posix/US/Pacific ~/etc/localtime
Here is a list of possible zones (substitute one of these instead of
"Pacific" shown above):
-
Alaska
Central
Hawaii
Mountain
Aleutian
East-Indiana
Indiana-Starke
Pacific
Arizona
Eastern
Michigan
Samoa
If you want a European time zone, type this instead:
-
chmod 600 ~/etc/localtime
cp /usr/share/zoneinfo/posix/Europe/London ~/etc/localtime
Here is a list of possible zones (substitute one of these instead of
"London" shown above):
-
Amsterdam,
Andorra,
Athens,
Belfast,
Belgrade,
Berlin,
Bratislava,
Brussels,
Bucharest,
Budapest,
Chisinau,
Copenhagen,
Dublin,
Gibraltar,
Helsinki,
Istanbul,
Kiev,
Kuybyshev,
Lisbon,
Ljubljana,
London,
Luxembourg,
Madrid,
Malta,
Minsk,
Monaco,
Moscow,
Oslo,
Paris,
Prague,
Riga,
Rome,
Sarajevo,
Simferopol,
Skopje,
Sofia,
Stockholm,
Tallinn,
Tirane,
Vaduz,
Vienna,
Vilnius,
Warsaw,
Zagreb,
Zurich
There are also quite a few time zones in these files:
-
/usr/share/zoneinfo/posix/Asia
/usr/share/zoneinfo/posix/Canada
/usr/share/zoneinfo/posix/Austrailia
|