[rt-users] RT 3.0.6 on RedHat 9.0 RH9 installation steps

wdanielevans at cox.net wdanielevans at cox.net
Tue Oct 7 16:55:49 EDT 2003


This is very helpful, thanks.  
 
What changes to these steps would be needed if I am using FastCGI instead of
mod_perl and multiple virtual hosts?  Does RT support multiple instances
(virtual hosts) on the same box under FastCGI or mod_perl?
 
Thanks,
Dan

-----Original Message-----
From: rt-users-admin at lists.fsck.com [mailto:rt-users-admin at lists.fsck.com]
On Behalf Of Real Carbonneau
Sent: Tuesday, October 07, 2003 10:33 AM
To: rt-users at lists.fsck.com
Subject: [rt-users] RT 3.0.6 on RedHat 9.0 RH9 installation steps



Hi All:

 

//Please Provide any corrections

//Comments

//Maybe The rt-test-dependencies script (or it subsequent scripts) should
verify for DB_File.

//rt-test-dependencies install needs to be run a second time to pick up
Log::Dispatch, must be missing dependencies

//Still getting the Assertion flags == 0 failed: file "Storable.xs", line
2336.... but seems to go way after a while...  Is there a fix for this one?

//Any step inputs that ommited, ust the detaults

//Any step that includes a specific version number should probably be
changed to the most current version at the time of installation

 

Install RH9 (English, US English, Custom, Static IP, No Firewall,
ENglish(US), EST, Minimal)

 

cd /tmp/

wget
http://ftp.freshrpms.net/pub/freshrpms/redhat/9/apt/apt-0.5.5cnc6-fr1.i386.r
pm

rpm -U apt-0.5.5cnc6-fr1.i386.rpm

 

apt-get update

apt-get dist-upgrade

 

apt-get install gcc

apt-get install httpd

apt-get install mod_perl

apt-get install mysql

apt-get install mysql-server

apt-get install perl-CPAN

apt-get install db4-devel  //db4-devel required for DB_File

apt-get install ncftp  //for CPAN

apt-get install kernel#2.4.20-20.9

 

chkconfig --level 345 mysqld on

chkconfig --level 0126 mysqld off

 

chkconfig --level 345 httpd on

chkconfig --level 0126 httpd off

 

//Boot with new Kernel at boot or by changing /boot/grub/grub.conf

reboot

 

cd /tmp/

wget http://fsck.com/pub/rt/release/rt-3-0-6.tar.gz

tar -zxvf rt-3-0-6.tar.gz

cd rt-3-0-6

 

./configure --with-web-user=apache --with-web-group=apache  //RedHat 9.0
Defaults

 

export LANG=C; export LC_ALL=C  //To prevent some problems

perl -MCPAN -e shell  //Initialize and Configure

 

//The script would need additional checking/installation of DB_File

//Do this in "perl -MCPAN -e shell"

install DB_File

exit

 

perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --install

perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --install //Run
a second time to pick up Log::Dispatch, must be missing dependencies

perl sbin/rt-test-dependencies --with-mysql --with-modperl2  //Verification

 

groupadd rt

make install

make initialize-database

 

 

 

//Add the following to httpd.conf

<VirtualHost your.ip.address>

    ServerName your.rt.server.hostname

    DocumentRoot /opt/rt3/share/html

    AddDefaultCharset UTF-8

 

    # these four lines applies to Apache2+mod_perl2 only: {{{

    PerlSetVar MasonArgsMethod CGI

    PerlModule Apache2 Apache::compat

    RewriteEngine On

    RewriteRule ^(.*)/$ $1/index.html

    # }}}

 

    PerlModule Apache::DBI

    PerlRequire /opt/rt3/bin/webmux.pl

 

    <Location />

        SetHandler perl-script

        PerlHandler RT::Mason

    </Location>

</VirtualHost>

 

/etc/init.d/httpd restart

 

//Still have a storable issue.

error:  Assertion flags == 0 failed: file "Storable.xs", line 2336 at
../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al)
line 282.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20031007/53e6f546/attachment.htm>


More information about the rt-users mailing list