<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=RPMInstall</id>
	<title>RPMInstall - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rt-wiki.bestpractical.com/index.php?action=history&amp;feed=atom&amp;title=RPMInstall"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RPMInstall&amp;action=history"/>
	<updated>2026-08-22T02:35:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=RPMInstall&amp;diff=2883&amp;oldid=prev</id>
		<title>Admin: 3 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=RPMInstall&amp;diff=2883&amp;oldid=prev"/>
		<updated>2016-04-06T20:23:33Z</updated>

		<summary type="html">&lt;p&gt;3 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{OutdatedInstallGuide}}&lt;br /&gt;
&lt;br /&gt;
== RPM Install page ==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Current version-release&amp;#039;&amp;#039;&amp;#039;: &amp;#039;&amp;#039;&amp;#039;3.4.5-2&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Summary&amp;#039;&amp;#039;&amp;#039;: This aims to be the solution to an easy RPM install of RT on [http://www.redhat.com/software/rhel RHEL4]&amp;lt;code&amp;gt;/&amp;lt;/code&amp;gt;[http://centos.org/ CentOS4]. /(Although this packages have been reported to run under [http://fedora.redhat.com/ Fedora Core 4], seems that they have they own now see section bellow)/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Download&amp;#039;&amp;#039;&amp;#039;: http://campus.fct.unl.pt/paulomatos/rt/repository/&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Old releases&amp;#039;&amp;#039;&amp;#039;: rt-3.0.10-3 still available under 3.0.x directory.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;WARNING:&amp;#039;&amp;#039;&amp;#039; This packages were built on the assumption that [[SELinux]] is turned off (*Any help on make it support both modes would be great!!!*).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;RHN Subscribers&amp;#039;&amp;#039;&amp;#039; subscribing to the &amp;#039;&amp;#039;&amp;#039;RHEL AS (v. 4 for x86) Fastrack&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Red Hat Web Application Stack 1.0 Beta (for AS v. 4 x86)&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;RHEL AS (v. 4 for x86) Extras&amp;#039;&amp;#039;&amp;#039; channels solves many perl dependencies, including mod_perl 2.0 support required by RT.&lt;br /&gt;
&lt;br /&gt;
=== Package Description ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;rt&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
It was built with mysql and apache2/modperl2 (2.0.1), it has no patches at the moment, but might have to correct known problems, to see details, at any moment do:&lt;br /&gt;
&lt;br /&gt;
 rpm -qp --changelog rt-&amp;amp;lt;version&amp;amp;gt;-&amp;amp;lt;release&amp;amp;gt;.noarch.rpm&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;rt-mail-dispatcher&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note:&amp;#039;&amp;#039;&amp;#039; Don&amp;#039;t install this if you are using postfix, or any other non-sendmail MTA&lt;br /&gt;
&lt;br /&gt;
This is a setup for a RT mail dispatcher using sendmail and procmail. It is based on the assumption that you use one domain for all your RT queues, e.g. @rt.yourdomain.com.&lt;br /&gt;
&lt;br /&gt;
This allows you to setup queues in RT, using the following convention syntax:&lt;br /&gt;
&lt;br /&gt;
 correspondence address: queuename@rt.yourdomain.com&lt;br /&gt;
 comment address:        queuename-comment@rt.yourdomain.com&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
without having to reconfigure everytime your mail settings.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;postmaster&amp;#039; is reserved to be RFC822 compliant, and should be setup correctly, defaults to user postmaster. You can always change it to be a RT queue as well.&lt;br /&gt;
&lt;br /&gt;
=== Installation Notes ===&lt;br /&gt;
&lt;br /&gt;
==== With [yum http://linux.duke.edu/projects/yum/download.ptml] ====&lt;br /&gt;
&lt;br /&gt;
RT&amp;#039;s three step install procedure:&lt;br /&gt;
&lt;br /&gt;
1) Download the file: http://campus.fct.unl.pt/paulomatos/rt/repository/3.4.x/rt-3.4.x.repo&lt;br /&gt;
&lt;br /&gt;
2) Copy it to /etc/yum.repos.d/ or&lt;br /&gt;
&lt;br /&gt;
 cat rt-3.4.x.repo &amp;amp;gt;&amp;amp;gt; /etc/yum.conf&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 cd /etc/yum.repos.d/&lt;br /&gt;
 wget http://campus.fct.unl.pt/paulomatos/rt/repository/3.4.x/rt-3.4.x.repo&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
3) Then type, as &amp;#039;root&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
 yum install rt rt-mail-dispatcher&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
You&amp;#039;ll have rt installed in no time... then all you have to do is configure a few settings as the messages suggest.&lt;br /&gt;
&lt;br /&gt;
Note: Depending upon which Perl modules you had installed in the past, you may have to update before installing via yum. If a whole lot of dependency errors display when you run yum install, then type the following:&lt;br /&gt;
&lt;br /&gt;
 yum update&lt;br /&gt;
 yum install rt rt-mail-dispatcher&lt;br /&gt;
&lt;br /&gt;
==== Without yum ====&lt;br /&gt;
&lt;br /&gt;
Just download everything to a directory and do:&lt;br /&gt;
&lt;br /&gt;
 rpm -Uvh *.rpm&lt;br /&gt;
&lt;br /&gt;
=== Post Installation Notes ===&lt;br /&gt;
&lt;br /&gt;
A user pointed me out that he was in such a hurry to try it out he lost the messages that appeared after install. He also suggested I created a file with those messages inside. Meanwhile here they are:&lt;br /&gt;
&lt;br /&gt;
* rt&lt;br /&gt;
&lt;br /&gt;
 cp /etc/rt/RT_Config.pm /etc/rt/RT_SiteConfig.pm&lt;br /&gt;
 &lt;br /&gt;
 to generate an editable site config file.&lt;br /&gt;
 &lt;br /&gt;
 You must now configure RT by editing /etc/rt/RT_SiteConfig.pm and&lt;br /&gt;
 /etc/httpd/conf.d/rt.conf.&lt;br /&gt;
 &lt;br /&gt;
 (You will definitely need to set RT&amp;#039;s database password before continuing.&lt;br /&gt;
  Not doing so could be very dangerous)&lt;br /&gt;
 &lt;br /&gt;
 After that, you need to initialize RT&amp;#039;s database by running&lt;br /&gt;
 &lt;br /&gt;
 /usr/sbin/rt-setup-database --action init \&lt;br /&gt;
     --dba root --prompt-for-dba-password&lt;br /&gt;
 &lt;br /&gt;
 If something goes wrong you can always drop everything, by executing&lt;br /&gt;
 &lt;br /&gt;
 /usr/sbin/rt-setup-database --action drop \&lt;br /&gt;
     --dba root --prompt-for-dba-password&lt;br /&gt;
&lt;br /&gt;
* rt-mail-dispatcher&lt;br /&gt;
&lt;br /&gt;
 You must now configure somethings by editing /var/rt/home/.procmailrc,&lt;br /&gt;
 please read /usr/share/doc/rt-3.4.5/README.mail-dispatcher.&lt;br /&gt;
&lt;br /&gt;
=== Upgrading Notes ===&lt;br /&gt;
&lt;br /&gt;
 If you are upgrading, take a look at /usr/share/doc/rt-3.4.5/README, step 7 (the files&lt;br /&gt;
 are under /etc/rt/upgrade) and /usr/share/doc/rt-3.4.5/UPGRADING.&lt;br /&gt;
&lt;br /&gt;
=== To Do / Future directions ===&lt;br /&gt;
&lt;br /&gt;
* Integrate [[RT3StatisticsPackage]] as a RPM package and its dependencies;&lt;br /&gt;
* Provide a sample HTTPS configuration and the dependencies associated (&amp;#039;&amp;#039;&amp;#039;done&amp;#039;&amp;#039;&amp;#039;);&lt;br /&gt;
* Apply patches to solve current known and solved problems with RT;&lt;br /&gt;
* Update to new RT release when it&amp;#039;s out;&lt;br /&gt;
* Support RT on [[PostgreSQL]];&lt;br /&gt;
* Might be interesting to break out the CLI into a separate package so RT can be accessed from workstations.&lt;br /&gt;
&lt;br /&gt;
Although there are some interdependencies among this list there is in no particular order at the moment.&lt;br /&gt;
&lt;br /&gt;
=== Other RT RPM Packages ===&lt;br /&gt;
&lt;br /&gt;
Seems that as of [http://fedora.redhat.com/ Fedora Core 4], RT is now found in [http://fedoraproject.org/wiki/Extras Extras] see the repodata [http://fedoraproject.org/extras/4/i386/repodata/repoview/R.group.html here].&lt;br /&gt;
&lt;br /&gt;
=== Contact ===&lt;br /&gt;
&lt;br /&gt;
If you find some corrections on this page please drop me a note. [[PauloMatos]].&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
&lt;br /&gt;
Here is the place where you can post some extra notes /(feel free to contact [me [[PauloMatos]]])/.&lt;br /&gt;
&lt;br /&gt;
===== mod_perl 2.0 /(by KellyHickel)/ =====&lt;br /&gt;
&lt;br /&gt;
/(Note by [[PauloMatos]]: rt-3.4.x packaging provides mod_perl-2.0.1 built specifically to address this issue)/&lt;br /&gt;
&lt;br /&gt;
I wanted to get this up and running, and the only problem I had was that Centos 4 (among others) doesn&amp;#039;t have mod_perl 2.0 installed. This turns out ot be a fairly common issue, so I thought I&amp;#039;d add this to this guide. Note that I don&amp;#039;t have any idea if what I&amp;#039;m about to describe is a good idea, much less that it&amp;#039;s &amp;quot;The Right Way To Do Things&amp;quot;, but it seems to work.&lt;br /&gt;
&lt;br /&gt;
Fedora Core 4 does include mod_perl 2.0, so you may skip this part.&lt;br /&gt;
&lt;br /&gt;
Note that in the CPAN steps below, when given the option to skip tests, I said yes. Some of the tests seemed to fail, but if you skip them, things seem to work OK.&lt;br /&gt;
&lt;br /&gt;
Steps: You may have mod_perl 1.9x installed, so uninstall it with:&lt;br /&gt;
&lt;br /&gt;
 yum remove mod_perl&lt;br /&gt;
&lt;br /&gt;
Install httpd-devel (you need this to have apxs which you need to install mod_perl2):&lt;br /&gt;
&lt;br /&gt;
 yum install httpd-devel&lt;br /&gt;
&lt;br /&gt;
Install Bundle::Apache2&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Bundle::Apache2&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Install mod_perl2, when prompted for apxs, enter the path, it&amp;#039;s probably /usr/sbin/apxs:&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install mod_perl2&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Add mod_perl to you apache, edit /etc/httpd/conf/httpd.conf and add the line&lt;br /&gt;
&lt;br /&gt;
 LoadModule perl_module modules/mod_perl.so&lt;br /&gt;
&lt;br /&gt;
Restart apache&lt;br /&gt;
&lt;br /&gt;
 service httpd restart&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The first time I did the restart I got a message about no root specified in webmux.pl, but subsequent restarts didn&amp;#039;t have this problem.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve been using this RPM of RT3 fine on FC4 for months. I didn&amp;#039;t realize that RT is now [http://fedoraproject.org/extras/4/i386/repodata/repoview/R.group.html in Fedora Extras] until recently and do not know how compatible that packaging is with the packaging referenced here. - [[DaleBewley]]&lt;br /&gt;
&lt;br /&gt;
On a fresh [[CentOS4]] install, there was actually a yum dependency on perl-DBD-Pg that needed to be installed manually for some reason. You might want to describe where everything was installed too - /var/rt/html but /usr/local/rt for the &amp;#039;local&amp;#039; part isn&amp;#039;t the standard setup, is it? That aside, it was the smoothest RT install I&amp;#039;ve done, thanks! :-) [[HowardJones]]&lt;br /&gt;
&lt;br /&gt;
perl-DBD-Pg should only be needed if you are using [[PostgreSQL]]. I did not install the perl-DBD-Pg package and had no problems running RT on a fresh [[CentOS]] 4.3 using [[MySQL]]. Brazen &amp;#039;&amp;#039;&amp;#039;/(solved as of 3.4.5-2)/&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
After install, I get this error: No root path(s) specified at /usr/bin/webmux.pl (from apache) Stan (cent 4.3 clean install)&lt;br /&gt;
&lt;br /&gt;
change the ownership of /var/rt/mason_data/obj to fix this: chown -R apache.rt /var/rt/mason_data/obj/&lt;br /&gt;
&lt;br /&gt;
After install (centos 4.4 clean install), the /usr/sbin/rt-setup-database command fails with error: DBI connect(&amp;#039;;host=localhost&amp;#039;,&amp;#039;root&amp;#039;,...) failed: Can&amp;#039;t connect to local [[MySQL]] server through socket &amp;#039;/var/lib/mysql/mysql.sock&amp;#039; (2) at /usr/sbin/rt-setup-database line 152 Can&amp;#039;t connect to local [[MySQL]] server through socket &amp;#039;/var/lib/mysql/mysql.sock&amp;#039; (2) at /usr/sbin/rt-setup-database line 155, &amp;amp;lt;STDIN&amp;amp;gt; line 1. Database doesn&amp;#039;t appear to exist. Aborting database drop. at /usr/sbin/rt-setup-database line 156, &amp;amp;lt;STDIN&amp;amp;gt; line 1.&lt;br /&gt;
&lt;br /&gt;
You are not using the correct password for mysql if you get the above error&lt;br /&gt;
&lt;br /&gt;
If you have the DAG repo enabled on [[CentOS]], yum will fail on the DBD::Oracle Dependency. Brandon ([[CentOS]] 4.4)&lt;br /&gt;
&lt;br /&gt;
After install on [[CentOs]] 4.3 It gives this message when trying to start httpd:&lt;br /&gt;
&lt;br /&gt;
[Tue Feb 20 21:12:50 2007] [[error]] Could not create &amp;#039;/var/rt/mason_data/obj/.__obj_create_marker&amp;#039;: Permission denied\nStack:\n [/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Interp.pm:185]\n [/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/Interp.pm:155]\n [/usr/lib/perl5/site_perl/5.8.5/Class/Container.pm:319]\n [/usr/lib/perl5/site_perl/5.8.5/Class/Container.pm:53]\n [/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/[[ApacheHandler]].pm:624]\n [/usr/lib/rt/RT/Interface/Web/Handler.pm:183]\n [/usr/lib/rt/RT/Interface/Web/Handler.pm:147]\n [/usr/bin/webmux.pl:87]\nCompilation failed in require at (eval 2) line 1.\n [Tue Feb 20 21:12:50 2007] [[error]] Can&amp;#039;t load Perl file: /usr/bin/webmux.pl for server myhost.com:0, exiting...&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>