SELAMAT DATANG DI BLOG INI

Kalender Hijriyah

Senin, 01 Februari 2010

Step to install RT on Centos 5


Step by step to install RT 3.8.7 On Centos 5:

1. Install httpd, mysql , mod_perl:
# yum install httpd httpd-devel apr-devel mysql-client mysql-devel mysql-server mod_perl
# service httpd start
# service mysqld start
# chkconfig httpd on
# chkconfig mysqld on

2. Install CPAN
# wget http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/CPAN-1.9402.tar.gz
# tar -xvf CPAN-1.9402.tar.gz
# cd CPAN*/
# perl Makefile.PL
# make
# make test
# make install
# perl -MCPAN -e 1

3. Install RT
# wget http://download.bestpractical.com/pub/rt/release/rt.tar.gz
# tar xzf rt.tar.gz
# cd rt*/
# env PERL=/usr/bin/perl ./configure
# make testdeps

install the necessary modules; run make fixdeps:

# make fixdeps
# make install
# make initialize-database

4. Configuring Apache

>>apache2 + mod_perl2 and RT on http://rt.example.com/

#vi /etc/httpd/conf/httpd.conf
# ip based virtual host
Listen 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

0 komentar:

Posting Komentar

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More