Install a time zone RPM

Purpose

This topic describes the steps to install a time zone RPM. A time zone RPM contains descriptions of time zones.

Reason for installation

When you install software on a Lucent CM node, a time zone RPM is installed. The time zone RPM is the most recent time zone RPM that was available when the software package was created.

The time zone RPMs are regularly updated, for example to include correct daylight saving time information. When you encounter time mismatches, check if a new time zone RPM is available and install it to see if it resolves the time mismatch.

Installation options

You can install the time zone using one of the following methods:

Time zone RPM file names and download location

Time zone RPMs are available from Internet sites. For example from the RPM repository. The time zone RPM has the format tzdata-<issue-version>.EL3.1.src.rpm

Perform a search on “tzdata" to find the latest RPM for Enterprise Linux 3.

Scripts

Script directory

 

Script name

 

/mnt/cdrom/scripts

 

patchDTS.sh

 

Install the time zone RPM from the CD-ROM

Important!  A time zone RPM must be installed on each node of the Lucent CM system after you installed RedHat Linux.

Task StepsPerform the following step to install the time zone RPM from the CD-ROM:

1

Insert the installation CD labeled Lucent CM Application in the CD-ROM drive.


2

Mount the CD-ROM.

Type the following command and press ENTER:

# mount /mnt/cdrom


3

Change directory to the directory where the script is located.

Type the following command and press ENTER:

# cd /mnt/cdrom/scripts


4

Execute the Daylight Saving Time script to install the RPM.

Type the following command and press ENTER:

# ./patchDTS.sh


5

Eject the CD-ROM.

Type the following command and press ENTER:

# eject

End of steps


Install a downloaded time zone RPM

Important!  A time zone RPM must be installed on each node of the Lucent CM system after you installed RedHat Linux.

Task StepsPerform the following step to install a downloaded time zone RPM:

1

Transfer the time zone RPM you downloaded to your /tmp directory on the Lucent CM node.


2

Rebuild the source rpm to get a noarch rpm which can be install to linux directly.

Type the following command and press ENTER:

rpmbuild --rebuild <timezone_RPM_filename>


3

Change directory.

Type the following command and press ENTER:

cd /usr/src/redhat/RPMS/noarch


4

Install the time zone RPM package.

Type the following command and press ENTER:

rpm -Uhv <timezone_RPM_filename>

End of steps



© Lucent Technologies