CentOS5InstallGuide

From Request Tracker Wiki
Jump to navigation Jump to search

Unofficial Installation Guide

This is an unofficial installation guide. It may be outdated or apply only to very specific configurations and versions. The official and maintained installation steps for RT are in the README and UPGRADING documents included in the official .tar.gz packages.

Outdated

This page contains out of date and possibly misleading information or instructions such as installation methods or configuration examples that no longer apply. Please consider this warning when reading the page below.

=== Hey Guys - I wrote up a guide for installing RequestTracker4 on CentOS5 over here. Check it out if you are installing RT4. Also includes info on configuring apache to use SSL only. ===

• Update your installation with the latest patches

yum update

• Install Apache, MySql, & sendmail-cf via yum

yum install httpd

yum install mysql
yum install mysql-server
yum install sendmail-cf
• Start the httpd and mysql services

/sbin/service mysqld start

/sbin/service httpd start
• Make sure the httpd & mysqld service start at boot

/sbin/chkconfig httpd on

/sbin/chkconfig mysqld on
• Install RPMForge

http://wiki.centos.org/Repositories/RPMForge

• Install Request Tracker

Packages are at http://www.tlviewer.org/rt3/

To install:

mkdir rt3

cd ./rt3
wget http://www.tlviewer.org/rt3/fileset
wget -i fileset

rpm --import RPM-GPG-KEY-mpryor

yum -y localinstall *.rpm

• Install UNIVERSAL::require

cpan

(press enter a huge load of times, enter your location, etc.)

cpan> install UNIVERSAL::require

cpan> exit
• Initialize the RT Database

$ /usr/sbin/rt-setup-database --action init

You can now reboot and go to http://localhost/rt3/ for the login page.

More detail and documentation coming...

NOTE - the installation above will install RT 3.6 or 3.8.2.

For RT 3.8.4, manual install instructions are here:

• CentOS 5 with PostgreSQL and RT 3.8.4:

http://tpokorra.blogspot.com/2007/12/bestpractical-rt-request-tracker-on.html

• CentOS 5 with MySQL:

http://www.ptitov.net/2008/07/request-tracker-installation-o.html

If you are installing perl modules with CPAN please be aware that you may run into a circular dependency issue while installing required modules. See here for details: http://code.google.com/p/test-more/issues/detail?id=48

I had to manual force install Test::More and File::Spec to get it to work. -smithian