# Upgrading Red Hat Enterprise Linux 5.2 Server to Install PowerMedia WMS Release 1.0

Follow the steps below to upgrade Red Hat Enterprise Linux 5.2 Server to eventually install the PowerMedia WMS software.

There are three high-level steps required to perform this upgrade:

- Modify the yum.conf file to install from the Red Hat DVD
- Mount the DVD/ISO
- Upgrade packages

## Modify yum.conf

Modify the /etc/yum.conf file by adding following section to it:

[rh5-media]

name=RedHat 5.2

baseurl=file:///media/cdrom/Server

gpgcheck=0

## Mount the Red Hat Media

1. DVD Media:

mkdir /media/cdrom

mount /dev/cdrom /media/cdrom

2. ISO File:

mkdir /media/cdrom

mount -t iso9660 -o loop <iso file> /media/cdrom

## Upgrade Packages

Follow the steps below to install packages not installed by the auto-dependency method.

1. Type cd /media/cdrom/Server

2. Type yum install lcms-1.15-1.2.2.i386.rpm --disablerepo=\* --enablerepo=rh5-media --nogpgcheck

3. Type yum install lcms-devel-1.15-1.2.2.i386.rpm --disablerepo=\* --enablerepo=rh5-media --nogpgcheck

4. Type yum install compat-libstdc++-33 --disablerepo=\* --enablerepo=rh5-media --nogpgcheck

5. Type yum install compat-libstdc++-296-2.96-138.i386.rpm --disablerepo=\* --enablerepo=rh5-media --nogpgcheck

6. Type yum install lm_sensors-2.10.0-3.1.i386.rpm --disablerepo=\* --enablerepo=rh5-media --nogpgcheck

Copy the PowerMedia WMS tgz archive to this system and then follow the steps below:

1. Type mkdir /tmp/ws

2. Type cd /tmp/ws

3. Type tar -xvzf <path to WS archive file>

4. Type yum install SNOW*rpm --disablerepo=\* --enablerepo=rh5-media --nogpgcheck

5. Type ./wms_install.sh

## Modify resolv.conf

Modify the /etc/resolv.conf file to match the following as necessary:

search <appropriate DNS domain(s), such as “example.com”>

nameserver <first nameserver>

nameserver <second nameserver>

## Modify hosts

Modify the /etc/hosts file by adding following line to its end:

<WMS IP address> snow-rtp

## Modify network

Modify the /etc/sysconfig/network file as follows:

NETWORKING=yes

NETWORKING_IPV6=no

HOSTNAME=<hostname>

IPADDR=<WMS IP address>

GATEWAY=<IP address of gateway associated with WMS>

NETMASK=255.255.255.0

## Modify selinux

Modify the following /etc/sysconfig/selinux line from:

SELINUX=enforcing

to:

SELINUX=disabled

Reboot the WMS server.

You can now configure the PowerMedia WMS software. Refer to Configuring the PowerMedia WMS.