Index of /rt3

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[DIR]RPMS/18-Nov-2007 23:10 -
[   ]fileset29-Nov-2007 09:55 677
[TXT]mod_perl-startup.pl01-Dec-2007 18:38 888
[   ]RPM-GPG-KEY-mpryor18-Nov-2007 23:09 1.3K
[   ]rt3dep.sh10-Dec-2007 11:29 2.8K
[TXT]rt_history18-Nov-2007 23:09 1.9K
[TXT]sm_make.sh.txt02-Dec-2007 17:28 960
[   ]testdeps18-Nov-2007 23:09 2.4K

An RPM Install of RequestTracker for CentOS 5.x

Latest News
----------
	Oct 8, 2008
	perl-DBD-MySQL 4.0.0.7 from rpmforge or CPAN has known issues. While most of
	you won't need to update this driver, if you do, stick with 4.0.0.5 or lower.

	August 24, 2008
	There is a recent announcement that perl-5.8.8-10, packaged in C5.2, has a bless/overload bug
	that slows down (by x100 or more) any OO code, like RequestTracker.
	I've been testing the perl SRPM from fc8 with good results. I don't plan to 
	post this to my repo, but it appears to be a good short-term fix before upstream
	provides an improved perl. See here for an SRPM
	ftp://download.fedora.redhat.com/pub/fedora/linux/updates/8/SRPMS/perl-5.8.8-40.fc8.src.rpm

	The big question about this bless/overload bug is why doesn't RedHat benchmark
	perl script, especially when they are doing custom modifications to the source? I'm constantly
	doing things like this:
 	#perl -MCPAN -e 'test Math::BigInt'

	With the bless/overload bug fixed, the above test runs 6 seconds faster in i386. This must be
	because the test harness is full of <Class::> OO idioms.

	July 14, 2008 BP releases rt-3.8.0
	I have no plans to package/test this for C5.

	January 22, BP has released rt-3.6.6
	The new release requires DBIx::SearchBuilder 1.50, or higher.
	BP has suggested that this version requires MySQL 5.0.45 or higher or it will suffer 
	slow performance. Since C5.1 has MySQL at 5.0.22, it seems that we are better off
	staying with 3.6.5 for now.

	Our current version of rt3 is 3.6.5.
	As of 10-9-2007 my C5 YUM repo is up.

	I won't tell you that installing rt3 is easy, but if you are on C5+ and want to start
	your install right by avoiding perl dependency hell, you are in the right place.
	Using methods from this page you will have a complete fileset for an rt3 install. After
	installing the RPM's you will need to finish the install yourself with some CLI work. 
	Be sure to read the docs in the rt3 RPM, check the BP wiki, and see MyNotes, below.
	
About
-------
	RequestTracker is packaged for FC6. Until our effort, there was no known RPM for C5.
	Since CentOS 5 originates from FC6 sources, it should be possible to
	rebuild the FC6 SRPM as EL5. Once you have setup the LAMP stack for C5, 
	there remains about 20 more packages needed for rt3. Our goal is to install
	rt3 and leave untouched the C5 base perl/apache packages (like perl-DBI) without
	any use of CPAN -- this is a complete RPM solution.

	Our rt3 RPM will default to MySQL5/mod_perl2 and the rt-mailgate is
	included. IOW, there is no separate RPM for rt-mailgate!	 
	
	This index contains the essential rebuilt RPM's. These needed
	to be rebuilt since none were available from C5 repositories.
	
	The rest of the packages can be had with YUM, for example:
	#yum install perl-Time-modules  (contains Time::ParseDate)

	If you install from source (as recommended by BestPractical.com) you can easily
	drown in a sea of missing perl modules and if you don't watch out you can clobber some
	of your base perl packages, risking damage to the whole C5 install. Our method will
	avoid such headaches. When you are done you can verify your RPM database is undamaged with
	$rpm -V perl-*  (run as user and you should get no output)

Prereq
------
	Clean install of CentOS 5 with the LAMP stack. 
	I added the perl-XML-SAX package. If you don't, you
	will need perl-libwww-perl
	Add the rpmforge repo to YUM:
	  http://wiki.centos.org/Repositories/RPMForge
LAMP
----
	The LAMP stack is installed as easy as follows:
	#yum groupinstall "Web Server" "MySQL Database" --exclude=tux
	#yum install php-mysql

mod_perl
--------
	AFAIK, no RHEL or any of its clones includes a MP2 startup.pl script. I indexed one above
	from OpenSuSE [10.2]. I also want to warn anyone trying to run multiple MP2 based
	LAMP apps that there may be interactions between several startup.pl type scripts. If
	rt3 is the only MP2 app on your server then nevermind this. 
	
	rt3 has its own startup.pl type script,doing a PerlRequire on
		/usr/sbin/webmux.pl

	You can see the above by doing
	#cat /etc/httpd/conf.d/rt3.conf

Install
-------
	First, download the list of all files (./fileset). Then
	use the [-i] flag to grab all files in the list.
	$mkdir rt3
	$cd ./rt3
	$wget http://www.tlviewer.org/rt3/fileset
	$wget -i fileset
	
	As of August 12, 2007 the packages are signed with my GPG key
	which you import by doing
	#rpm --import RPM-GPG-KEY-mpryor

	Now do a YUM localinstall of the RPM's.
	#yum -y localinstall *.rpm

Mailgate
-------
	For a plain vanilla setup using SendMail, I use the script, sm_make.sh, for rebuilding
	the Mail Configs and resetting the SendMail daemon.

My Notes
--------
	Using these RPM's I have a working install using SendMail. I can send an email, a ticket
	will be created, and a response is mailed back.
	I have tested on i386 and x86_64 systems.

	For a typical CLI history file of an rt3 install session after a fresh C5 install, see rt_history.

	If you are thinking to move forward to rt 3.6.4, only a handful of packages remain to
	satisfy #make testdeps

	#yum install perl-XML-RSS
	#yum install perl-Text-WikiFormat
	#yum install perl-Text-Quoted perl-Text-Autoformat
	#make testdeps

	See my mod_perl section above.
	
More Info
----------
	http://lists.centos.org
	http://wiki.bestpractical.com/
	http://bestpractical.com/rt/lists.html  (rt3 user forum)	
	http://download.fedora.redhat.com/pub/fedora/linux/extras/6/SRPMS/repoview/rt3.html
	http://wiki.centos.org/Repositories/RPMForge

Date
-----
July 27, 2007 

Contact
------
Report problems or success to me (msp):