Difference between revisions of "RHEL5RepoArchive"

From Request Tracker Wiki
Jump to navigation Jump to search
(Fixed issue concerning CentOS 5.5)
 
(Added workaround for dependency issue concerning mysql-server)
Line 60: Line 60:
  • rt.repo - The YUM repository file for the local repo that will be installed
  • rt.repo - The YUM repository file for the local repo that will be installed
  • rt_repo.tar.gz - The archive of the repository itself.
  • rt_repo.tar.gz - The archive of the repository itself.


==== Automated Method ====
==== Automated Method ====
Line 66: Line 65:
  chmod o+x install.sh
  chmod o+x install.sh
  ./install.sh
  ./install.sh


==== Manual Method ====
==== Manual Method ====
Line 75: Line 73:
  tar -zxvf rt-3.8.7.tar.gz
  tar -zxvf rt-3.8.7.tar.gz
  tar -zxvf Modules.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...
Read through the install.sh file. Use it as a guide to install. The basic sequence is as follows...
Line 86: Line 82:
  • Install the required packages for RT to be built
  • Install the required packages for RT to be built
  • Build & Install RT
  • 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.
Post installation instructions are the same as in previous versions. The existing guide on the RT Wiki is still valid.


http://wiki.bestpractical.com/view/Rhel5InstallGuide
http://wiki.bestpractical.com/view/Rhel5InstallGuide

Revision as of 14:36, 4 January 2011

RT 3.8.7 module Repo for Redhat Enterprise 5.x

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

Prerequisites

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 :

[rt-387-local]
name=Request Tracker - $basearch
baseurl=file:///opt/rt_repo/$basearch/
enabled=1
gpgcheck=0

[rt-387-noarch-local]
name=Request Tracker - noarch
baseurl=file:///opt/rt_repo/noarch/
enabled=1
gpgcheck=0
• 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
./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.


http://wiki.bestpractical.com/view/Rhel5InstallGuide