<?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=UbuntuInstallGuide2</id>
	<title>UbuntuInstallGuide2 - 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=UbuntuInstallGuide2"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide2&amp;action=history"/>
	<updated>2026-08-21T23:28:09Z</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=UbuntuInstallGuide2&amp;diff=4008&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=UbuntuInstallGuide2&amp;diff=4008&amp;oldid=prev"/>
		<updated>2016-04-06T20:39:36Z</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;
----&lt;br /&gt;
&lt;br /&gt;
= Howto Install Request-Tracker 3.6 (mysql) on Ubuntu Dapper Server 6.06 =&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
This Howto will explain how to install request-tracker on a clean Ubuntu Dapper Server install. It is tested on Ubuntu Dapper 6.06 and might work with slight modifications on other versions or Debian based distros.&lt;br /&gt;
&lt;br /&gt;
It also installs the additional services required for Request-Tracker, such as&lt;br /&gt;
&lt;br /&gt;
* Apache2 - Web Server&lt;br /&gt;
* Postfix - Email Server (for sending emails)&lt;br /&gt;
* Mysqld 5.0.22-- Database to Store the RT information.&lt;br /&gt;
&lt;br /&gt;
== Install the Request Tracker Packages ==&lt;br /&gt;
&lt;br /&gt;
=== Open a Root Login Shell ===&lt;br /&gt;
&lt;br /&gt;
Enter&lt;br /&gt;
&lt;br /&gt;
 sudo -i&lt;br /&gt;
&lt;br /&gt;
as member of the admin group to get a root-login shell.&lt;br /&gt;
&lt;br /&gt;
=== Enable Universe ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt; Enable universe in your apt &amp;#039;&amp;#039;sources.list&amp;#039;&amp;#039; &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/apt/sources.list /etc/apt/sources.list.orig&lt;br /&gt;
 vim /etc/apt/sources.list&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt; Uncomment universe sources, by removing the &amp;#039;&amp;#039;#&amp;#039;&amp;#039; from &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 deb http://us.archive.ubuntu.com/ubuntu/ dapper universe&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Update your apt package list&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
&lt;br /&gt;
=== Install the Packages ===&lt;br /&gt;
&lt;br /&gt;
 apt-get install rt3.6-apache2  (this will also take care of some prerequisites)&lt;br /&gt;
 &lt;br /&gt;
 apt-get install request-tracker3.6 rt3.6-clients apache2-doc postfix mysql-server lynx libdbd-pg-perl&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
* In the &amp;quot;Postfix Configuration&amp;quot; - I choose &amp;quot;Internet Site&amp;quot;, just because I prefer to have the system send emails without being dependent on a different mail server. The logic behind that is because if the email server goes down, the ticket server should NOT follow.&lt;br /&gt;
* You should see this message after the install is done...&lt;br /&gt;
&lt;br /&gt;
 Postfix is now set up with a default configuration. If you need to make&lt;br /&gt;
 changes, edit&lt;br /&gt;
   /etc/postfix/main.cf (and others) as needed. To view Postfix configuration&lt;br /&gt;
 values, see postconf(1).&lt;br /&gt;
 &lt;br /&gt;
 After modifying main.cf, be sure to run &amp;#039;/etc/init.d/postfix reload&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Configure Rt ===&lt;br /&gt;
&lt;br /&gt;
* Backup the RT config file. I like to do this for every conf file I modify&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/request-tracker3.6/RT_SiteConfig.pm /etc/request-tracker3.6/RT_SiteConfig.pm.orig&lt;br /&gt;
 vim /etc/request-tracker3.6/RT_SiteConfig.pm&lt;br /&gt;
&lt;br /&gt;
* Customize using the directions in the file.&lt;br /&gt;
&lt;br /&gt;
=== Create the Database ===&lt;br /&gt;
&lt;br /&gt;
I used the [[ConfigureMysqlOnGentoo]] guide as reference and had issues with the script my workaround was to create the database, create the user, drop the database and recreate the database and it worked fine.&lt;br /&gt;
&lt;br /&gt;
* Use script to create database (don’t worry about user error message we will fix this later)&lt;br /&gt;
&lt;br /&gt;
 /usr/sbin/rt-setup-database-3.6 --action init --dba root --prompt-for-dba-password&lt;br /&gt;
&lt;br /&gt;
* As root, login to [[MySQL]]&lt;br /&gt;
&lt;br /&gt;
 mysql -p&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
*Create user&lt;br /&gt;
&lt;br /&gt;
 CREATE USER rtuser IDENTIFIED BY &amp;#039;p4ssw0rd&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
* Grant access rights to rtuser&lt;br /&gt;
&lt;br /&gt;
 GRANT ALL PRIVILEGES ON rtdb.* TO &amp;#039;rtuser&amp;#039;@&amp;#039;localhost&amp;#039; IDENTIFIED BY &amp;#039;p4ssw0rd&amp;#039;;&lt;br /&gt;
 FLUSH PRIVILEGES;&lt;br /&gt;
 QUIT&lt;br /&gt;
&lt;br /&gt;
* Drop the database&lt;br /&gt;
&lt;br /&gt;
 mysqladmin drop rtdb -p&lt;br /&gt;
&lt;br /&gt;
* Recreate the database using the script (it should work this time)&lt;br /&gt;
&lt;br /&gt;
 /usr/sbin/rt-setup-database-3.6 --action init --dba root --prompt-for-dba-password&lt;br /&gt;
&lt;br /&gt;
=== Configure Apache2 ===&lt;br /&gt;
&lt;br /&gt;
==== Add the Virtual Host Config ====&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/apache2/sites-available/default /etc/apache2/sites-available/default.orig&lt;br /&gt;
 vim /etc/apache2/sites-available/default&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Add the following line to the [[VirtualHost]] section of Apache from which you wish to serve RT&lt;br /&gt;
&lt;br /&gt;
 Include &amp;quot;/etc/request-tracker3.6/apache2-modperl2.conf&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Enable Apache2 RewriteEngine ====&lt;br /&gt;
&lt;br /&gt;
 cd /etc/apache2/mods-enabled/&lt;br /&gt;
 ln -s ../mods-available/rewrite.load .&lt;br /&gt;
&lt;br /&gt;
==== Install Apache::Session ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt; Make sure that you update the &amp;#039;make&amp;#039;, &amp;#039;tar&amp;#039;, &amp;#039;unzip&amp;#039;, and &amp;#039;gzip&amp;#039; libraries in your distribution prior to installing &amp;#039;&amp;#039;Apache::Session&amp;#039;&amp;#039;: &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 apt-get install make tar gzip unzip&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Check&amp;#039;&amp;#039;&amp;#039; that Apache::Session is installed. If necessary, install (as root) with&lt;br /&gt;
&lt;br /&gt;
 cpan install Apache::Session&lt;br /&gt;
&lt;br /&gt;
==== Restart Apache ====&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 force-reload&lt;br /&gt;
&lt;br /&gt;
=== Test ===&lt;br /&gt;
&lt;br /&gt;
You can now login to:&lt;br /&gt;
&lt;br /&gt;
 http://yourdomain.com/rt&lt;br /&gt;
&lt;br /&gt;
using user root and password &amp;quot;password&amp;quot; (without quotation marks of course). Change this passwd ASAP via the Configuration menu.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>