Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

Install Request Tracker

From COCNM
Jump to: navigation, search

System Prep

  • apt-get install graphviz-dev libgd-graph-perl libgd-graph3d-perl libgd-text-perl graphviz libdbd-ldap-perl libnet-ldap-perl libapache2-mod-perl2 libdbix-searchbuilder-perl

Obtain and Install Request Tracker

  • Find latest downloads here: http://www.bestpractical.com/rt/download_file.html
  • cd /usr/src
  • wget http://download.bestpractical.com/pub/rt/release/rt-4.0.17.tar.gz
  • tar zxf rt-4.0.17.tar.gz
  • cd rt-4.0.17/
  • ./configure --prefix=/usr/local/rt --enable-graphviz --enable-gd --enable-gpg --enable-ssl-mailgate --with-web-user=rt --with-web-group=rt --with-db-type=Pg --with-db-dba=postgres --with-db-database=rtdb --with-db-rt-user=rt --with-db-rt-pass=DBMinion
  • make fixdeps
  • make testdeps If testdeps fails to find everything, run fixdeps=>testdeps until it does
  • make install
  • cpan -i RT::Authen::ExternalAuth Directory containing your RT.pm => /usr/local/rt/lib/

Configure Postgres

  • echo "host rtdb rt 127.0.0.1/32 md5" >> /etc/postgresql/9.1/main/pg_hba.conf
  • echo "host all all 127.0.0.1/32 trust" >> /etc/postgresql/9.1/main/pg_hba.conf
  • /etc/init.d/postgresql restart

Configure Request Tracker

  • make initialize-database
  • in a browser, navigate to https://rt.computerisms.com and log in with user root and password password, then log out.
  • psql -h localhost -U rt -d rtdb -c "update users set name='administrator', password='*NO-PASSWORD*' where comments='SuperUser';"
  • > /usr/local/rt/etc/RT_SiteConfig.pm; vi /usr/local/rt/etc/RT_SiteConfig.pm
  • mkdir -p /usr/local/rt/var/data/gpg

ReConfigure Postgres

  • sed -i '/trust/d' /etc/postgresql/9.1/main/pg_hba.conf
  • /etc/init.d/postgresql restart

Configure Apache

  • vi /etc/apache2/sites-available/rt.computerisms.com.conf
  • a2ensite rt.computerisms.com.conf
  • mkdir /var/log/apache2/rt.computerisms.com
  • chown root:adm /var/log/apache2/rt.computerisms.com/
  • service apache2 restart
  • samba-tool dns add houselian computerisms.com rt A 192.168.26.10