Hi Everyone,
I’m looking for the fastest most reproducible way to install request-tracker5.
I’m using Ubuntu 24.04 LTS.
I noticed that Ubuntu’s repos offer options for installing rt5 directly from APT.
I’m wondering is this the best way to get up and running?
- Should I do a Manual Install?
- Or should I go with APT?
From my understanding, If I were to install using APT, I need to install some dependencies before installing the ‘request-tracker5’ package:
- apt-get rt5-apache2 (web-server of choice)
- apt-get rt5-postgresql (db of choice)
- apt-get rt5-clients (mail plugin)
- apt-get rt5-doc-html (docs)
And then Finally run:
Regards
I think you choice mostly comes down to “do I just need an RT installed in the easiest way possible, or do I care about getting the latest features, bugfixes, etc?” If you just want easy and don’t care about newer features, use the OS apt packaged version. If you want more control over your upgrade path, build from source.
1 Like
I’m on the team that looks after the Debian packages, which then flow into Ubuntu. I reckon they’re pretty good. And for ease of installation, I think they work pretty well.
I would just point out that you don’t need separate apt installs, you can do it all in one go:
apt install rt5-apache2 rt5-db-postgresql rt5-doc-html request-tracker5
(rt5-clients is a dependency of request-tracker5, so will be pulled in automatically)
2 Likes
Thank you
I’ll try that on my ubuntu instance. I’ll switch to Debian and try again if i run into problems.
Thanks
I’ll be installing using APT. I just need request-tracker running for small project; their requirements are simple.
ubuntu 24
apt install postgresql apache2 libapache2-mod-fcgid libapache2-mod-perl2 libdbd-pg-perl perl make
enable the needed apache modules
a2enmod rewrite
a2enmod suexec
a2enmod include
a2enmod fcgid
a2enmod perl
a2enmod ssl
ensure postgres access
sudo su - postgres
psql postgres
CREATE USER rtuser WITH SUPERUSER PASSWORD ‘password’;
in order to ensure cpan access
run cpan
accept request if prompted
maybe “cpan install Term::ReadLine::Perl”
apt install rt5-apache2 rt5-db-postgresql rt5-clients rt5-doc-html rt5-extension* request-tracker5
follow onscreen directions
modify apache default or ssl-default
vim /etc/apache2/sites-available/000-default.conf ### UNSECURE INSTALL
“ServerName tickets”
“RedirectMatch ^/$ /rt”
“Include /etc/request-tracker5/apache2-fcgid.conf”
vim /etc/apache2/sites-available/000-default.conf ### SECURE INSTALL
<VirtualHost *:80>
ServerName tickets.example.com
Redirect permanent / https://tickets.example.com/
vim /etc/apache2/sites-available/default.conf
“ServerName tickets”
“RedirectMatch ^/$ /rt”
“Include /etc/request-tracker5/apache2-fcgid.conf”
set file system permissions
chmod -R +w /etc/request-tracker5
chown -R root:www-data /usr/share/request-tracker5/*
##create local change file and add settings
vim /etc/request-tracker5/RT_SiteConfig.d/90-local.pm
Set($WebSecureCookies, ‘0’); #### unsecure install
Set($MaxAttachmentSize , 10000000);
Set($FriendlyFromLineFormat, “"%s" <%s>”);
vim /etc/apache2/sites-available/000-default.conf ### SECURE INSTALL
<VirtualHost *:80>
ServerName tickets.example.com
Redirect permanent / https://tickets.example.com/
vim /etc/apache2/sites-available/default-ssl.conf
“ServerName tickets”
“RedirectMatch ^/$ /rt”
“Include /etc/request-tracker5/apache2-fcgid.conf”