LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-16-2007, 07:05 PM   #1
pratul
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Rep: Reputation: 0
Cool Daylight Savings Time for RHEL Servers


To get information and step by step instructions about updating daylight savings time for RHEL servers, please visit the following link. I also kept some files there , like my own compiled Binary rpm for tzdata.

http://s95078055.onlinehome.us/DST_R...7_Process.html


Enjoy !!
pratul
 
Old 02-16-2007, 07:38 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Why did you even bother, did your RHEL subscription run out???

Any valid RHEL subscriber already has the updates, others can get the same thing from a more trusted source like CentOS, Scientific Linux, Whitebox or any of the other 100% binary clone distribution providers in binary form. Fedora Core also has updated binary tzdata rpm packages available as well as most other rpm based version of Linux

FYI: Review the change log in the tzdata spec file, the TZ fixes for USA you made reference to in your URL above were added;

* Wed Jul 26 2006 Petr Machata <pmachata@redhat.com> - 2006g-1.EL3
- Upstream 2006g (#199926); updates:
- America: Edmonton, Guatemala, Indiana/Vincennes, Thule
- Canada, Haiti, Honduras, Iran, Nicaragua, Sri Lanka, Tunisia
 
Old 03-05-2007, 06:24 PM   #3
pratul
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0
This is for older systems and people like me who do not have RHN subscription

Quote:
Originally Posted by Lenard
Why did you even bother, did your RHEL subscription run out???
Lenard : Yes..I do not have any surbscription.


Here is the simplest process to update any version (older or newer)

Using ZIC to compile / extracting Zone files: (Elegant / Simple process) – works well for any older Linux 7.1 /7.2 versions etc.

Download the most recent version of the time zone text files from the public domain time zone database < ftp://elsie.nci.nih.gov/pub/>, and compile the files yourself with zic.

Download the file named tzdata2007c.tar.gz

This is just an example of just making the America/Los_Angeles zone DST compiled and replace in your presently running linux system, without a break in service. Obviously you could do this for any timezone or all of them.

Download above tar file / unpack it / get your hands on the directory called

“tzdata2007c”

Logon as root
mkdir /root/DST2007 [ this directory is just a working location for my old timezone files backup. You can name anything and location can be anything ]
CD
CD DST2007
COPY / backup present timezone data files: cp –r /usr/share/zoneinfo (and later change the name as oldtimezonebackupfiles)
Unpack the tar file mentioned above and get the tzdata2007c directory. Keep one copy in your work location /root/DST2007 as backup and copy one to /tmp directory.

cd /tmp/tzdata2007c
zic –d /tmp/zoneinfo northamerica

this will compile the time zone files into a directory /tmp/zoneinfo.

Check if dates look correct by doing zdump –v /tmp/zoneinfo/America/Los_Angeles |grep 2007 . [ Note :you see March 11th and Nov 4th ] .

cd /usr/share
rm –rf zoneinfo
mv /tmp/zoneinfo .

cd /etc
ln –sf /usr/shar/zoneinfo/America/Los_Angeles /etc/localtime
check again the correct dates by zdump –v /etc/localtime |grep 2007
 
Old 03-05-2007, 07:48 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Kinda of long since the tzdata-2006m-3.el4.noarch.rpm (RHEL4), tzdata-2006m-3.el3.noarch.rpm (RHEL3) and tzdata-2006m-3.el2_1.noarch.rpm (RHEL2.1) all have the updated timezone info files.

BTW: RHL7.X is not supported many really good reasons to go into. Nobody has any reason to use any dead and unsupported OS when there are freely available and supported 100% binary compatible 'clones'. Both CentOS and Scientific Linux (versions 2.1 and 3.X) are examples which covers the RHL7/8/9 series quite well come to mind.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Server time and daylight savings dtra Linux - General 2 03-23-2006 04:10 PM
Daylight Savings time depdiver Linux - General 4 03-13-2006 01:30 PM
Daylight savings time depdiver Red Hat 2 02-21-2006 10:00 AM
Daylight savings time Jeebizz Slackware 13 11-21-2005 08:08 PM
NTP and Daylight Savings Time jrdioko Linux - Software 8 11-01-2005 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration