Request Tracker Installation on CentOS 5 / RHEL 5

| | Comments (0) | TrackBacks (0)

This tutorial assumes database server for the tracker is already up and running on a same or another machine. The tutorial based on RHEL 4 Install Guide and another one guide slightly modified to conform CentOS 5 / RHEL 5 changes and facilitate software installation. Apache2/mod_perl2 with RT 3.8 are used in the tutorial. You may want to review Manual Installation Requirements and Manual Installation to get a grip of the installation process.

Perform a standard install of CentOS 5 or RHEL 5. Enable "centosplus" repository in the /etc/yum.repos.d/CentOS-Base.repo. Download and install RPMforge distribution.

Install Apache and mod_perl:

# yum install httpd httpd-devel apr-devel mysql-client mysql-devel mod_perl

...and also some CPAN module dependencies...

# yum install freetype-devel gd-devel libjpeg-devel libpng-devel xorg-x11-devel

Install ncftpget, it's required by some CPAN modules. In case you don't use x86_64 look for an appropriate build.

# rpm -i ftp://rpmfind.net/linux/EPEL/4AS/x86_64/ncftp-3.2.0-3.el4.x86_64.rpm

RT Pre-Install: Security

# groupadd rt

Change rt:x:500 line in /etc/group to the rt:x:500:apache

Disable SELinux, change the SELINUX=enforcing or SELINUX=permissive line in /etc/selinux/config to SELINUX=disable

# chmod -Rf 755 /etc/httpd/logs
# reboot

RT Pre-Install: Perl Modules

# yum install perl-Apache-Session perl-Class-Container perl-Class-Data-Inheritable perl-Crypt-DES perl-Devel-StackTrace perl-Exception-Class perl-GD perl-GD-Graph perl-GD-Text-Util perl-Hook-LexWrap perl-HTML-Mason perl-HTTP-Server-Simple perl-HTTP-Server-Simple-Mason perl-IO-Socket perl-Net-SNMP perl-Params-Validate perl-Socket6 perl-XML-RSS perl-DBD-mysql
# perl -MCPAN -e shell
cpan> install Bundle::CPAN
cpan> exit

RT Install

# wget http://download.bestpractical.com/pub/rt/release/rt.tar.gz
# tar xzf rt.tar.gz
# cd rt-*/
# ./configure --with-web-user=apache --with-web-group=apache --with-modperl2 --with-mysql
# perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --install

Check, whether some required modules still missing and install them if needed.

# perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --verbose|grep MISSING

Install RT.

# make install

Follow manual installation instruction from the step 5, there are a few some OS-independent step.

Apache configuration.

Append following lines to the /etc/httpd/conf.d/perl.conf

Listen ip_of_the_rt.example.com:80 <VirtualHost ip_of_the_rt.example.com:80> ServerName rt.example.com ServerAdmin Email.Address@example.com DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 PerlRequire /opt/rt3/bin/webmux.pl <Directory /opt/rt3/share/html> Order allow,deny Allow from all SetHandler perl-script PerlResponseHandler RT::Mason </Directory> </VirtualHost>

Enable Apache to start on boot.

# chkconfig httpd on

0 TrackBacks

Listed below are links to blogs that reference this entry: Request Tracker Installation on CentOS 5 / RHEL 5.

TrackBack URL for this entry: http://www.ptitov.net/mt/mt-tb.cgi/5

Leave a comment

About this Entry

This page contains a single entry by Pavel Titov published on July 23, 2008 6:42 AM.

Wi-Fi Positioning Goes to Moscow was the previous entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01