Request Tracker

Install / Configure Request Tracker 4.2.2 on CentOS / RHEL 6.x

Dear all,

What is Request Tracker ?

Request Tracker, commonly abbreviated to RT, is a ticket-tracking system written in Perl used to coordinate tasks and manage requests among a community of users. RT’s first release in 1996 was written by Jesse Vincent, who later formed Best Practical Solutions LLC to distribute, develop, and support the package. RT is open source (FOSS) and distributed under the GNU General Public License.

Click on this link to know more about Request Tracker :-

Request Tracker
Request Tracker

This article is specially for them who find Request Tracker tough and difficult task to Install and Configure. In this article i will show you steps to Install Request Tracker on CentOS and RHEL 6.x. You can try this how to on i386 (32-Bit) and x86_64 architecture.

I have tested this article on RHEL 6.3 x86_64 bit. I should work on RHEL/CentOS 6.x version.

Perform Following steps to Install / Configure Request Tracker on Linux :-

1. You need to be root.

2. Internet must be running from Terminal/CLI.

3. Stop Firewall Services and Disable services on boot. # This is not recommended on Production environment.

[root@requst-tracker ~]# /etc/init.d/iptables stop && /etc/init.d/ip6tables stop && chkconfig iptables off && chkconfig ip6tables off

4. Disable SELinux.

[root@requst-tracker ~]# vi /etc/selinux/config/

Change it to SELINUX=disabled

[root@requst-tracker ~]# vi /etc/sysconfig/selinux

Change it to SELINUX=disabled

5. Restart your system to take effect of SELINUX configuration.

6. First of All Let’s move out existing repositories so by that We can avoid issue of conflict in dependencies.

[root@requst-tracker ~]# mkdir /root/origrepos
[root@requst-tracker ~]# mv /etc/yum.repos.d/*.repo /root/origrepos

7. Let’s configure Additional repositories.

[root@requst-tracker ~]# wget
[root@requst-tracker ~]# rpm -Uvh epel-release-6-8.noarch.rpm
[root@requst-tracker ~]# echo "[master]
baseurl=\$basearch" > /etc/yum.repos.d/centos.repo


8. Now Let’s Install Required Packages

[root@requst-tracker ~]# yum install  rpm* nmap expect vsftpd net-snmp* ntp* subversion subversion-devel mysql mysql-server mysql-devel screen perl-Crypt-PasswdMD5 graphviz php-xml php-cli php-ldap php-devel php-pdo php-imap php-readline php-ncurses php-soap php-snmp php-common php-mcrypt php-odbc php-mbstring php-gd php-bcmath php php-xmlrpc php-pear php-mysql php-dba mod_perl-devel mod_auth_mysql mod_perl mod_authz_ldap gd gd-devel gd-progs gcc* --exclude=gcc-java* --exclude=gcc4-java phpmyadmin mod_fcgid perl-GD perl-GnuPG-Interface perl-GraphViz perl-YAML perl cpan httpd


9. Initiate CPAN Shell, Just Keep on pressing enter and leave default values :-

[root@requst-tracker ~]# perl -MCPAN -e shell

9.1 Set cpan to auto-follow dependencies :-

cpan[1]> o conf prerequisites_policy follow
cpan[2]> o conf commit
cpan[3]> quit

10. Setup required start services  and make sure below services are enabled on every boot.

[root@requst-tracker ~]# service mysqld start
[root@requst-tracker ~]# service httpd start
[root@requst-tracker ~]# chkconfig httpd on
[root@requst-tracker ~]# chkconfig mysqld on

11. Setup MySQL Password, as it will ask you during initializing database.

[root@requst-tracker ~]# mysqladmin -u root password 'YOUR-PASSWORD-HERE'

10. Let’s Now Download, Extract and Install Request Tracker from website :-

[root@requst-tracker ~]# useradd rt
[root@requst-tracker ~]# groupadd -g rt rt
For RHEL / CentOS 6.x
[root@requst-tracker ~]# wget
[root@requst-tracker ~]# tar zxvf rt-4.2.2.tar.gz
[root@requst-tracker ~]# cd rt-4.2.2
[root@requst-tracker rt-4.2.2]# ./configure --with-db-type=mysql --with-db-host=localhost --with-web-user=apache --with-web-group=apache --with-rt-group=rt --prefix=/opt/rt --enable-graphviz --enable-gd --enable-gpg
[root@requst-tracker rt-4.2.2]# make fixdeps
[root@requst-tracker rt-4.2.2]# make testdeps
[root@requst-tracker rt-4.2.2]# make install
=> In below step it will ask you to provide MySQL Password.
[root@requst-tracker rt-4.2.2]# make initialize-database


11. Configure request tracker to serve by Apache:-

[root@requst-tracker rt-4.2.2]# vi /etc/httpd/conf.d/requestracker.conf

###### STARTS FROM HERE #####
AddDefaultCharset UTF-8
Alias /rt/NoAuth/images /opt/rt/share/html/NoAuth/images/
ScriptAlias /rt /opt/rt/sbin/rt-server.fcgi/

DocumentRoot “/opt/rt/share/html”
<location /rt>
Order allow,deny
Allow from all
Options +ExecCGI
AddHandler fcgid-script fcgi
###### ENDS HERE #####

12. Let’s fix permissions of some file so apache can access it.

[root@requst-tracker ~]# chown apache:apache /opt/rt/etc/
[root@requst-tracker ~]# chown apache:apache /opt/rt/etc/

13. Set Webpath for Request Tracker :-

[root@requst-tracker rt-4.2.2]#vi /opt/rt/etc/

Set($WebPath, “/rt”);

13.1 If you want Request Tracker to open on SSL Port Add below line to the same file

Set($WebPort, 443);

14. Restart Apache ( Web Server ) :-

[root@requst-tracker rt-4.2.2]# service httpd restart

15. Now You can open Request Tracker into your browser.
URL :- http://localhost/rt or http://<your-ip>/rt # If you are accessing from Network.
You can access through Default username and password :-
Username :- root

Password :- password

That’s it. Your Request Tracker is ready to use.

Hope this helps you all.

If you like this then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.

All Linux User’s Blog Mobile Applications :-

Please Keep in Touch with Social Networking :- 

Facebook Page :-

Enjoy Dropbox on Linux 🙂 Enjoy Ubuntu 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂

4 thoughts on “Install / Configure Request Tracker 4.2.2 on CentOS / RHEL 6.x”

  1. I am facing problem when I run “make testdeps”

    it shows

    CORE missing dependencies:
    DateTime …MISSING
    Attempt to reload aborted.
    DateTime::Format::Natural …MISSING
    Can’t locate in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/share/perl5/DateTime/TimeZone/ line 6.
    Date::Extract …MISSING
    Attempt to reload DateTime/Format/ aborted.
    Attempt to reload aborted.
    Crypt::Eksblowfish …MISSING
    Can’t locate in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/lib64/perl5/Crypt/ line 52.
    CSS::Squish …MISSING
    Can’t locate in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/share/perl5/URI/ line 6.
    Plack::Handler::Starlet …MISSING
    Can’t locate in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/local/share/perl5/Plack/ line 3.

    Perl library path for /usr/bin/perl:
    make: *** [testdeps] Error 1

  2. To anyone having problems with dependencies like


    1. Run cpan and type upgrade
    2. Run cpan install required dependency

    Then if you have the issue with


    It’s most likely missing. Go to /root/.cpan/build/Starlet*/lib and copy to /usr/local/share/perl5/Plack/Handler

    That should fix those dependencies.

  3. Hello,

    Agree, I have written it because some beginners generally feel very confused about this so this is for them 🙂

    Thanks for suggestions, Keep vising blog.

Leave a Reply

Your email address will not be published. Required fields are marked *