MySQL
aptitude install mysql-server rt4-db-mysql
After installation make sure that your database is running:
# service postgresql [status|start|stop|restart] # service mysql [status|start|stop|restart]This part is important for the next steps, the DB server needs to be up and running.
Secondly, install RT4Edit
And now install RT 4 itself, at the moment of this writing this means that you'll be installing RT 4.0.4.aptitude install rt4-apache2 aptitude install request-tracker4During the installation you'll be asked a bunch of questions, follow the steps and you'll be ok :-) This will create the RT database, configure the DB + the basics for RT.
The last step is to setup apache2 for RT, there are sample configuration files located under /etc/request-tracker4/.
Pick your config and configure it under /etc/apache2/sites-available, from there make a symlink from that file to /etc/apach2/sites-enabled.
open apache2 configuration file.
vi /etc/apache2/sites-available/defaultAt the end of this file :
Include /etc/request-tracker4/apache2-modperl2.conf RedirectMatch ^/$ /rt </VirtualHost>Then restart apache (service apache2 restart) and see of RT is up and running.
Restart Apache afterwards:
/etc/init.d/apache2 restart
And voila, you've now installed RT 4 on Debian Squeeze using apt :-)
- It might happen that aptitude complains about some perl dependencies being outdated. You can update those specific packets using the following command (these are the ones that were complaining on my end):
aptitude -t squeeze-backports install libdbix-searchbuilder-perl liblog-dispatch-perl libhtml-rewriteattributes-perl libplack-perl -yThis forces aptitude to update those packets using the backports repository.
Or just install the package 'request-tracker4' via synaptic and everything will be smooth sailing.
Configuring RT 4Edit
In general your installation should be done, but you probably want to know the location of your configuration files under Debian. Below a list of the locations that I know of:- /etc/request-tracker4
- /usr/share/request-tracker4
Also be sure to configure Mailgate if you plan to be able to submit tickets via email.