Request Tracker Installation on CentOS 5 / RHEL 5
2010-01-11 20:12
656 查看
This tutorial assumes database server for the tracker is already up and running on a same or another machine. The tutorial based on RHEL 4 Install Guide and another one guide slightly modified to conform CentOS 5 / RHEL 5 changes and facilitate software installation. Apache2/mod_perl2 with RT 3.8 are used in the tutorial. You may want to review Manual Installation Requirements and Manual Installation to get a grip of the installation process.
Perform a standard install of CentOS 5 or RHEL 5. Enable "centosplus" repository in the /etc/yum.repos.d/CentOS-Base.repo. Download and install RPMforge distribution.
Install Apache and mod_perl:
...and also some CPAN module dependencies...
Install ncftpget, it's required by some CPAN modules. In case you don't use x86_64 look for an appropriate build.
RT Pre-Install: Security
Change rt:x:500 line in /etc/group to the rt:x:500:apache
Disable SELinux, change the SELINUX=enforcing or SELINUX=permissive line in /etc/selinux/config to SELINUX=disable
RT Pre-Install: Perl Modules
RT Install
Check, whether some required modules still missing and install them if needed.
Install RT.
Follow manual installation instruction from the step 5, there are a few some OS-independent step.
Apache configuration.
Append following lines to the /etc/httpd/conf.d/perl.confListen ip_of_the_rt.example.com:80
ServerName rt.example.com
ServerAdmin Email.Address@example.com
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
PerlRequire /opt/rt3/bin/webmux.pl
Order allow,deny
Allow from all
SetHandler perl-script
PerlResponseHandler RT::Mason
Enable Apache to start on boot.
linux,
perl,
rt
TrackBack URL for this entry: http://www.ptitov.net/mt/mt-tb.cgi/5
Perform a standard install of CentOS 5 or RHEL 5. Enable "centosplus" repository in the /etc/yum.repos.d/CentOS-Base.repo. Download and install RPMforge distribution.
Install Apache and mod_perl:
# yum install httpd httpd-devel apr-devel mysql-client mysql-devel mod_perl
...and also some CPAN module dependencies...
# yum install freetype-devel gd-devel libjpeg-devel libpng-devel xorg-x11-devel
Install ncftpget, it's required by some CPAN modules. In case you don't use x86_64 look for an appropriate build.
# rpm -i ftp://rpmfind.net/linux/EPEL/4AS/x86_64/ncftp-3.2.0-3.el4.x86_64.rpm
RT Pre-Install: Security
# groupadd rt
Change rt:x:500 line in /etc/group to the rt:x:500:apache
Disable SELinux, change the SELINUX=enforcing or SELINUX=permissive line in /etc/selinux/config to SELINUX=disable
# chmod -Rf 755 /etc/httpd/logs # reboot
RT Pre-Install: Perl Modules
# yum install perl-Apache-Session perl-Class-Container perl-Class-Data-Inheritable perl-Crypt-DES perl-Devel-StackTrace perl-Exception-Class perl-GD perl-GD-Graph perl-GD-Text-Util perl-Hook-LexWrap perl-HTML-Mason perl-HTTP-Server-Simple perl-HTTP-Server-Simple-Mason perl-IO-Socket perl-Net-SNMP perl-Params-Validate perl-Socket6 perl-XML-RSS perl-DBD-mysql # perl -MCPAN -e shell cpan> install Bundle::CPAN cpan> exit
RT Install
# wget http://download.bestpractical.com/pub/rt/release/rt.tar.gz # tar xzf rt.tar.gz # cd rt-*/ # ./configure --with-web-user=apache --with-web-group=apache --with-modperl2 --with-mysql # perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --install
Check, whether some required modules still missing and install them if needed.
# perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --verbose|grep MISSING
Install RT.
# make install
Follow manual installation instruction from the step 5, there are a few some OS-independent step.
Apache configuration.
Append following lines to the /etc/httpd/conf.d/perl.confListen ip_of_the_rt.example.com:80
ServerName rt.example.com
ServerAdmin Email.Address@example.com
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
PerlRequire /opt/rt3/bin/webmux.pl
Order allow,deny
Allow from all
SetHandler perl-script
PerlResponseHandler RT::Mason
Enable Apache to start on boot.
# chkconfig httpd on
Categories:
UNIXTags:
centos,linux,
perl,
rt
0 TrackBacks
Listed below are links to blogs that reference this entry: Request Tracker Installation on CentOS 5 / RHEL 5.TrackBack URL for this entry: http://www.ptitov.net/mt/mt-tb.cgi/5
Leave a comment
Sign in to comment on this entry.相关文章推荐
- rabbitvcs Installation on RHEL/CentOS 5
- Oracle Database 11g Release 2 Installation on RHEL/CentOS 6.x/5.x/4.x
- Spacewalk Installation Tutorial Step by Step On CentOS/RHEL/Fedora/Scientific Linux
- rabbitvcs Installation on RHEL/CentOS 5
- How to Install Tomcat 7.0.68 Server on CentOS/RHEL 7/6/5
- [转载]PHP 5.6 on CentOS/RHEL 7.0 and 6.6 via Yum
- Install LEMP (Linux, Nginx, MySQL 5.5.29, PHP 5.4.11) on RHEL/CentOS 5-6 & Fedora 18-12
- How to Install Apache OpenOffice on RHEL/CentOS
- Oracle 11gR2 RAC Installation On RHEL5.8 (64 Bit) !!!
- 配置 Squirrelmail/Roundcude Webmail Server 与 DNS, Postfix, Dovecot and MySQL on RHEL 6 /CentOS 6
- How To Install Speedtest-cli On a CentOS / RHEL / Scientific / Fedora Linux To Check Internet Speed
- Install Cacti (Network Monitoring) on RHEL/CentOS 7.x/6.x/5.x and Fedora 21-12
- IPMI on CentOS/RHEL
- getlab 5.2 on RHEL/Centos 6.4 with SCL / Software Collection outdated
- Install PostgreSQL 10 on CentOS 7 / RHEL 7
- PHP 5.4 on CentOS/RHEL 6.4 and 5.9 via Yum
- How to Setup NFS (Network File System) on RHEL/CentOS/Fedora and Debian/Ubuntu
- How to Setup DNS ( Bind ) Server on CentOS, RHEL 6
- MySQL 5.5 on CentOS/RHEL 6.7
- Install Tomcat 6 on CentOS or RHEL --转载