Re: Setting time zone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

bwinter wrote:
| Truls,
|
| Here is a short howto that I put together last year if you want to
| adjust your timezone from the command line:
|
| === START ============
|
| These are instruction for changing the timezone of a linux computer from
| the command line. You must have root privileges.
|
| In order to get the particular zone you wish you must locate and record
| the path of the file within the directory /usr/share/zoneinfo/ that has
| the filename which best describes the desired timezone. Some common
| examples which you may use are:
|
|     /usr/share/zoneinfo/America/New_York
|     /usr/share/zoneinfo/America/Los_Angeles
|     /usr/share/zoneinfo/Europe/London
|     /usr/share/zoneinfo/Asia/Bahrain
|     /usr/share/zoneinfo/UTC
|
| Next Vi the file /etc/sysconfig/clock. It will look something like this:
|
|     ZONE="America/New_York"
|     UTC=true
|     ARC=false
|
| Set the ZONE variable to the file path you selected, leaving off the
| path root of “/usr/share/zoneinfo/”. Leave UTC set to true, it should
| only be set to false on dual boot machines with Windows installed. The
| ARC option is relevant to Alpha machines only, should be set to false
| here.  It indicates the ARC console's 42-year time offset is in effect.
| If not set to true, the normal Unix epoch is assumed. Save and exit out
| of Vi.
|
| Now you need to link the file /etc/localtime to the selected zoneinfo
file:
|
|     [root@ctpview]# ln -sf /usr/share/zoneinfo/America/New_York
| /etc/localtime
|
| The last step is to reboot the server:
|
|     [root@ctpview]# shutdown -r now
|
| You can check the new settings with:
|
|     [root@ctpview]# date
|     Fri Apr  8 09:50:49 EDT 2005
|
| == END ============
|
| --Bob
|
| Truls Gulbrandsen wrote:
|
|> -----BEGIN PGP SIGNED MESSAGE-----
|>
|> Hi,
|> can someone please assist me in setting the correct time zone.
|> Regards,
|> Truls
|
|
Thanks a lot Bob, but there are some hurdles here.  Firstly, my
/usr/share/zoneinfo/ is empty and secondly I don't have Vi but probably
I can use gedit? and lastly I do have a dual boot with W2k so I should
go for the UTC=false options?

regards,
Truls
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFCwdu7ickK29LSyG8RApXTAJ0exeKOfTS6bweGQYSlKIYTHDPPaACgxWrP
TeWKgGDoRjh/QLhvFjlGId8=
=fNOA
-----END PGP SIGNATURE-----
begin:vcard
fn:Truls Gulbrandsen
n:Gulbrandsen;Truls
org:Oslo Philharmonic Orchestra
adr:;;;Oslo;;;Norway
email;internet:trulsg@xxxxxxxxxxxx
tel;cell:+47 928 24 434
x-mozilla-html:FALSE
url:http://www.oslophil.com
version:2.1
end:vcard


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux