[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Can I install RT ? Update Perl? Update PostgresQL?



<snip>
Andy I have some important questions for you or anyone with answers. I
am having a hard time getting RT going. I installed the MySQL package
so that was no problem, but I'm have configuration issues. I'm letting
this go to the list as well because it seems that the way a RaQ is
configured will create some of these problems from time to time.

0. Which version of RT did you install? I'm trying to get RT 2.0.13
set up on a RaQ XTR and I'm curious if there have been dramatic
changes in RT or if the XTR is dramaticaaly different in its
configuration.
</snip>

Version we're using here is 2.0.9 and its on a Raq4i, although the raq version shouldn't dramatically change the configuration (hopefully!)

<snip>
1. How did you add the needed modules to your Perl set? I wound up
with two versions by accident yesterday 5.6.1 and 5.00503. While I'd
like to use the current version it doesn't really matter since both
should work. I would really like to have a current version of Perl
</snip>

Sounds like when you used CPAN it asked you if you wanted to upgrade PERL, and you answered yes?? I answered no, and let it add the packages to my perl 5.00503
I'd be cautious about changing perl too dramatically, as the UI uses it, so make sure when you recompile perl (I'd recommend not just letting cpan get down to it) you use the same include paths as Cobalt. To find them out, locate the old perl binary and call it with
/usr/bin/perl -V

and it should give you version, and compile information.


<snip>
2. The current install calls for mod_perl or FastCGI. Is it possible
to install mod_perl. I could not find it.
</snip>

You should find that your system has mod_perl already compiled into apache.
Do:
/usr/sbin/httpd -l
and it will list compiled modules, mine returned with:
http_core.c
mod_so.c
mod_perl.c
suexec: enabled; valid wrapper /usr/sbin/suexec

Just check that part, if its not compiled you'll need to compile the library and add in the loadmodule statement into apache to bring it in. Hopefully its already there though ;)


<snip>
3. One of the options was to install rt in its own virtual domain,
e.g. http://rt.domain.com. I'm trying to do this. I installed RT
itself in /opt/rt2 which makes the DocumentRoot
/opt/rt2/WebRT/html. The server still brings up the page from
/home/sites/site3/web. How can I have a program's web site still be
found when its not in the default space. Is a symlink sufficient?
</snip>

Force the b$$$$y raq's apache configuration to point to the right place ;) After doing this though you won't be able to use the web-based interface to add/remove the v-site.
I setup RT in /home/rt2 (I'd recommend moving yours from /opt as the / filesystem is quite full already)
Then into Apache I put in:

<VirtualHost 22.22.22.22>
ServerName rt2.yourdomain.com
ServerAdmin admin
DocumentRoot /home/rt2/WebRT/html/
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^193.195.161.67(:80)?$
RewriteCond %{HTTP_HOST}                !^tickets.interv8.co.uk(:80)?$
RewriteRule ^/(.*)                      http://rt2.yourdomain.com/$1 [L,R]
RewriteOptions inherit
PerlModule Apache::DBI
PerlRequire /home/rt2/bin/webmux.pl
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler server-parsed .shtml
AddType    text/html     .shtml
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
<Location />
        SetHandler perl-script
        PerlHandler RT::Mason
</Location>
</VirtualHost>


<snip>
4. Since, a serverappliance is a preconfigured web server, is it
possible to add features. There is a lot that can be incorporated in an Apache web server. Up to now I've just been going with the assumption that its in there. Now I'm apparently missing something.
</snip>

You can do some modification to apache on the RaQ's so long as you dont interfere too much with the httpd.conf file! Like adding in modules or aliases is fine, the perl/cgi admin scripts are reasonably well-behaved when it comes down to not touching things it doesn't know about!

My long-running procedure for altering is
1> If its upgrading a package, find the original binaries and MAKE A COPY
2> Copy configuration files to a backup whenever you make a change, and again after the change is in place and WORKING. Reason is that the web interface will sometimes try to 'correct' your changes by wiping them out ;)


Hopefully that'll get you RT'ing soon!

Regards,
Andy
andy@xxxxxxxxxxxxxxxxxxxxx

http://www.raqpak.com/  <-- Unofficial PKGs, Support, FAQs for RaQ and Qube products