From Request Tracker Wiki
Jump to navigation Jump to search

RT 3.8.7 module Repo for Redhat Enterprise 5.x

For updates to this guide and its packages visit: http://blog.jwhite3.com


This document assumes you have basic system admin experience and root access to the server you are installing on. In addition you require...

• Redhat Enterprise 5.x base install

• yum configured to provide all ‘base’ packages available on the installation media.
  This repo only contains the modules that DON'T ship with the Redhat distro.

Repository Setup

The archive below includes a yum repo of the hierarchical perl dependencies required by the latest version, as well a a few that must be manually installed due to RPM file conflicts in RHEL5.

• Download this archive and extract it.

wget http://www.jwhite3.com/files/rt/rt_3.8.7_bundle.zip

unzip rt_3.8.7_bundle.zip
• Setup a local or remote yum repository to serve these packages

mv rt_repo /opt/

mv rt.repo /etc/yum.repos.d/

Contents of rt.repo :


name=Request Tracker - $basearch


name=Request Tracker - noarch
• Clean your yum cache, download new repo data, and make sure rt repo exists

yum clean all

yum list perl*

Example RT Installation using repository

The rt_3.8.7_bundle.zip archive includes the following files:

• instal.sh - Automated setup that will install the repository locally, install the required

  modules, compile the modules that cannot be install via RPM, and finally... install RT
• Modules.tar.gz - Archive containing the 6 modules that must be installed manually due to RHEL5 conflicts.
  (CGI, Encode, File::Temp, Sys::Syslog, Test::Simple, MIME::tools)
• rt-3.8.7.tar.gz - The RT system itself.
• rt.repo - The YUM repository file for the local repo that will be installed
• rt_repo.tar.gz - The archive of the repository itself.

Automated Method

chmod o+x install.sh


Manual Method

tar -zxvf rt_repo.tar.gz

mv rt_repo /your/repo/path/here
mv rt.repo /etc/yum.repos.d/
tar -zxvf rt-3.8.7.tar.gz
tar -zxvf Modules.tar.gz

Read through the install.sh file. Use it as a guide to install. The basic sequence is as follows...

• Create RT user/group

• Install RT yum repo
• Install packages required to compile other modules and packages (Devel Requirements)
• Build & Install the 6 modules that can't be installed via RPM on RHEL5
• Install the required packages for RT to be built
• Build & Install RT

Note: Because perl-DBD-mysql-4.006-1 was installed using the approach before, I had issues to install mysql-server after. Therefore, you have to install the server without dependencies:

yum install mysql-server # failed, but available in cache area

rpm -i --nodeps /var/cache/yum/updates/packages/mysql-server-5.0.77-4.el5_5.4.i386.rpm

Post installation instructions are the same as in previous versions. The existing guide on the RT Wiki is still valid.