In the past many people have helped me get rt running on different boxes. I
just installed v3 on a couple fedora boxes via the following:
-
On a new fedora install you need to go into the apache portion and
select mod_perl (it is not selected by default) -
Go into the mysql section and select mysql server (not selected by
default) -
Once server install is done go into services and select httpd and mysqld
to start on boot up. -
At a shell set the mysql password via "mysqladmin -uroot password “new
password” (without quotes) -
Follow the RT docs and run perl sbin/rt-test-dependencies
–with-mysql --with-modperl2 --install. This will install everything
except WWW-Mechanize. -
Go back to cpan and install LWP .
-
Once done you can go into /root/.cpan and install WWW-Mechanize. (or mybe
just do it through cpan) -
Edit the RT Makefile so web user and group are set to “apache”, also set
the rt_user password -
At a shell add the rt group via “groupadd rt”
-
run make install, and make initialize-database
-
Copy over pertinent site info from RT_Config.pm to RT_SiteConfig.pm
-
Add the following virtualhost info:
ServerName your.rt.server.hostname
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
RedirectMatch permanent (.*)/$ http://myaddress.com$1/index.htmlthis line applies to Apache2+mod_perl2 only
PerlModule Apache2 Apache::compat
PerlModule Apache::DBI
SetHandler perl-script PerlHandler RT::Mason
PerlRequire /opt/rt3/bin/webmux.pl
This will satisfy all dependencies and configure apache 2.0.47 to give you
a working rt3 box.
Raymond