Install / Configure Request Tracker 4.0.19 on CentOS / RHEL 5.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 :- http://en.wikipedia.org/wiki/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 5.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, not tested on CentOS / RHEL 5.x but It should work.

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 http://epel.mirror.net.in/epel/5/i386/epel-release-5-4.noarch.rpm
[root@requst-tracker ~]# rpm -Uvh epel-release-5-4.noarch.rpm
[root@requst-tracker ~]# echo "[master]
name=master
enabled=1
gpgcheck=0
baseurl=http://mirror.centos.org/centos/5/os/\$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-mhash 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 http://download.bestpractical.com/pub/rt/release/rt-4.0.19.tar.gz
[root@requst-tracker ~]# tar zxvf rt-4.0.19.tar.gz
[root@requst-tracker ~]# cd rt-4.0.19
[root@requst-tracker rt-4.0.19]# ./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.0.19]# make fixdeps
[root@requst-tracker rt-4.0.19]# make testdeps
[root@requst-tracker rt-4.0.19]# make install
=> In below step it will ask you to provide MySQL Password.
[root@requst-tracker rt-4.0.19]# make initialize-database

 

11. Configure request tracker to serve by Apache:-

[root@requst-tracker rt-4.0.19]# 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
</Location>
###### ENDS HERE #####

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

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

13. Set Webpath for Request Tracker :-

[root@requst-tracker rt-4.0.19]#vi /opt/rt/etc/RT_SiteConfig.pm

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.0.19]# 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 :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 
Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

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

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 :- http://en.wikipedia.org/wiki/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 http://epel.mirror.net.in/epel/6/i386/epel-release-6-8.noarch.rpm
[root@requst-tracker ~]# rpm -Uvh epel-release-6-8.noarch.rpm
[root@requst-tracker ~]# echo "[master]
name=master
enabled=1
gpgcheck=0
baseurl=http://mirror.centos.org/centos/6/os/\$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 http://download.bestpractical.com/pub/rt/release/rt-4.2.2.tar.gz
[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
</Location>
###### ENDS HERE #####

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

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

13. Set Webpath for Request Tracker :-

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

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 :- http://www.tejasbarot.com/download-mobile-apps/

Please Keep in Touch with Social Networking :- 

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

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

Zpanel – A Good Cpanel Alternative Open Source

For every paid software, always you can find an opensource alternative, sometimes the alternative is better and complete like (Gimp vs Photoshop) sometimes not. Today we will see a good alternative to Cpanel, the well known paid hosting / server panel, it is zpanel.

ZPanel is a free to download and use Web hosting control panel written to work effortlessly with Microsoft Windows and POSIX (Linux, UNIX and MacOSX) based servers or computers. This solution can turn a home or professional server into a fully fledged, easy to use and manage web hosting server.

Zpanel is easy to install and to configure. In this tutorial i installed Zpanel in CentOS 6.3.

1- Before to start we need to install some requered dependencies:

yum install ld-linux.so.2 curl

2- Download the  installation script from the  Zpnel   website (Last stable  release 10.0.0.2)

wget http://www.zvps.co.uk/sites/default/files/downloads/centos-6-3/package/installer-x86_64-install.sh.x.tar.gz 

3- Now  extract the script  and  run

tar -zxvf installer-x86_64-install.sh.x.tar.gz 

4- Make the script  executable

chmod +x  installer-x86_64-install.sh.x

5- Run the script:

./installer-x86_64-install.sh.x

Screenshot

  • Accept  the  Licence
  • Set up  the  time zone
To contine please agree to the GPL license (y/n/q)? y
Find your timezone from : http://php.net/manual/en/timezones.php e.g Europe/London
Enter Your Time Zone: Europe/Amsterdam
  • Insert the  Install  version and  the  Domainname , Ip address and    the  password you want  to make  for  your  root  Mysql access and GO!!!
Install fresh ZPanel server or enter an upgrade version number e.g 10-0-1 :install
Enter the FQDN of the server (example: zpanel.yourdomain.com): zpanel.unixmen.com
Enter the Public (external) IP of the server: 192.198.1.109
MySQL Password is currently blank, please change it now.

Password you will use for MySQL: ******
Re-enter the password you will use for MySQL: ******

ZPanel will now install, are you sure (y/n/q)?

6- Installation Complted  and  Zadmin password  had  been generated.

Screenshot-1

 The  Server   will  restart automatically.

Please  connect to http://IP and  login with  zadmin user and  the  password  generated

Screenshot-2
Screenshot-3

and is done.

Original Link :- http://www.unixmen.com/zpanel-the-best-alternative-for-cpanel/

Social Networking :-

Facebook Page :- https://www.facebook.com/AllLinuxUsersBlog

Enjoy Zpanel 🙂 Enjoy Cpanel Alternative to Open Source 🙂 Enjoy CentOS 6.3 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂