Request Tracker is a tried-and-tested ticketing system, written in Perl. The manual installation documentation is pretty clear but not tailored to any particular distribution or configuration and I still had to do a bit of digging around to complete the installation, so I am posting my notes in case they help others.
Unpack the latest release of the application to /usr/local/src:
1 2 3 |
wget https://download.bestpractical.com/pub/rt/release/rt.tar.gz gunzip rt.tar.gz tar -xvf rt.tar |
After building you have to install the extra dependencies. Unfortunately make fixdeps didn’t do a great job. Here’s all the extra packages I installed:
1 |
apt-get install build-essential mysql-server apache2 postfix mailutils openssl libyaml libyaml-appconfig-perl openssl-dev libexpat1-dev libxml-rss-perl libdate-extract-perl libssl-dev libcrypt-ssleay-perl |
For my installation I’m also using Postfix as MTA to Sendgrid.
SMTP for Sendgrid on Postfix can be configured as per:
https://www.linode.com/docs/email/postfix/postfix-smtp-debian7#settings-for-sendgrid
In /etc/postfix/main.cf add:
1 |
relayhost = [smtp.sendgrid.net]:587 |
In /etc/postfix/sasl_passwd:
1 |
[smtp.sendgrid.net]:587 USERNAME:PASSWORD |
Then, generate the password hash as per the link above.
Here’s the configuration for /opt/rt4/etc/RT_SiteConfig.pm:
1 2 3 4 5 6 7 8 9 10 11 |
Set( $rtname, 'MyOrg'); Set( $WebDomain, 'rt.myOrg.com'); Set( $WebBaseURL, 'http://rt.myOrg.com'); Set( $Organization, 'myOrg.com'); Set( $Timezone, ‘Australia/Perth’); Set( $WebDefaultStylesheet, ‘rudder/aileron/web2/ballard’); |
I chose to use Lighttpd as my webserver. After installing it, I placed the following in /etc/lighttpd/lighttpd.conf:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
server.document-root = "/opt/rt4/share/html/" server.modules += ( "mod_fastcgi" ) $HTTP["host"] =~ "^rt.myOrg.com" { fastcgi.server = ( "/" => ( "rt" => ( "socket" => "/opt/rt4/var/socket", "bin-path" => "/opt/rt4/sbin/rt-server.fcgi", "check-local" => "disable", "fix-root-scriptname" => "enable", ) ) ) } |
Then (as I was installing on Ubuntu) I removed apache2 from startup:
1 |
sudo update-rc.d -f apache2 remove |
Terrariums are fun
I've been playing with terrariums. I made a lot, to try out different ideas. One was made with a LED in the bottom of the lid providing illumination. A few months on ... Read more
LibreNMS network monitor with Slack integration and Oxidized config versioning
I used to use Observium for network monitoring. After evaluating a couple of options - Cacti, Zabbix, Nagios - I found Observium, and loved its beautiful, well organised and extremely usable interface. Observium has ... Read more