Wednesday, 19 September 2012

Installing Request Tracker in Ubuntu Lucid (10.04)

Request tracker is free web and email-based bug tracking and trouble ticketing system. This is quick guide to installing it.

Before you start it's a good idea to have a few things in place, like the database engine, the mail transfer agent, and the web server. Or, in plain speak, MySQL, Postfix, and Apache.

Note: I've chosen to use only software available in the repositories. That way, everyone is starting on the same page. 

Get up to date. This is useful to install security patches, and updates to your current system.

sudo apt-get update
sudo apt-get upgrade

Install the database mysql, with the perl interface

sudo apt-get install mysql-server libdbd-mysql-perl

Set a root password – make a note of this!
Install Mail Transfer Agent

sudo apt-get install postfix

Choose "Internet Site" in the install dialogue
Install these packages rt3.8-apache2 and rt3.8-db-mysql 

sudo apt-get install rt3.8-apache2 rt3.8-db-mysql request-tracker3.8 rt3.8-clients

Select to allow dbconfig auto thingy to manage your database
Enter your database password when requested
Backup the file default under sites-available 

sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/default.bak

Edit the file default under sites-available 

sudo nano /etc/apache2/sites-available/default

Scroll to the bottom of the file, and add the following just before </VirtualHost> 

Include /etc/request-tracker3.8/apache2-modperl2.conf
RedirectMatch ^/$ /rt

Add the module to apache, and restart 

sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart

Now you are ready to logon
Go to '' using

User: root
Password: password

Please note, that your not ready for production yet, that is just a bare bones installation. I recommend that you kick the tyres before you go live!

Please feel free to leave any comments and suggestions - Thanks

No comments:

Post a Comment