Re: Setting time zone
From: Truls Gulbrandsen (trulsg_at_broadpark.no)
Date: 06/29/05
- Previous message: Charles Curley: "Re: Batch creation of PDF files"
- In reply to: bwinter: "Re: Setting time zone"
- Next in thread: Michael A. Peters: "Re: Setting time zone"
- Reply: Michael A. Peters: "Re: Setting time zone"
- Reply: Markku Kolkka: "Re: Setting time zone"
- Reply: bwinter: "Re: Setting time zone"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 28 Jun 2005 23:22:35 +0000 To: For users of Fedora Core releases <fedora-list@redhat.com>
-----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-----
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: Charles Curley: "Re: Batch creation of PDF files"
- In reply to: bwinter: "Re: Setting time zone"
- Next in thread: Michael A. Peters: "Re: Setting time zone"
- Reply: Michael A. Peters: "Re: Setting time zone"
- Reply: Markku Kolkka: "Re: Setting time zone"
- Reply: bwinter: "Re: Setting time zone"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|