<?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=FedoraCore7InstallGuide</id>
	<title>FedoraCore7InstallGuide - 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=FedoraCore7InstallGuide"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=FedoraCore7InstallGuide&amp;action=history"/>
	<updated>2026-08-22T14:43:58Z</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=FedoraCore7InstallGuide&amp;diff=1304&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=FedoraCore7InstallGuide&amp;diff=1304&amp;oldid=prev"/>
		<updated>2016-04-06T20:09:04Z</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;
This is a guide on how to install the current &amp;quot;yum&amp;quot; version of RT 3.x on a Fedora Core 7 server using Sendmail as a mail server.&lt;br /&gt;
&lt;br /&gt;
Note: Specifics may differ from system to system. As of July 17 2007, the current version of RT installed via &amp;quot;yum install rt3&amp;quot; is rt3-3.6.3-1&lt;br /&gt;
&lt;br /&gt;
This installation procedure is being tested on a system with the following software already installed:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* Fedora Core 7&lt;br /&gt;
 * Apache2 httpd-2.2.4-4.1&lt;br /&gt;
 * MySQL 5.0.37-2&lt;br /&gt;
 * Perl 5.8.8-18&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Portions of this document were shamelesssly copied from the original [[ManualInstallation]] guide and the [[FedoraCore5InstallGuide]]. Thanks are due to the authors of those documents. This document is by no means close to being complete... as I learn what needs to be done, I&amp;#039;ll keep adding info until I have a working install :-)&lt;br /&gt;
&lt;br /&gt;
1. OS Installation&lt;br /&gt;
&lt;br /&gt;
Install Fedora Core 7 and install mysql and apache. Also, you will probably need to disable [[SELinux]], or visit that page for details on configuration. If you can access the database with the mysql command, but trying to view the RT page gets you a database error in error_log, [[SELinux]] may be the problem, see messages or audit.log for more information.&lt;br /&gt;
&lt;br /&gt;
It&amp;#039;s probably a good idea to update your installation with the latest patches:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* yum update&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure httpd and mysql services are running:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* service mysqld start&lt;br /&gt;
 * service httpd start&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: To start the httpd and mysqld service automatically at startup (after reboot):&lt;br /&gt;
&lt;br /&gt;
chkconfig httpd on&lt;br /&gt;
&lt;br /&gt;
chkconfig mysqld on&lt;br /&gt;
&lt;br /&gt;
2. RT Installation&lt;br /&gt;
&lt;br /&gt;
With the OS correctly installed and apache &amp;amp;amp; mysql running, we can now proceed with the RT stuff.&lt;br /&gt;
&lt;br /&gt;
A version of RT3 can be easily installed using Fedora&amp;#039;s &amp;quot;yum&amp;quot; installation utility:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* yum install rt3&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above command will prompt you for the installation of RT3, as well as any other required packages for RT3 which are not yet installed on your machine. After installation completes, all the necessary components for RT3 should now be present on your machine.&lt;br /&gt;
&lt;br /&gt;
2.1 Installation Locations&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* /etc/rt3 - RT3 configuration files&lt;br /&gt;
 * /etc/httpd/conf.d/rt3.conf - RT3 configuration file for apache&lt;br /&gt;
 * /usr/sbin/rt3-* - RT3 &amp;quot;helper&amp;quot; applications&lt;br /&gt;
 * /usr/share/doc/rt3 - documentation&lt;br /&gt;
 * /usr/share/rt3/html - installed files for RT3 to be accessed via the web interface&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.2. Fedora-specific configuration of RT3&lt;br /&gt;
&lt;br /&gt;
See the file /usr/share/doc/rt3-3.6.3/README.fedora for details of configuration of RT3 for FC7. Follow the instructions as indicated.&lt;br /&gt;
&lt;br /&gt;
2.3. Web server configuration&lt;br /&gt;
&lt;br /&gt;
Obviously, you need to set the DocumentRoot to /usr/share/rt3/html or symlink /var/www/html to /usr/share/rt3/html&lt;br /&gt;
&lt;br /&gt;
Use fcgid:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* yum install mod_fcgid&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Obtain perl-FCGI from http://dag.wieers.com/rpm/packages/perl-FCGI/ and install&lt;br /&gt;
&lt;br /&gt;
Add to /etc/httpd/conf.d/rt3.conf:&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;LoadModule fcgid_module mod_fcgid.so&lt;br /&gt;
 &lt;br /&gt;
 # Use FastCGI to process .fcg .fcgi &amp;amp;amp; .fpl scripts&lt;br /&gt;
 # Don&amp;#039;t do this if mod_fastcgi is present, as it will try to do the same thing&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;IfModule !mod_fastcgi.c&amp;amp;gt;&lt;br /&gt;
    AddHandler fcgid-script fcg fcgi fpl&lt;br /&gt;
 &amp;amp;lt;/IfModule&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 # Sane place to put sockets and shared memory file&lt;br /&gt;
 SocketPath run/mod_fcgid&lt;br /&gt;
 SharememPath run/fcgid_shm&lt;br /&gt;
 &lt;br /&gt;
 # Main instance&lt;br /&gt;
 Alias /rt/NoAuth/images/ /usr/share/rt3/html/NoAuth/images/&lt;br /&gt;
 ScriptAlias /rt /usr/sbin/mason_handler.fcgi&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt &amp;quot;/usr/share/rt3/html&amp;quot;&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
So far, I have been unable to make RT work with mod_fcgid&lt;br /&gt;
&lt;br /&gt;
Use mod_perl:&lt;br /&gt;
&lt;br /&gt;
* yum install perl-Apache-DBI&lt;br /&gt;
* yum install mod_perl&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
 LoadModule perl_module mod_perl.so&lt;br /&gt;
 &lt;br /&gt;
 Alias /rt &amp;quot;/usr/share/rt3/html&amp;quot;&lt;br /&gt;
 PerlModule Apache::DBI&lt;br /&gt;
 PerlRequire /usr/sbin/webmux.pl&lt;br /&gt;
 &amp;amp;lt;Directory /usr/share/rt3/html&amp;amp;gt;&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Options ExecCGI FollowSymLinks&lt;br /&gt;
   &amp;amp;lt;IfModule mod_access.c&amp;amp;gt;&lt;br /&gt;
     Order allow,deny&lt;br /&gt;
     Allow from all&lt;br /&gt;
   &amp;amp;lt;/IfModule&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;Location /rt&amp;amp;gt;&lt;br /&gt;
   RewriteEngine On&lt;br /&gt;
   RedirectMatch permanent (.*)/$ $1/index.html&lt;br /&gt;
   AddDefaultCharset UTF-8&lt;br /&gt;
   SetHandler perl-script&lt;br /&gt;
   PerlHandler RT::Mason&lt;br /&gt;
 &amp;amp;lt;/Location&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;VirtualHost your.ip.address&amp;amp;gt;&lt;br /&gt;
   ServerName your.rt.server.hostname&lt;br /&gt;
   DocumentRoot /usr/share/rt3/html&lt;br /&gt;
   AddDefaultCharset UTF-8&lt;br /&gt;
 &lt;br /&gt;
   PerlModule Apache2 Apache2::compat&lt;br /&gt;
 &lt;br /&gt;
   PerlModule Apache::DBI&lt;br /&gt;
   PerlRequire /usr/sbin/webmux.pl&lt;br /&gt;
 &lt;br /&gt;
   &amp;amp;lt;Location /&amp;amp;gt;&lt;br /&gt;
       SetHandler perl-script&lt;br /&gt;
       PerlHandler RT::Mason&lt;br /&gt;
   &amp;amp;lt;/Location&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/VirtualHost&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
NOTE: All relative paths refer to rt3/ This breaks all images and Javascript. I fixed by adding:&lt;br /&gt;
&lt;br /&gt;
 Alias /rt3 /usr/share/rt3/html/&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
to the VirtualHost for RT.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* /sbin/service httpd restart&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2.4. Database configuration&lt;br /&gt;
&lt;br /&gt;
From /usr/share/doc/rt3-3.6.3/README.fedora:&lt;br /&gt;
&lt;br /&gt;
Edit /etc/rt3/RT_SiteConfig.pm to meet your site needs.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* mysqladmin -u root password &amp;amp;lt;mysql-root-password&amp;amp;gt;&lt;br /&gt;
 * /usr/sbin/rt-setup-database --action init --prompt-for-dba-password&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
NOTE: My database is on a separate server, and /usr/sbin/rt-setup-database wasn&amp;#039;t working for me. At the mysql&amp;amp;gt; prompt, run:&lt;br /&gt;
&lt;br /&gt;
 GRANT ALL ON *.* to &amp;#039;root&amp;#039;@&amp;#039;ip.of.rt3.host&amp;#039; IDENTIFIED BY &amp;#039;&amp;amp;lt;PASSWORD&amp;amp;gt;&amp;#039; WITH GRANT OPTION&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
2.5. Helpful utilitilies&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* /usr/sbin/rt-crontool&lt;br /&gt;
 * /usr/sbin/rt-dump-database&lt;br /&gt;
 * /usr/sbin/rt-mailgate&lt;br /&gt;
 * /usr/sbin/rt-setup-database&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Setting up RT to talk to your mail gateway&lt;br /&gt;
&lt;br /&gt;
3.1. Documentation for setting up the mail gateway can be found by typing:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* man rt-mailgate&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3.2. You need to tell your Mail Transfer Agent (ex. sendmail, postfix, or qmail) how to forward messages to RT&amp;#039;s mail gateway. To do this, create an aliases in your system&amp;#039;s mail aliases file. Here&amp;#039;s an example, which routes mail to the mailbox [=rt@example.com] (and [=rt-comment@example.com]) into new tickets in the RT queue named General. Note that the queue name is case-insensitive.&lt;br /&gt;
&lt;br /&gt;
Add the following lines to /etc/aliases (or your local equivalent such as /etc/mail/aliases):&lt;br /&gt;
&lt;br /&gt;
rt: &amp;quot;|/usr/sbin/rt-mailgate --queue &amp;#039;general&amp;#039; --action correspond --url http://localhost/&amp;quot; rt-comment: &amp;quot;|/usr/sbin/rt-mailgate --queue &amp;#039;general&amp;#039; --action comment --url http://localhost/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
NOTES: When you add each line above they should be all one line; make sure you include the quotes. Replace general with the name of your queue and rt with the email address you wish people to send their messages to. You might, for example, have messages to support go into the service queue, and abuse go into the ops queue. You can have more than one set of aliases point to the same queue, if, for example, you wanted mail to both abuse and security both go to the ops queue.&lt;br /&gt;
&lt;br /&gt;
The queue name may have spaces. rt-mailgate works as well with them, do not forget to escape these spaces by enclosing the queue name in single quote:&lt;br /&gt;
&lt;br /&gt;
my-queue: &amp;quot;|/usr/sbin/rt-mailgate --queue &amp;#039;My Queue&amp;#039; --action correspond --url http://localhost/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you are using the default sendmail you may need need to cp rt-mailgate to /etc/smrsh or create a symbolic link and change /usr/sbin above to /etc/smrsh or sendmail will complain. These sendmail&amp;#039;s will only execute programs as alias targets which have been blessed by placing them in a special directory.&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;ll choose from &amp;quot;--action correspond&amp;quot; and &amp;quot;--action comment&amp;quot; depending on whether the mail should be resent to the requestor. If you want the requestor to see it, choose correspond; if you want to keep it from the requestor, choose comment. The URL will be the URL for RT&amp;#039;s web interface; whatever is the root of your RT install.&lt;br /&gt;
&lt;br /&gt;
(If you&amp;#039;re using sendmail be sure to install the sendmail-cf package to facilitate the changes that follow. You may find your installation defaults to not accepting external mail. If this is the case, to accept mail from other sources you need to remove the loopback restriction directive from the sendmail configuation. To do this, modify the following in sendmail.mc:&lt;br /&gt;
&lt;br /&gt;
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA&amp;#039;)dnl&lt;br /&gt;
&lt;br /&gt;
and remove the localhost restriction:&lt;br /&gt;
&lt;br /&gt;
DAEMON_OPTIONS(`Port=smtp, Name=MTA&amp;#039;)dnl&lt;br /&gt;
&lt;br /&gt;
The update the sendmail.cf file with make:&lt;br /&gt;
&lt;br /&gt;
make -C /etc/mail&lt;br /&gt;
&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
3.3. Stop and start your mail server, so it picks up your configuration changes. (Postfix just requires you execute `newaliases`, probably via sudo.)&lt;br /&gt;
&lt;br /&gt;
3.4. Change the password. The default root password for the web interface is password, as installed. Changing this should be the first thing you do after installation.&lt;br /&gt;
&lt;br /&gt;
Until you configure RT, RT will not be able to send or receive email, nor will it be more than marginally functional. This is not an optional step. RT has many configuration options, and you should read Chapter 4: Adminning RT for a broader view, but here&amp;#039;s a quick guide to things you should probably look at.&lt;br /&gt;
&lt;br /&gt;
4. Creating users&lt;br /&gt;
&lt;br /&gt;
In its default configuration, RT uses an internal users database to keep track of who can access RT and who has which rights within the system. One of your first tasks should be to create users for anyone who will need to work with tickets within RT.&lt;br /&gt;
&lt;br /&gt;
click Configuration -&amp;amp;gt; click Users -&amp;amp;gt; click New user&lt;br /&gt;
&lt;br /&gt;
For more details, see &amp;#039;Users: Creating a user&amp;#039; in [[ManualAdministration]].&lt;br /&gt;
&lt;br /&gt;
5. Granting User Rights&lt;br /&gt;
&lt;br /&gt;
RT provides a rich access control system that allows rights to be granted to groups, individual users and users in specific roles.&lt;br /&gt;
&lt;br /&gt;
To allow arbitrary remote users to submit tickets into a given queue by email, grant the system group Everyone the rights See Queue, Create Ticket, Reply To Ticket, and Comment On Ticket for that queue.&lt;br /&gt;
&lt;br /&gt;
If you intend to let ticket requestors use the requestor-mode web interface, you should grant the role of Requestor the right Show Ticket.&lt;br /&gt;
&lt;br /&gt;
To make sure your staff can work with tickets, you should grant them all the following additional rights:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* !ShowTicket&lt;br /&gt;
 * !ShowTicketComments&lt;br /&gt;
 * Watch&lt;br /&gt;
 * !WatchAsAdminCc&lt;br /&gt;
 * !OwnTicket&lt;br /&gt;
 * !ModifyTicket&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more details, see Users: Granting user rights in [[ManualAdministration]].&lt;br /&gt;
&lt;br /&gt;
6. Creating queues&lt;br /&gt;
&lt;br /&gt;
By default, RT has one queue called &amp;#039;general&amp;#039;. You might want to change the values for this.&lt;br /&gt;
&lt;br /&gt;
click Configuration -&amp;amp;gt; click Queues -&amp;amp;gt; click general&lt;br /&gt;
&lt;br /&gt;
To create a new queue:&lt;br /&gt;
&lt;br /&gt;
click Configuration -&amp;amp;gt; click Queues -&amp;amp;gt; click New queue&lt;br /&gt;
&lt;br /&gt;
For more details, see Queues in [[ManualAdministration]]. 7. Setting up scrips&lt;br /&gt;
&lt;br /&gt;
The default global Scrips installed with RT 3 are:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;* On Create, Autoreply to Requestors with Global Template: Autoreply&lt;br /&gt;
 * On Create, Notify AdminCcs with Global Template: Transaction&lt;br /&gt;
 * On Correspond, Notify AdminCcs with Global Template: Admin Correspondence&lt;br /&gt;
 * On Correspond, Notify Requestors and Ccs with Global Template: Correspondence&lt;br /&gt;
 * On Correspond, Notify Other Recipients with Global Template: Correspondence&lt;br /&gt;
 * On Comment, Notify AdminCcs as Comment with Global Template: Admin Comment&lt;br /&gt;
 * On Comment, Notify Other Recipients as Comment with Global Template: Correspondence&lt;br /&gt;
 * On Resolve, Notify Requestors with Global Template: Resolved&lt;br /&gt;
 * On Correspond, Open Ticket with Global Template: Blank (this scrip replaces old built-in behavior that would automatically open tickets if privileged users replied to a new ticket or if anyone replied to a stalled or closed ticket.)&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For more details, see Scrips in [[ManualAdministration]] and [[ManualScrips]].&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>