From Request Tracker Wiki
Revision as of 13:21, 4 January 2011 by (talk) (Fixed issue concerning CentOS 5.5)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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