Request Tracker


Scope This document describes installation procedure for RT 3.6.5 2References



Yüklə 215,29 Kb.
səhifə2/9
tarix14.10.2017
ölçüsü215,29 Kb.
#5024
1   2   3   4   5   6   7   8   9

1Scope


This document describes installation procedure for RT 3.6.5

2References


http://wiki.bestpractical.com/view/RHEL4InstallGuide

3Installing RT

3.1Prerequisites


Ensure that you have a installation of CentOS 4.4 or Redhat EL 4 with following:

  • Apache Web Server 2.0.52

  • MySQL 4.1.20 (both these come with the CentOS 4.4)

If these are not installed then first install them

IMPORTANT: the 'selinux must be disabled' for RT to work properly



NOTE: this installation uses FastCGI instead of mod_perl. This is because RT 3.4.* onwards requires mod_perl 2.x versions and by default mod_perl 1.99 comes with CentOS 4.x and RHEL4. This creates run time issues so instead use FastCGI

3.2Installing webmin


Download and install webmin as (this helps starting, closing apache and mysql):

wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/w/we/webadmin/webmin-1.370-1.noarch.rpm

rpm –I webmin-1.370-1.noarch.rpm


3.3 Perl dependencies


Fulfil few dependencies that perl has. It can be done as:

yum install httpd-devel apr-devel mysql mysqlclient10 mysql-server mysql-devel gcc sendmail-cf

Most of these are already installed on the system by default. if any package is not installed then it is installed by above command installed packages can be checked by command yum list
*

Update few packages to latest versions as:



yum update freetype-devel gd-devel libjpeg-devel libpng-devel xorg-x11-devel

3.4 Installing FastCGI


wget http://www.fastcgi.com/dist/mod_fastcgi-2.4.2.tar.gz

tar -zxvf mod_fastcgi-2.4.2.tar.gz

cd mod_fastcgi-2.4.2

cp Makefile.AP2 Makefile

vi Makefile


Modify Makefile for location of apache 2 installation:

top_dir = /etc/httpd

make


make install

Create file FastCGI.conf

touch /etc/httpd/conf.d/FastCGI.conf

vi /etc/httpd/conf.d/FastCGI.conf



Add following lines to load FastCGI module (FastCGI.conf):

LoadModule fastcgi_module modules/mod_fastcgi.so

FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 -processes 8

FastCgiConfig -restart


FastCGI wants to have a place to put its logs, and permission to do so:

mkdir -p /etc/httpd/logs/fastcgi/dynamic

chown -R apache:apache /etc/httpd/logs/fastcgi


3.5 Starting MySQL


Turn on MySQL server using webmin. MySQL is located under 'servers' link in webmin.

Change root password as: (this is required in later stage when RT database is created)



mysqladmin -u root password rootpassword

3.6 Installing ncftpget


ncftpget is required to fulfil some dependencies so download and install it:

wget -c ftp://ftp.ncftp.com/ncftp/binaries/ncftp-3.2.1-linux-x86-glibc2.3-export.tar.gz

tar -xvzf ncftp-3.2.1-linux-x86-glibc2.3-export.tar.gz

cd ncftp-3.2.1

make install


3.7 RT pre-installation


RT requires its own group, so add it:

groupadd rt

RT gets initiated by apache, so add apache to the rt group:

vi /etc/group

Change the line:

rt:x:501:

To read:

rt:x:501:apache

Change permissions on /etc/httpd/logs

chmod -Rf 755 /etc/httpd/logs

3.8 Installing Perl Modules


These fulfill few important dependencies

wget http://dag.wieers.com/rpm/packages/perl-Apache-Session/perl-Apache-Session-1.80-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-Class-Container/perl-Class-Container-0.12-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-Class-Data-Inheritable/perl-Class-Data-Inheritable-0.04-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-Crypt-DES/perl-Crypt-DES-2.03-3.2.el4.rf.i386.rpm

wget http://dag.wieers.com/rpm/packages/perl-Devel-StackTrace/perl-Devel-StackTrace-1.12-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-Exception-Class/perl-Exception-Class-1.22-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-GD/perl-GD-2.30-2.2.el4.rf.i386.rpm

wget http://dag.wieers.com/rpm/packages/perl-GD-Graph/perl-GD-Graph-1.43-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-GD-Text-Util/perl-GD-Text-Util-0.86-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-Hook-LexWrap/perl-Hook-LexWrap-0.20-1.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-HTML-Mason/perl-HTML-Mason-1.32-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-HTTP-Server-Simple/perl-HTTP-Server-Simple-0.16-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-HTTP-Server-Simple-Mason/perl-HTTP-Server-Simple-Mason-0.09-1.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-IO-Socket-INET6/perl-IO-Socket-INET6-2.51-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-Net-SNMP/perl-Net-SNMP-5.0.1-1.2.el4.rf.noarch.rpm

wget http://dag.wieers.com/rpm/packages/perl-Params-Validate/perl-Params-Validate-0.78-1.2.el4.rf.i386.rpm

wget http://dag.wieers.com/rpm/packages/perl-Socket6/perl-Socket6-0.18-1.2.el4.rf.i386.rpm


Install all these modules using command rpm as:

rpm -i

Set up CPAN initially to download remaining perl modules

perl -MCPAN -e shell

From within CPAN download remaining perl modules.

cpan> install Bundle::CPAN

cpan> quit



Yüklə 215,29 Kb.

Dostları ilə paylaş:
1   2   3   4   5   6   7   8   9




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə