[rt-users] my contribution

Raymond Norton admin at lctn.org
Tue Dec 9 10:45:32 EST 2003


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:

1)  On a new fedora install you need to go into the apache portion and
select mod_perl (it is not selected by default)

2) Go into the mysql section and select mysql server (not selected by
default)

3) Once server install is done go into services and select httpd and mysqld
to start on boot up.

4) At a shell set the mysql password via "mysqladmin -uroot password "new
password" (without quotes)

2)    Follow the RT docs and run perl sbin/rt-test-dependencies \
		--with-mysql --with-modperl2 --install. This will install everything
except WWW-Mechanize.

3) Go back to cpan and install LWP  .

4) Once done you can go into /root/.cpan and install WWW-Mechanize. (or mybe
just do it through cpan)

5) Edit the RT Makefile so web user and group are set to "apache", also set
the rt_user password

6)    At a shell add the rt group via "groupadd rt"

7)  run make install, and make initialize-database

8) Copy over pertinent site info from RT_Config.pm to RT_SiteConfig.pm

5) Add the following virtualhost info:
<VirtualHost your.ip.address>
    ServerName your.rt.server.hostname
    DocumentRoot /opt/rt3/share/html
    AddDefaultCharset UTF-8
    RedirectMatch permanent (.*)/$ http://myaddress.com$1/index.html


    # this line applies to Apache2+mod_perl2 only
    PerlModule Apache2 Apache::compat

    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl

    <Location />
        SetHandler perl-script
        PerlHandler RT::Mason
    </Location>
</VirtualHost>


This will satisfy all dependencies and configure apache 2.0.47 to  give you
a working rt3 box.



Raymond







More information about the rt-users mailing list