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

Re: Ticketing systems



Thanks a million, Emmanuel. I took another stab at it and made significant
headway.  At the moment I'm gotten as far as 'make initialize-database' and
am now adjusting ~rt/rt3/etc/RT_SiteConfig.pm and adding details to your
instructions. Below are my notes interlaced with your help.

// George

On Thu, Dec 11, 2003 at 09:43:53AM +0100, Emmanuel Lacour wrote:
>On Wed, Dec 10, 2003 at 04:11:17PM -0500, George Georgalis wrote:
>> yeah, I never worked out RT on woody. (did cause some problems on a test box,
>> broke apt-get when I overwrote the perl debs with a source build).
>> 
>> scp goodhost:/usr/bin/perl* /usr/bin/
>> 
>> fixed it. Would really like to see a howto, too, even though everything seems
>> in the RT docs...
>> 
>
>Are you ready???
>
>



Install apache, fastcgi, mysql ... from woody.

libcgi-fast-perl libfcgi-perl 
perl-suid
libmysqlclitn10-dev


deb http://www.backports.org/debian stable mysql-dfsg

http://www.bestpractical.com/rt/draftmanual.pdf

Adduser rt

su - rt

Get perl 5.8.x as a tarball

wget -N http://perl.com/CPAN/src/stable.tar.gz

untar

build and install in /home/rt/perl

rm -f config.sh Policy.sh \
	&& sh Configure -de -Dprefix=$HOME/perl \
	&& make \
	&& make test \
	&& make install

make sure PATH for rt is /home/rt/perl/bin:$PATH


wget -N http://download.bestpractical.com/pub/rt/release/rt.tar.gz

uncompress rt3.x in /home/rt/rt-3.x

cd into it

run the configure

./configure --prefix=$HOME/rt3 --with-my-user-group
then fix Makefile
PERL                    =       /usr/home/rt/perl/bin/perl5.8.2

rt@run:~/src/rt-3-0-7_01$ perl sbin/rt-test-dependencies --with-mysql --with-fastcgi

run perl -MCPAN -e shell and configure the default options asked

CPAN build and cache directory? [/usr/home/rt/.cpan] /usr/home/rt/src/cpan
Parameters for the 'make install' command? UNINST=1



run the test for perl modules with --install from rt

rt@run:~/src/rt-3-0-7_01$ perl sbin/rt-test-dependencies --with-mysql
--with-fastcgi --install

it will install almost all modules needed, for just somes you will have
to install the corrects header from woody (libmysqlclitn10-dev for
example) and for some you will need to go into /home/rt/.cpan/build to
make it yourself



rt@run:~/src/rt-3-0-7_01$ perl -MCPAN -e 'install DBD::mysql'

rt@run:~/src/rt-3-0-7_01$ make install
rt@run:~/src/rt-3-0-7_01$ make initialize-database



configure your apache for fastcgi:

  LoadModule fastcgi_module /usr/lib/apache/1.3/mod_fastcgi.so
  In your vhost:

  ScriptAlias /rt /home/rt/rt/bin/mason_handler.fcgi/
  FastCgiServer /home/rt/rt/bin/mason_handler.fcgi
  Alias /NoAuth/images/ /home/rt/rt/share/html/NoAuth/images/
  <Location /rt>
  	AddDefaultCharset UTF-8
	SetHandler fastcgi-script
  </Location>



That's a quick howto because I need to go to work;)

This is the only one method I've found to keep my woody box in a good
state. It just need to maintain perl for security fixes...But building
perl 5.8 as a package for woody would need a lot of time...



If I can help you...

-- 
Emmanuel Lacour ------------------------------------ Easter-eggs
44-46 rue de l'Ouest  -  75014 Paris   -   France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -     Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com   -    http://www.easter-eggs.com


-- 
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


-- 
GEORGE GEORGALIS, System Admin/Architect    cell: 646-331-2027    <IXOYE><
Security Services, Web, Mail,            mailto:george@galis.org 
Multimedia, DB, DNS and Metrics.       http://www.galis.org/george 



Reply to: