- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Regarding changing time zone to GMT0
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 02:26 PM
07-02-2007 02:26 PM
I would like to know how to change time zone to GMT0
[ENVIRONMENT]
RHEL ES 4 up2
[SITUATION]
I found the following KB.
http://kbase.redhat.com/faq/FAQ_35_3981.shtm
So I think that we can change time zone to GMT0 using following steps:
1. Change "GMT0" at ZONE argument at /etc/sysconfig/clock
2. Run "ln -sf /usr/share/zoneinfo/GMT0 /etc/localtime".
[QUESTION]
- Are above steps correct ?
- Why does not GMT0 appear with timeconfig ?
- Regarding timeconfig command, does timeconfig command perform only symbolic link ?
- Should we copy "/usr/share/zoneinfo/GMT0 to /etc/localtime ?
Thank you for advice.
Best Regards.
/Minoru.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 02:44 AM
07-03-2007 02:44 AM
SolutionAlmost. It's normally not recommended to have a symlink to /etc/localtime, but this depends of the configuration, normally, because /usr could be a different mount point and not be available at some situations, so, it's better to copy the file over /etc/localtime.
- Why does not GMT0 appear with timeconfig ?
I don't know. Maybe you see UTC or GMT that it's the same.
- Regarding timeconfig command, does timeconfig command perform only symbolic link ?
- Should we copy "/usr/share/zoneinfo/GMT0 to /etc/localtime ?
See answer 1.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 03:05 PM
07-03-2007 03:05 PM
Re: Regarding changing time zone to GMT0
[kumarts@adedla63p kumarts]$ date
Tue Jul 3 23:03:12 EDT 2007
[kumarts@adedla63p kumarts]$ TZ=BRT
[kumarts@adedla63p kumarts]$ export TZ
[kumarts@adedla63p kumarts]$ date
Wed Jul 4 03:04:22 BRT 2007
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 09:59 AM
07-10-2007 09:59 AM
Re: Regarding changing time zone to GMT0
The tzselect program asks the user for information about the current location, and outputs the resulting time zone description to standard output.
The output is suitable as a value for the TZ environment variable.
Here is the output:
[root@Test ~]# tzselect
Please identify a location so that time zone rules can be set correctly.
Please select a continent or ocean.
1) Africa
2) Americas
3) Antarctica
4) Arctic Ocean
5) Asia
6) Atlantic Ocean
7) Australia
8) Europe
9) Indian Ocean
10) Pacific Ocean
11) none - I want to specify the time zone using the Posix TZ format.
#?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 07:35 PM
08-09-2007 07:35 PM
Re: Regarding changing time zone to GMT0
# cd /etc
# mv localtime localtime.bak
# timeconfig
Verify new /etc/localtime file is created:
# ls -al /etc/localtime
Verify Date & Time:
# date
# date -u
Thanks