Request Tracker

From ArchWiki
Revision as of 19:11, 14 October 2011 by Synthead (Talk | contribs)

Jump to: navigation, search


The Request Tracker package in the AUR has been built with Apache, MySQL, and mod_perl in mind. This section will help create a new RT server based on these specs. RT also supports other database types, web servers, and Perl engines that are not explained here (please consult the RT documentation).

Install RT Package

Build and install the RT package from the AUR here. There are 70 packages from the AUR that need to be built for RT alongside the official packages. If your server is x86_64, get a convenient XZ file that contains all of them in a Pacman-installable format here.

Configuring Apache

Add this line to your LoadModule section in /etc/httpd/conf/httpd.conf:

LoadModule perl_module modules/

Then, add this to the bottom of httpd.conf also:

AddDefaultCharset UTF-8
DocumentRoot "/opt/rt4/share/html"

<Location /rt>
  Order allow,deny
  Allow from all

  SetHandler modperl
  PerlResponseHandler Plack::Handler::Apache2
  PerlSetVar psgi_app /opt/rt4/sbin/rt-server

  use Plack::Handler::Apache2;

Of course, you will want to restart httpd after you make these changes.

Creating a MySQL database

A MySQL server needs to be installed and running. Create a database for RT by running the following:

$ /opt/rt4/sbin/rt-setup-database --action init --prompt-for-dba-password


Edit /opt/rt4/etc/ when making any changes to Request Tracker. is a static configuration file that is bound to change. However, it does contain all the legal settings in the file, so you may want to glance over it to get an idea of what's available and how the syntax is structured.

At the very least, you will want to change your database password by adding a line similar to this in

Set($DatabasePassword, 'your_password');