<?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=UbuntuInstallGuide</id>
	<title>UbuntuInstallGuide - 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=UbuntuInstallGuide"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide&amp;action=history"/>
	<updated>2026-08-22T11:47: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=UbuntuInstallGuide&amp;diff=4004&amp;oldid=prev</id>
		<title>Admin: 8 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide&amp;diff=4004&amp;oldid=prev"/>
		<updated>2016-04-06T20:39:35Z</updated>

		<summary type="html">&lt;p&gt;8 revisions imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:39, 6 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-4003:rev-4004 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide&amp;diff=4003&amp;oldid=prev</id>
		<title>202.90.158.7: /* Overview */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide&amp;diff=4003&amp;oldid=prev"/>
		<updated>2013-04-22T03:33:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Overview&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:33, 21 April 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Overview ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Overview ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Howto &lt;/del&gt;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;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;How to &lt;/ins&gt;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;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It also installs &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the walang mangingielam &lt;/del&gt;required for Request-Tracker, such as&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It also installs &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;theadditional services &lt;/ins&gt;required for Request-Tracker, such as&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Apache2 - Web Server&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Apache2 - Web Server&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-4002:rev-4003:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>202.90.158.7</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide&amp;diff=4002&amp;oldid=prev</id>
		<title>202.90.158.7: /* Overview */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide&amp;diff=4002&amp;oldid=prev"/>
		<updated>2013-04-22T03:32:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Overview&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:32, 21 April 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&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;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It also installs the &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;additional services &lt;/del&gt;required for Request-Tracker, such as&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It also installs the &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;walang mangingielam &lt;/ins&gt;required for Request-Tracker, such as&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Apache2 - Web Server&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Apache2 - Web Server&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-4001:rev-4002:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>202.90.158.7</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide&amp;diff=4001&amp;oldid=prev</id>
		<title>196.24.44.6: /* Configure Apache2 */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide&amp;diff=4001&amp;oldid=prev"/>
		<updated>2013-04-16T12:08:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Configure Apache2&lt;/span&gt;&lt;/span&gt;&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;
= Howto Install Request-Tracker 3.4 on Ubuntu Dapper Server 6.06 =&lt;br /&gt;
&lt;br /&gt;
aka [[HowTo]] Install Ubuntu, Request-Tracker, Apache2, [[PostgreSql]], Postfix&lt;br /&gt;
&lt;br /&gt;
 http://howtoforums.net/viewtopic.php?t=48&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;quot;RT is an enterprise-grade ticketing system which enables a group of people to intelligently and efficiently manage tasks, issues, and requests submitted by a community of users.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 http://bestpractical.com/rt/&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;
* [[PostgreSql]]-7.4 - 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 request-tracker3.4 rt3.4-apache2 rt3.4-clients apache2-doc postfix postgresql postgresql-doc-7.4 lynx libdbd-pg-perl&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
You may see the following warnings during the installation&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;
* You will also see this: Configuring postgresql-common&lt;br /&gt;
&lt;br /&gt;
 Obsolete major version 7.4&lt;br /&gt;
 &lt;br /&gt;
 The PostgreSQL version 7.4 is obsolete, but you still have the server and/or client package installed.&lt;br /&gt;
 Please install the latest packages (postgresql-8.1 and postgresql-client-8.1) and upgrade your existing&lt;br /&gt;
 clusters with&lt;br /&gt;
   pg_upgradecluster (see manpage).&lt;br /&gt;
 &lt;br /&gt;
 Please be aware that the installation of postgresql..................&lt;br /&gt;
 The old server and client..................&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Do not worry about it, just click OK, as RT3.4 is certified with 7.4.&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.4/RT_SiteConfig.pm /etc/request-tracker3.4/RT_SiteConfig.pm.orig&lt;br /&gt;
 vim /etc/request-tracker3.4/RT_SiteConfig.pm&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;Customize using the directions in the file. Add this to the end of the file before the &amp;#039;&amp;#039;&amp;#039;1;&amp;#039;&amp;#039;&amp;#039; &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Set($DatabaseHost   , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
 Set($DatabaseRTHost , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
* Create the user for the RT database&lt;br /&gt;
&lt;br /&gt;
 su postgres&lt;br /&gt;
 psql -d template1&lt;br /&gt;
 CREATE USER rtuser WITH PASSWORD &amp;#039;wibble&amp;#039; CREATEDB NOCREATEUSER;&lt;br /&gt;
 \q&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
* Customize Postgresql permissions&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/postgresql/7.4/main/pg_hba.conf /etc/postgresql/7.4/main/pg_hba.conf.orig&lt;br /&gt;
 vim /etc/postgresql/7.4/main/pg_hba.conf&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt; In the section labelled &amp;#039;&amp;#039;Put your actual configuration here&amp;#039;&amp;#039;, but above section labelled &amp;#039;&amp;#039;DO NOT DISABLE!&amp;#039;&amp;#039;, add the following: &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 host    template1   rtuser    127.0.0.1    255.255.255.255    password&lt;br /&gt;
 local   template1   rtuser                                   password&lt;br /&gt;
 host    rtdb        rtuser    127.0.0.1    255.255.255.255   password&lt;br /&gt;
 local   rtdb        rtuser                                   password&lt;br /&gt;
&lt;br /&gt;
=== More info on Creating a Database ===&lt;br /&gt;
&lt;br /&gt;
Databases are created with the query language command CREATE DATABASE:&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE name&lt;br /&gt;
&lt;br /&gt;
where name follows the usual rules for SQL identifiers. The current user automatically becomes the owner of the new database. It is the privilege of the owner of a database to remove it later on (which also removes all the objects in it, even if they have a different owner).&lt;br /&gt;
&lt;br /&gt;
The creation of databases is a restricted operation. See Section 7.1.1 for how to grant permission.&lt;br /&gt;
&lt;br /&gt;
Bootstrapping: Since you need to be connected to the database server in order to execute the CREATE DATABASE command, the question remains how the first database at any given site can be created. The first database is always created by the initdb command when the data storage area is initialized. (See Section 3.2.) By convention this database is called template1. So to create the first &amp;quot;real&amp;quot; database you can connect to template1.&lt;br /&gt;
&lt;br /&gt;
The name &amp;quot;template1&amp;quot; is no accident: When a new database is created, the template database is essentially cloned. This means that any changes you make in template1 are propagated to all subsequently created databases. This implies that you should not use the template database for real work, but when used judiciously this feature can be convenient. More details appear below.&lt;br /&gt;
&lt;br /&gt;
As an extra convenience, there is also a program that you can execute from the shell to create new databases, createdb.&lt;br /&gt;
&lt;br /&gt;
createdb dbname&lt;br /&gt;
&lt;br /&gt;
=== Configure Postgres ===&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/postgresql/7.4/main/postgresql.conf /etc/postgresql/7.4/main/postgresql.conf.orig&lt;br /&gt;
 vim /etc/postgresql/7.4/main/postgresql.conf&lt;br /&gt;
&lt;br /&gt;
Make sure this is enabled&lt;br /&gt;
&lt;br /&gt;
 tcpip_socket = true&lt;br /&gt;
&lt;br /&gt;
=== Restart Database ===&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/postgresql-7.4 restart&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Test the dabase connection:&lt;br /&gt;
&lt;br /&gt;
 psql -d template1 -U rtuser -W&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt; Enter password at the prompt, we set it to &amp;#039;&amp;#039;wibble&amp;#039;&amp;#039; in the example above &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 \q&lt;br /&gt;
&lt;br /&gt;
=== Create the RT Database ===&lt;br /&gt;
&lt;br /&gt;
 /usr/sbin/rt-setup-database-3.4 --action init --dba rtuser --prompt-for-dba-password&lt;br /&gt;
&lt;br /&gt;
Enter password at the prompt, we set it to wibble in the example above. Your rt database will be created.&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;
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.4/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;
&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;br /&gt;
&lt;br /&gt;
=== Setup RTFM ===&lt;br /&gt;
&lt;br /&gt;
Check to make sure that &amp;#039;wget&amp;#039; is available on the Ubuntu distibution. Code:&lt;br /&gt;
&lt;br /&gt;
 apt-get install wget&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To setup the Request Tracker FAQ Manager with RT 3.4, download the 2.1.40 release using wget at the command line. Code:&lt;br /&gt;
&lt;br /&gt;
 cd ~&lt;br /&gt;
 mkdir rtfm&lt;br /&gt;
 cd rtfm&lt;br /&gt;
 wget http://download.bestpractical.com/pub/rt/devel/RTFM-2.1.40.tar.gz&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Extract the archive. Code:&lt;br /&gt;
&lt;br /&gt;
 cd rtfm&lt;br /&gt;
 tar -zxvf RTFM-2.1.40.tar.gz&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Add the required modules using MCPAN. Code:&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Text::WikiFormat&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install HTML::TreeBuilder&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install HTML::Format&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
NOTE: It may be: perl -MCPAN -e&amp;#039;install Text::Format&amp;#039; instead&lt;br /&gt;
&lt;br /&gt;
Create the Makefile for rtfm. Code:&lt;br /&gt;
&lt;br /&gt;
 cd RTFM-2.1.40&lt;br /&gt;
 perl Makefile.PL&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Whem prompted for the path for RT.pm, enter:&lt;br /&gt;
&lt;br /&gt;
 /usr/share/request-tracker3.4/lib&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Dont worry about the fact that the YAML prerequisite is not found. Now, call the make programm to install the files. Code:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Following this, you have to make some modifications to the file etc/acl.Pg. Code:&lt;br /&gt;
&lt;br /&gt;
 cp -vpr etc/acl.Pg etc/acl.Pg.orig&lt;br /&gt;
 vim etc/acl.Pg&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
There will be a number of lines under my @tables = wq(. You will need to eliminate all the FM_* lines &amp;#039;&amp;#039;&amp;#039;EXCEPT&amp;#039;&amp;#039;&amp;#039; for the ones below:&lt;br /&gt;
&lt;br /&gt;
 FM_Classes_id_seq&lt;br /&gt;
 FM_Classes&lt;br /&gt;
 FM_Articles_id_seq&lt;br /&gt;
 FM_Articles&lt;br /&gt;
 FM_Topics_id_seq&lt;br /&gt;
 FM_Topics&lt;br /&gt;
 FM_ObjectTopics_id_seq&lt;br /&gt;
 FM_ObjectTopics_id_seq&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Save and exit the viewer and then initialize the db. You will need the database password that you used before (default is &amp;#039;wibble&amp;#039; - or whatever you changed it to). You will have to type the database password twice. Code:&lt;br /&gt;
&lt;br /&gt;
 make initdb&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
A successful database intializtion will end with the text &amp;quot;Done setting up database [[ACLs]]&amp;quot;. RTFM should now work in RT.&lt;br /&gt;
&lt;br /&gt;
If you need to reset the databases, simply type:&lt;br /&gt;
&lt;br /&gt;
 make dropdb&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
There may be some errors with respect to some sequences not existing, but that&amp;#039;s OK.&lt;br /&gt;
&lt;br /&gt;
=== SSL Mode: https ===&lt;br /&gt;
&lt;br /&gt;
If you want to have Request-Tracker Secure than you are going to have to configure apache2 to run in ssl mode. Take a look at this [[HowTo]] for more information:&lt;br /&gt;
&lt;br /&gt;
 https://wiki.ubuntu.com/forum/server/apache2/SSL&lt;br /&gt;
&lt;br /&gt;
I have also included my apache2 configs below.&lt;br /&gt;
&lt;br /&gt;
IMPORTANT:&lt;br /&gt;
&lt;br /&gt;
Remember to change appropriate line in [[RT SiteConfig|RT_SiteConfig]].pm.&lt;br /&gt;
&lt;br /&gt;
Before (Without SSL): Set($[[WebBaseURL]] , &amp;quot; [http://howtoforums.net http://howtoforums.net&amp;quot;)];&lt;br /&gt;
&lt;br /&gt;
After (With SSL): Set($[[WebBaseURL]] , &amp;quot; [https://howtoforums.net:443 https://howtoforums.net:443&amp;quot;)];&lt;br /&gt;
&lt;br /&gt;
=== Mail Settings ===&lt;br /&gt;
&lt;br /&gt;
This part is really network specific, but if you are going to use Request-Tracker as &amp;quot;support&amp;quot; mailbox organizer so to speak, than you need to set up the system to pull email. One method would be using fetchmail which can grab mail from an IMAP/POP3 account and put it in the system. The links below describe this process:&lt;br /&gt;
&lt;br /&gt;
 http://wiki.bestpractical.com/index.cgi?POP3Mailgate&lt;br /&gt;
 http://wiki.bestpractical.com/index.cgi?ManualInstallation&lt;br /&gt;
&lt;br /&gt;
(Search for &amp;quot;Setting Up the Mail Gateway&amp;quot;) for the basic email settings&lt;br /&gt;
&lt;br /&gt;
These are the packages if your going for the configuration with fetchmail and postfix as the outgoing smtp server Code:&lt;br /&gt;
&lt;br /&gt;
 apt-get install fetchmail fetchmailconf fetchmail-ssl postfix ca-certificates&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
DON&amp;#039;T Forget: you need to have &amp;quot;[[CreateTicket]]&amp;quot; permissions on &amp;quot;Queue General&amp;quot; or any queue that you throw the emails in from the user fetching the mail&lt;br /&gt;
&lt;br /&gt;
=== Example Confs ===&lt;br /&gt;
&lt;br /&gt;
Example Request-Tracker Config File&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
File: /etc/request-tracker3.4/[[RT SiteConfig|RT_SiteConfig]].pm&lt;br /&gt;
&lt;br /&gt;
Code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# RT_SiteConfig.pm&lt;br /&gt;
 #&lt;br /&gt;
 # These are the bits you absolutely *must* edit.&lt;br /&gt;
 #&lt;br /&gt;
 # To find out how, please read&lt;br /&gt;
 #   /usr/share/doc/request-tracker3.4/INSTALL.Debian&lt;br /&gt;
 &lt;br /&gt;
 # THE BASICS:&lt;br /&gt;
 &lt;br /&gt;
 Set($rtname, &amp;#039; support.howtoforums.net&amp;#039;);&lt;br /&gt;
 Set($Organization, &amp;#039;howtoforums.net&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 Set($CorrespondAddress , &amp;#039; SUPPORT-DO-NOT-REPLY@howtoforums.net &amp;#039;);&lt;br /&gt;
 Set($CommentAddress , &amp;#039;SUPPORT-DO-NOT-REPLY@howtoforums.net&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 Set($Timezone , &amp;#039;Europe/London&amp;#039;); # obviously choose what suits you&lt;br /&gt;
 &lt;br /&gt;
 # THE DATABASE:&lt;br /&gt;
 &lt;br /&gt;
 Set($DatabaseType, &amp;#039;Pg&amp;#039;); # e.g. Pg or mysql&lt;br /&gt;
 &lt;br /&gt;
 # These are the settings we used above when creating the RT database,&lt;br /&gt;
 # you MUST set these to what you chose in the section above.&lt;br /&gt;
 &lt;br /&gt;
 Set($DatabaseUser , &amp;#039;rtuser&amp;#039;);&lt;br /&gt;
 Set($DatabasePassword , &amp;#039;wibble&amp;#039;);&lt;br /&gt;
 Set($DatabaseName , &amp;#039;rtdb&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 # THE WEBSERVER:&lt;br /&gt;
 &lt;br /&gt;
 Set($WebPath , &amp;quot;/rt&amp;quot;);&lt;br /&gt;
 Set($WebBaseURL , &amp;quot; http://howtoforums.net&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
 Set($DatabaseHost   , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
 Set($DatabaseRTHost , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 1;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example Apache2 Configuration files:&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
File: /etc/apache2/sites-available/default&lt;br /&gt;
&lt;br /&gt;
Code:&lt;br /&gt;
&lt;br /&gt;
 NameVirtualHost *:80&lt;br /&gt;
 &amp;amp;lt;VirtualHost *:80&amp;amp;gt;&lt;br /&gt;
       ServerName support.howtoforums.net&lt;br /&gt;
       ServerAdmin support@howtoforums.net&lt;br /&gt;
 &lt;br /&gt;
       DocumentRoot /var/www&lt;br /&gt;
       &amp;amp;lt;Directory /&amp;amp;gt;&lt;br /&gt;
               Options FollowSymLinks&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;Directory /var/www/&amp;amp;gt;&lt;br /&gt;
               Options Indexes FollowSymLinks MultiViews&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
               Order allow,deny&lt;br /&gt;
               allow from all&lt;br /&gt;
               # Uncomment this directive is you want to see apache2&amp;#039;s&lt;br /&gt;
               # default start page (in /apache2-default) when you go to /&lt;br /&gt;
               #RedirectMatch ^/$ /apache2-default/&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/&lt;br /&gt;
       &amp;amp;lt;Directory &amp;quot;/usr/lib/cgi-bin&amp;quot;&amp;amp;gt;&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
               Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch&lt;br /&gt;
               Order allow,deny&lt;br /&gt;
               Allow from all&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       ErrorLog /var/log/apache2/error.log&lt;br /&gt;
 &lt;br /&gt;
       # Possible values include: debug, info, notice, warn, error, crit,&lt;br /&gt;
       # alert, emerg.&lt;br /&gt;
       LogLevel warn&lt;br /&gt;
 &lt;br /&gt;
       CustomLog /var/log/apache2/access.log combined&lt;br /&gt;
       ServerSignature On&lt;br /&gt;
 &lt;br /&gt;
   Alias /doc/ &amp;quot;/usr/share/doc/&amp;quot;&lt;br /&gt;
   &amp;amp;lt;Directory &amp;quot;/usr/share/doc/&amp;quot;&amp;amp;gt;&lt;br /&gt;
       Options Indexes MultiViews FollowSymLinks&lt;br /&gt;
       AllowOverride None&lt;br /&gt;
       Order deny,allow&lt;br /&gt;
       Deny from all&lt;br /&gt;
       Allow from 127.0.0.0/255.0.0.0 ::1/128&lt;br /&gt;
   &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       #Redirect Request-Tracker to SSL&lt;br /&gt;
       RewriteEngine   on&lt;br /&gt;
       RewriteCond     %{SERVER_PORT} ^80$&lt;br /&gt;
       RewriteRule     ^/rt(.*)$ https://%{SERVER_NAME}/rt$1 [L,R]&lt;br /&gt;
       RewriteLog      &amp;quot;/var/log/apache2/rewrite.log&amp;quot;&lt;br /&gt;
       RewriteLogLevel 2&lt;br /&gt;
 &lt;br /&gt;
       #Request-Tracker Uncomment below if you are not redirecting and you want to answer on port 80&lt;br /&gt;
       #Include &amp;quot;/etc/request-tracker3.4/apache2-modperl2.conf&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;/VirtualHost&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
File: /etc/apache2/sites-available/ssl Code:&lt;br /&gt;
&lt;br /&gt;
 NameVirtualHost *:443&lt;br /&gt;
 &amp;amp;lt;VirtualHost *:443&amp;amp;gt;&lt;br /&gt;
       ServerName support.howtoforums.net&lt;br /&gt;
       ServerAdmin support@howtoforums.net&lt;br /&gt;
 &lt;br /&gt;
       SSLEngine On&lt;br /&gt;
       SSLCertificateFile /etc/apache2/ssl/apache.pem&lt;br /&gt;
 &lt;br /&gt;
       DocumentRoot /var/www&lt;br /&gt;
       &amp;amp;lt;Directory /&amp;amp;gt;&lt;br /&gt;
               Options FollowSymLinks&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;Directory /var/www/&amp;amp;gt;&lt;br /&gt;
               Options Indexes FollowSymLinks MultiViews&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
               Order allow,deny&lt;br /&gt;
               allow from all&lt;br /&gt;
               # Uncomment this directive is you want to see apache2&amp;#039;s&lt;br /&gt;
               # default start page (in /apache2-default) when you go to /&lt;br /&gt;
               #RedirectMatch ^/$ /apache2-default/&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/&lt;br /&gt;
       &amp;amp;lt;Directory &amp;quot;/usr/lib/cgi-bin&amp;quot;&amp;amp;gt;&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
               Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch&lt;br /&gt;
               Order allow,deny&lt;br /&gt;
               Allow from all&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       ErrorLog /var/log/apache2/error.log&lt;br /&gt;
 &lt;br /&gt;
       # Possible values include: debug, info, notice, warn, error, crit,&lt;br /&gt;
       # alert, emerg.&lt;br /&gt;
       LogLevel warn&lt;br /&gt;
 &lt;br /&gt;
       CustomLog /var/log/apache2/access.log combined&lt;br /&gt;
       ServerSignature On&lt;br /&gt;
 &lt;br /&gt;
   Alias /doc/ &amp;quot;/usr/share/doc/&amp;quot;&lt;br /&gt;
   &amp;amp;lt;Directory &amp;quot;/usr/share/doc/&amp;quot;&amp;amp;gt;&lt;br /&gt;
       Options Indexes MultiViews FollowSymLinks&lt;br /&gt;
       AllowOverride None&lt;br /&gt;
       Order deny,allow&lt;br /&gt;
       Deny from all&lt;br /&gt;
       Allow from 127.0.0.0/255.0.0.0 ::1/128&lt;br /&gt;
   &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       #Request-Tracker&lt;br /&gt;
       Include &amp;quot;/etc/request-tracker3.4/apache2-modperl2.conf&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;/VirtualHost&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Enjoy! Jacob&lt;br /&gt;
&lt;br /&gt;
 http://howtoforums.net&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Notes: ===&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;local&amp;#039; directory for the Ubuntu package is in /usr/local/request-tracker3.4. You can place your customized templates, libs, etc. into this directory. See [[CleanlyCustomizeRT]] for more details about this directory.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
= HowTo Install Request-Tracker 3.4 on Ubuntu Breezy 5.10 =&lt;br /&gt;
&lt;br /&gt;
IMPORTANT: I put a space after every http to by pass the wiki spam detection&lt;br /&gt;
&lt;br /&gt;
 http://howtoforums.net/viewtopic.php?p=32&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This [[HowTo]] will explain how to install request-tracker on a clean Ubuntu Server install. It is tested on Ubuntu Breezy 5.10 and mite work with slight modifications on other versions or Debian based distros. I create a root user as apposed to using sudo, just because i am used to it but you may add sudo in front of the commands if you prefer the sudo security default method of Ubuntu.&lt;br /&gt;
&lt;br /&gt;
To activate the root user:&lt;br /&gt;
&lt;br /&gt;
 sudo passwd root&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Enable universe in your Sources.list&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/apt/sources.list /etc/apt/sources.list.orig&lt;br /&gt;
 &lt;br /&gt;
 vim /etc/apt/sources.list&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
#comment this:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install postgresql libcgi-fast-perl apache2-mpm-prefork libapache2-mod-fcgid lynx apache2-doc libapache2-mod-perl2&lt;br /&gt;
 apt-get install request-tracker3.4&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
# BKUP 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.4/RT_SiteConfig.pm /etc/request-tracker3.4/RT_SiteConfig.pm.orig&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 vim /etc/request-tracker3.4/RT_SiteConfig.pm&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Customize and add this...&lt;br /&gt;
&lt;br /&gt;
 Set($DatabaseHost   , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
 Set($DatabaseRTHost , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Create the user for the RT database&lt;br /&gt;
&lt;br /&gt;
 su postgres&lt;br /&gt;
 psql -d template1&lt;br /&gt;
 CREATE USER rtuser WITH PASSWORD &amp;#039;wibble&amp;#039; CREATEDB NOCREATEUSER;&lt;br /&gt;
 \q&lt;br /&gt;
 exit&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Customize Postgresql permissions&lt;br /&gt;
&lt;br /&gt;
 vim /etc/postgresql/7.4/main/pg_hba.conf&lt;br /&gt;
&lt;br /&gt;
at the bottom of the file along with the other similar lines - but above existing entries.&lt;br /&gt;
&lt;br /&gt;
 host    template1   rtuser    127.0.0.1    255.255.255.255   password&lt;br /&gt;
 local   template1   rtuser                                   password&lt;br /&gt;
 host    rtdb        rtuser    127.0.0.1    255.255.255.255    password&lt;br /&gt;
 local   rtdb        rtuser                                   password&lt;br /&gt;
 &lt;br /&gt;
 vim /etc/postgresql/7.4/main/postgresql.conf&lt;br /&gt;
&lt;br /&gt;
make sure this is enabled&lt;br /&gt;
&lt;br /&gt;
 tcpip_socket = true&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Restart Database&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/postgresql-7.4 restart&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Test db connection&lt;br /&gt;
&lt;br /&gt;
 psql -d template1 -U rtuser -W&lt;br /&gt;
&lt;br /&gt;
#enter password at the prompt&lt;br /&gt;
&lt;br /&gt;
Create the RT [[DataBase]]&lt;br /&gt;
&lt;br /&gt;
 /usr/sbin/rt-setup-database-3.4 --action init --dba rtuser --prompt-for-dba-password&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Configure Apache2&lt;br /&gt;
&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.4/apache2-modperl2.conf&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 vim /etc/request-tracker3.4/apache2-modperl2.conf&lt;br /&gt;
&lt;br /&gt;
comment this&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#PerlFreshRestart Off&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix for the error complaining about can&amp;#039;t find stuff&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/lib/perl5/Bundle/Apache2.pm /usr/lib/perl5/Apache2.pm&lt;br /&gt;
 ln -s /usr/lib/perl5/Apache2/compat.pm /usr/lib/perl5/Apache/compat.pm&lt;br /&gt;
 ln -s /usr/lib/perl5/Apache2/RequestUtil.pm /usr/lib/perl5/Apache/RequestUtil.pm&lt;br /&gt;
 &lt;br /&gt;
 &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;
&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;br /&gt;
&lt;br /&gt;
This part is really network specific, but if you are going to use Request-Tracker as &amp;quot;support&amp;quot; mailbox organizer so to speak, than you need to set up the system to pull email. One method would be using fetchmail which can grab mail from an IMAP/POP3 account and put it in the system. The links below describe this process:&lt;br /&gt;
&lt;br /&gt;
 http ://wiki.bestpractical.com/index.cgi?POP3Mailgate&lt;br /&gt;
 http ://wiki.bestpractical.com/index.cgi?ManualInstallation&lt;br /&gt;
&lt;br /&gt;
(Search for &amp;quot;Setting Up the Mail Gateway&amp;quot;) for the basic email settings&lt;br /&gt;
&lt;br /&gt;
These are the packages if your going for the configuration with fetchmail and postfix as the outgoing smtp server&lt;br /&gt;
&lt;br /&gt;
 apt-get install fetchmail fetchmailconf  fetchmail-ssl postfix ca-certificates&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
you need to have &amp;quot;[[CreateTicket]]&amp;quot; permissions on &amp;quot;Queue General&amp;quot; or any queue that you throw the emails in from the user fetching the mail&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
Jacob Baloul&lt;br /&gt;
&lt;br /&gt;
 http://howtoforums.net&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Ubuntu 5.10 Install ==&lt;br /&gt;
&lt;br /&gt;
We assume you&amp;#039;re starting from a fresh 5.10 (Breezy Badger) install&lt;br /&gt;
&lt;br /&gt;
=== Prep ===&lt;br /&gt;
&lt;br /&gt;
Add multiverse and universe to your /etc/apt/sources.list ( https://wiki.ubuntu.com/AddingRepositoriesHowto)&lt;br /&gt;
&lt;br /&gt;
Next, grab the following packages&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install apache2 mysql-server mysql-client&lt;br /&gt;
 sudo apt-get install libapache2-mod-fastcgi&lt;br /&gt;
 sudo apt-get install libcgi-fast-perl&lt;br /&gt;
 sudo apt-get install rt3.4-apache2 request-tracker3.4&lt;br /&gt;
&lt;br /&gt;
=== Config ===&lt;br /&gt;
&lt;br /&gt;
Edit /etc/request-tracker3.4/[[RT SiteConfig|RT_SiteConfig]].pm appropriately. Make sure the db type is mysql. Setup the database (we assume you&amp;#039;re using the values from [[RT SiteConfig|RT_SiteConfig]].pm)&lt;br /&gt;
&lt;br /&gt;
 sudo mysqladmin password foo&lt;br /&gt;
 sudo mysql -p&lt;br /&gt;
 mysql&amp;amp;gt;grant all on rtdb.* to rtuser@localhost identified by &amp;#039;wibble&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
This next line might not be necessary. If the rt-setup-database-3.4 command fails, do this.&lt;br /&gt;
&lt;br /&gt;
 mysql&amp;amp;gt;drop database rtdb;&lt;br /&gt;
 mysql&amp;amp;gt;quit&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Use rt&amp;#039;s binaries to setup the database and populate it.&lt;br /&gt;
&lt;br /&gt;
 sudo rt-setup-database-3.4 --action init -dba rtuser --prompt-for-dba-password&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Setup fastcgi&lt;br /&gt;
&lt;br /&gt;
 sudo a2enmod fastcgi&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Setup apache2&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /etc/request-tracker3.4/apache-fastcgi.conf /etc/apache2/conf.d/&lt;br /&gt;
&lt;br /&gt;
Comment out the [[FastCgiIpcDir]] line (it&amp;#039;s already present in another file) and redirect /rt to /rt/ (so that you are directed to the right place after logging in), like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#FastCgiIpcDir /var/run/fastcgi&lt;br /&gt;
 RedirectMatch ^/rt$ /rt/&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure your apache2 install owns [[RT SiteConfig|RT_SiteConfig]].pm. Replace www-data with the appropriate.&lt;br /&gt;
&lt;br /&gt;
 sudo chown www-data: /etc/request-tracker3.4/RT_SiteConfig.pm&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
reload apache2.&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/apache2 force-reload&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Done =)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Below is a work in progress for installing RT in Feisty. The steps are essentially the above, but I&amp;#039;m attempting to use an Oracle Database XE backend.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
= Howto Install Request-Tracker 3.6 on Ubuntu Feisty Server 7.04 =&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 Feisty Server install.&lt;br /&gt;
&lt;br /&gt;
It is tested on Ubuntu Feisty 7.04 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;
* [[PostgreSql]]-8.2 - Database to Store the RT information.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
You need the universe repository for apt&lt;br /&gt;
&lt;br /&gt;
* http://ubuntuguide.org/wiki/Ubuntu:Feisty#General_Notes&lt;br /&gt;
* http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_add_extra_repositories&lt;br /&gt;
&lt;br /&gt;
Update your system&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
 apt-get dist-upgrade (if necessary to get kernel updates).  Reboot if you have a kernel update.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Each of the prerequisites is a job in and of itself. Apache2, Postfix, Postgre are all powerful services in and of themselves. Glazing over their installation, configuration and setup could lead to significant problems later on. Indeed proper Postfix configuration requires an understanding of how internet mail works, and may require DNS changes, or MX records added.&lt;br /&gt;
&lt;br /&gt;
* hostname and dnsdomainname&lt;br /&gt;
* Proper firewall configuration. Apache2 listens on TCP Port 80. Postfix listens on TCP Port 25 (and maybe 587). Oracle Database XE is on TCP port 8080. Shorewall is a good choice if you need one.&lt;br /&gt;
* Apache2&lt;br /&gt;
* Postfix&lt;br /&gt;
* Oracle Database XE (Express)&lt;br /&gt;
* rt3.6-apache2&lt;br /&gt;
&lt;br /&gt;
=== hostname and dnsdomainname ===&lt;br /&gt;
&lt;br /&gt;
If you will be processing real E-mail to and/or from RT, you will need to have your hostname and dnsdomain name correctly configured.&lt;br /&gt;
&lt;br /&gt;
 hostname&lt;br /&gt;
 dnsdomainname&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If either of those do not return what you expect, it should be corrected now. If you want a particular dnsdomainname, but it&amp;#039;s not set right and you are using DHCP to get your public IP address, check out /etc/dhcp3/dhclient.conf. Uncomment and the supercede domain-name entry. Then fix the entry in /etc/hosts.&lt;br /&gt;
&lt;br /&gt;
Now might be a good time to verify what DNS servers your system is using, especially if you are going to process &amp;quot;real&amp;quot; e-mail.&lt;br /&gt;
&lt;br /&gt;
 cat /etc/resolv.conf&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If that&amp;#039;s not what you expect, again check /etc/dhcp3/dhclient.conf and add a supercede domain-name-servers x.x.x.x; Correct your /etc/resolv.conf and/or reboot (the idea is to cycle dhclient, which can be done with an ifdown/ifup, but if you are working remotely, the ifdown will break your connection.)&lt;br /&gt;
&lt;br /&gt;
=== Apache 2 ===&lt;br /&gt;
&lt;br /&gt;
You should spend some time understanding how Apache works, the role and function of httpd.conf (Ubuntu calls it apache2.conf). A single instance of Apache2 can be setup to do alot more than just RT. http://ubuntuguide.org/wiki/Ubuntu:Feisty#Apache_HTTP_Server&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install apache2 apache2-doc&lt;br /&gt;
 cd /etc/apache2/mods-enabled/&lt;br /&gt;
 sudo ln -s ../mods-available/rewrite.load .&lt;br /&gt;
 sudo nano /etc/default/apache2  # change NO_START=1 to NO_START=0&lt;br /&gt;
 sudo /etc/init.d/apache2 start&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Use a webbrowser to hit your machine. This could be http://localhost/ if your browser is on the same machine. Check /var/log/apache2/error.log for errors and monitor /var/log/apache2/access.log for accesses.&lt;br /&gt;
&lt;br /&gt;
=== Postfix ===&lt;br /&gt;
&lt;br /&gt;
Postfix is responsible for E-mail for your entire system. It is important that it is is configured properly. As of this writing the default installation does not leave Postfix as an Open Relay (a very bad thing). This can be tricky if your ISP is blocking outbound SMTP (tcp port 25) connections. http://www.howtoforge.com/perfect_setup_ubuntu704_p5&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install postfix&lt;br /&gt;
 during the installation you will be prompted for some configuration options.  One thing that is assumed, is that your hostname and dnsdomainname are correctly configured (see above).&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
In my situation, my ISP was blocking outbound tcp port 25 connections, so I had to use a smart host. First I chose the &amp;quot;Internet Connection with [[SmartHost]]&amp;quot; and configured my relay host as &amp;quot;mail.myisp.com:587&amp;quot; the 587 is important. 587 is ESTMP which is like SMTP but requires authentication.&lt;br /&gt;
&lt;br /&gt;
After Postfix was installed, to enable esmtp:&lt;br /&gt;
&lt;br /&gt;
 sudo postconf -e &amp;#039;smtp_sasl_auth_enable = yes&amp;#039;&lt;br /&gt;
 sudo postconf -e &amp;#039;smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd&amp;#039;&lt;br /&gt;
 sudo postconf -e &amp;#039;smtp_sasl_security_options =&amp;#039;&lt;br /&gt;
 sudo echo &amp;quot;smtp.ispsmarthost.com   myispaccount:mypassword&amp;#039; &amp;amp;gt; /etc/postfix/sasl_passwd&lt;br /&gt;
 sudo chown root:root /etc/postfix/sasl_passwd&lt;br /&gt;
 sudo chmod 600 /etc/postfix/sasl_passwd&lt;br /&gt;
 sudo postmap /etc/postfix/sasl_passwd&lt;br /&gt;
 /etc/init.d/postfix restart&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Then I tried to send some mail:&lt;br /&gt;
&lt;br /&gt;
 sendmail myaddress@mydomain.com&lt;br /&gt;
 Hello there&lt;br /&gt;
 .&lt;br /&gt;
 tail /var/log/mail.log&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
I didn&amp;#039;t see any errors and I received my E-mail. It had a FROM: address of [mailto:localaccount@hostname.dnsdomain localaccount@hostname.dnsdomain] which was interesting. I couldn&amp;#039;t reply to it.&lt;br /&gt;
&lt;br /&gt;
I have a hosted domain, so I added a DNS A record for my hostname.dnsdomain (not an MX record) and I was able to send a reply back. I couldn&amp;#039;t read it untill I installed nail with a sudo apt-get install nail. Nail is a simple command line mail reader.&lt;br /&gt;
&lt;br /&gt;
I also ran a http://www.abuse.net/relay.html to test my Postfix configuration for being an open relay. It was not.&lt;br /&gt;
&lt;br /&gt;
=== Oracle Database XE ===&lt;br /&gt;
&lt;br /&gt;
Oracle Database Express has some significant limitations (4gb database size for one), but in a corporation already using an Oracle database, these XE instructions might transfer to running the RT database on it. http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html&lt;br /&gt;
&lt;br /&gt;
 wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle  -O- | sudo apt-key add -&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Add this line to the bottom of your /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://oss.oracle.com/debian unstable main non-free &amp;amp;gt;&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install oracle-xe&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
221MB later, and oracle is installed.&lt;br /&gt;
&lt;br /&gt;
=== rt3.6-apache2 ===&lt;br /&gt;
&lt;br /&gt;
This package satisfies the apache requirements for RT. If you were to go straight to installing RT, then Apache (1) would get installed along side Apache2&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install rt3.6-apache2&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Installing Request Tracker 3.6 ==&lt;br /&gt;
&lt;br /&gt;
With all the prerequisites satisfied, we can install the main Request Tracker package, and it&amp;#039;s perl dependancies.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install request-tracker3.6&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Suggested Packages:&lt;br /&gt;
&lt;br /&gt;
 libsort-versions-perl ttf-dustin libgd-tools libhtml-mason-perl-doc speedy-cgi-perl&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Recommended Packages:&lt;br /&gt;
&lt;br /&gt;
 libdatetime-perl libio-socket-ssl-perl&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Backup the default [[SiteConfig]]:&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/request-tracker3.4/RT_SiteConfig.pm /etc/request-tracker3.4/RT_SiteConfig.pm.orig&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
... Work in progress. See the beginning of this document for what to do next.&lt;/div&gt;</summary>
		<author><name>196.24.44.6</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide&amp;diff=3999&amp;oldid=prev</id>
		<title>125.22.193.50: /* Install the Packages */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=UbuntuInstallGuide&amp;diff=3999&amp;oldid=prev"/>
		<updated>2012-02-09T11:26:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Install the Packages&lt;/span&gt;&lt;/span&gt;&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;
= Howto Install Request-Tracker 3.4 on Ubuntu Dapper Server 6.06 =&lt;br /&gt;
&lt;br /&gt;
aka [[HowTo]] Install Ubuntu, Request-Tracker, Apache2, [[PostgreSql]], Postfix&lt;br /&gt;
&lt;br /&gt;
 http://howtoforums.net/viewtopic.php?t=48&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;quot;RT is an enterprise-grade ticketing system which enables a group of people to intelligently and efficiently manage tasks, issues, and requests submitted by a community of users.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 http://bestpractical.com/rt/&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;
* [[PostgreSql]]-7.4 - 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;
=== desedInstall the Packages ===&lt;br /&gt;
&lt;br /&gt;
 apt-get install request-tracker3.4 rt3.4-apache2 rt3.4-clients apache2-doc postfix postgresql postgresql-doc-7.4 lynx libdbd-pg-perl&lt;br /&gt;
&lt;br /&gt;
You may see the following warnings during the installation&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;
* You will also see this: Configuring postgresql-common&lt;br /&gt;
&lt;br /&gt;
 Obsolete major version 7.4&lt;br /&gt;
 &lt;br /&gt;
 The PostgreSQL version 7.4 is obsolete, but you still have the server and/or client package installed.&lt;br /&gt;
 Please install the latest packages (postgresql-8.1 and postgresql-client-8.1) and upgrade your existing&lt;br /&gt;
 clusters with&lt;br /&gt;
   pg_upgradecluster (see manpage).&lt;br /&gt;
 &lt;br /&gt;
 Please be aware that the installation of postgresql..................&lt;br /&gt;
 The old server and client..................&lt;br /&gt;
&lt;br /&gt;
Do not worry about it, just click OK, as RT3.4 is certified with 7.4.&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.4/RT_SiteConfig.pm /etc/request-tracker3.4/RT_SiteConfig.pm.orig&lt;br /&gt;
 vim /etc/request-tracker3.4/RT_SiteConfig.pm&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;Customize using the directions in the file. Add this to the end of the file before the &amp;#039;&amp;#039;&amp;#039;1;&amp;#039;&amp;#039;&amp;#039; &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Set($DatabaseHost   , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
 Set($DatabaseRTHost , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
* Create the user for the RT database&lt;br /&gt;
&lt;br /&gt;
 su postgres&lt;br /&gt;
 psql -d template1&lt;br /&gt;
 CREATE USER rtuser WITH PASSWORD &amp;#039;wibble&amp;#039; CREATEDB NOCREATEUSER;&lt;br /&gt;
 \q&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
* Customize Postgresql permissions&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/postgresql/7.4/main/pg_hba.conf /etc/postgresql/7.4/main/pg_hba.conf.orig&lt;br /&gt;
 vim /etc/postgresql/7.4/main/pg_hba.conf&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt; In the section labelled &amp;#039;&amp;#039;Put your actual configuration here&amp;#039;&amp;#039;, but above section labelled &amp;#039;&amp;#039;DO NOT DISABLE!&amp;#039;&amp;#039;, add the following: &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 host    template1   rtuser    127.0.0.1    255.255.255.255    password&lt;br /&gt;
 local   template1   rtuser                                   password&lt;br /&gt;
 host    rtdb        rtuser    127.0.0.1    255.255.255.255   password&lt;br /&gt;
 local   rtdb        rtuser                                   password&lt;br /&gt;
&lt;br /&gt;
=== More info on Creating a Database ===&lt;br /&gt;
&lt;br /&gt;
Databases are created with the query language command CREATE DATABASE:&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE name&lt;br /&gt;
&lt;br /&gt;
where name follows the usual rules for SQL identifiers. The current user automatically becomes the owner of the new database. It is the privilege of the owner of a database to remove it later on (which also removes all the objects in it, even if they have a different owner).&lt;br /&gt;
&lt;br /&gt;
The creation of databases is a restricted operation. See Section 7.1.1 for how to grant permission.&lt;br /&gt;
&lt;br /&gt;
Bootstrapping: Since you need to be connected to the database server in order to execute the CREATE DATABASE command, the question remains how the first database at any given site can be created. The first database is always created by the initdb command when the data storage area is initialized. (See Section 3.2.) By convention this database is called template1. So to create the first &amp;quot;real&amp;quot; database you can connect to template1.&lt;br /&gt;
&lt;br /&gt;
The name &amp;quot;template1&amp;quot; is no accident: When a new database is created, the template database is essentially cloned. This means that any changes you make in template1 are propagated to all subsequently created databases. This implies that you should not use the template database for real work, but when used judiciously this feature can be convenient. More details appear below.&lt;br /&gt;
&lt;br /&gt;
As an extra convenience, there is also a program that you can execute from the shell to create new databases, createdb.&lt;br /&gt;
&lt;br /&gt;
createdb dbname&lt;br /&gt;
&lt;br /&gt;
=== Configure Postgres ===&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/postgresql/7.4/main/postgresql.conf /etc/postgresql/7.4/main/postgresql.conf.orig&lt;br /&gt;
 vim /etc/postgresql/7.4/main/postgresql.conf&lt;br /&gt;
&lt;br /&gt;
Make sure this is enabled&lt;br /&gt;
&lt;br /&gt;
 tcpip_socket = true&lt;br /&gt;
&lt;br /&gt;
=== Restart Database ===&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/postgresql-7.4 restart&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Test the dabase connection:&lt;br /&gt;
&lt;br /&gt;
 psql -d template1 -U rtuser -W&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt; Enter password at the prompt, we set it to &amp;#039;&amp;#039;wibble&amp;#039;&amp;#039; in the example above &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 \q&lt;br /&gt;
&lt;br /&gt;
=== Create the RT Database ===&lt;br /&gt;
&lt;br /&gt;
 /usr/sbin/rt-setup-database-3.4 --action init --dba rtuser --prompt-for-dba-password&lt;br /&gt;
&lt;br /&gt;
Enter password at the prompt, we set it to wibble in the example above. Your rt database will be created.&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.4/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;br /&gt;
&lt;br /&gt;
=== Setup RTFM ===&lt;br /&gt;
&lt;br /&gt;
Check to make sure that &amp;#039;wget&amp;#039; is available on the Ubuntu distibution. Code:&lt;br /&gt;
&lt;br /&gt;
 apt-get install wget&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To setup the Request Tracker FAQ Manager with RT 3.4, download the 2.1.40 release using wget at the command line. Code:&lt;br /&gt;
&lt;br /&gt;
 cd ~&lt;br /&gt;
 mkdir rtfm&lt;br /&gt;
 cd rtfm&lt;br /&gt;
 wget http://download.bestpractical.com/pub/rt/devel/RTFM-2.1.40.tar.gz&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Extract the archive. Code:&lt;br /&gt;
&lt;br /&gt;
 cd rtfm&lt;br /&gt;
 tar -zxvf RTFM-2.1.40.tar.gz&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Add the required modules using MCPAN. Code:&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Text::WikiFormat&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install HTML::TreeBuilder&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install HTML::Format&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
NOTE: It may be: perl -MCPAN -e&amp;#039;install Text::Format&amp;#039; instead&lt;br /&gt;
&lt;br /&gt;
Create the Makefile for rtfm. Code:&lt;br /&gt;
&lt;br /&gt;
 cd RTFM-2.1.40&lt;br /&gt;
 perl Makefile.PL&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Whem prompted for the path for RT.pm, enter:&lt;br /&gt;
&lt;br /&gt;
 /usr/share/request-tracker3.4/lib&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Dont worry about the fact that the YAML prerequisite is not found. Now, call the make programm to install the files. Code:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Following this, you have to make some modifications to the file etc/acl.Pg. Code:&lt;br /&gt;
&lt;br /&gt;
 cp -vpr etc/acl.Pg etc/acl.Pg.orig&lt;br /&gt;
 vim etc/acl.Pg&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
There will be a number of lines under my @tables = wq(. You will need to eliminate all the FM_* lines &amp;#039;&amp;#039;&amp;#039;EXCEPT&amp;#039;&amp;#039;&amp;#039; for the ones below:&lt;br /&gt;
&lt;br /&gt;
 FM_Classes_id_seq&lt;br /&gt;
 FM_Classes&lt;br /&gt;
 FM_Articles_id_seq&lt;br /&gt;
 FM_Articles&lt;br /&gt;
 FM_Topics_id_seq&lt;br /&gt;
 FM_Topics&lt;br /&gt;
 FM_ObjectTopics_id_seq&lt;br /&gt;
 FM_ObjectTopics_id_seq&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Save and exit the viewer and then initialize the db. You will need the database password that you used before (default is &amp;#039;wibble&amp;#039; - or whatever you changed it to). You will have to type the database password twice. Code:&lt;br /&gt;
&lt;br /&gt;
 make initdb&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
A successful database intializtion will end with the text &amp;quot;Done setting up database [[ACLs]]&amp;quot;. RTFM should now work in RT.&lt;br /&gt;
&lt;br /&gt;
If you need to reset the databases, simply type:&lt;br /&gt;
&lt;br /&gt;
 make dropdb&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
There may be some errors with respect to some sequences not existing, but that&amp;#039;s OK.&lt;br /&gt;
&lt;br /&gt;
=== SSL Mode: https ===&lt;br /&gt;
&lt;br /&gt;
If you want to have Request-Tracker Secure than you are going to have to configure apache2 to run in ssl mode. Take a look at this [[HowTo]] for more information:&lt;br /&gt;
&lt;br /&gt;
 https://wiki.ubuntu.com/forum/server/apache2/SSL&lt;br /&gt;
&lt;br /&gt;
I have also included my apache2 configs below.&lt;br /&gt;
&lt;br /&gt;
IMPORTANT:&lt;br /&gt;
&lt;br /&gt;
Remember to change appropriate line in [[RT SiteConfig|RT_SiteConfig]].pm.&lt;br /&gt;
&lt;br /&gt;
Before (Without SSL): Set($[[WebBaseURL]] , &amp;quot; [http://howtoforums.net http://howtoforums.net&amp;quot;)];&lt;br /&gt;
&lt;br /&gt;
After (With SSL): Set($[[WebBaseURL]] , &amp;quot; [https://howtoforums.net:443 https://howtoforums.net:443&amp;quot;)];&lt;br /&gt;
&lt;br /&gt;
=== Mail Settings ===&lt;br /&gt;
&lt;br /&gt;
This part is really network specific, but if you are going to use Request-Tracker as &amp;quot;support&amp;quot; mailbox organizer so to speak, than you need to set up the system to pull email. One method would be using fetchmail which can grab mail from an IMAP/POP3 account and put it in the system. The links below describe this process:&lt;br /&gt;
&lt;br /&gt;
 http://wiki.bestpractical.com/index.cgi?POP3Mailgate&lt;br /&gt;
 http://wiki.bestpractical.com/index.cgi?ManualInstallation&lt;br /&gt;
&lt;br /&gt;
(Search for &amp;quot;Setting Up the Mail Gateway&amp;quot;) for the basic email settings&lt;br /&gt;
&lt;br /&gt;
These are the packages if your going for the configuration with fetchmail and postfix as the outgoing smtp server Code:&lt;br /&gt;
&lt;br /&gt;
 apt-get install fetchmail fetchmailconf fetchmail-ssl postfix ca-certificates&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
DON&amp;#039;T Forget: you need to have &amp;quot;[[CreateTicket]]&amp;quot; permissions on &amp;quot;Queue General&amp;quot; or any queue that you throw the emails in from the user fetching the mail&lt;br /&gt;
&lt;br /&gt;
=== Example Confs ===&lt;br /&gt;
&lt;br /&gt;
Example Request-Tracker Config File&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
File: /etc/request-tracker3.4/[[RT SiteConfig|RT_SiteConfig]].pm&lt;br /&gt;
&lt;br /&gt;
Code:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# RT_SiteConfig.pm&lt;br /&gt;
 #&lt;br /&gt;
 # These are the bits you absolutely *must* edit.&lt;br /&gt;
 #&lt;br /&gt;
 # To find out how, please read&lt;br /&gt;
 #   /usr/share/doc/request-tracker3.4/INSTALL.Debian&lt;br /&gt;
 &lt;br /&gt;
 # THE BASICS:&lt;br /&gt;
 &lt;br /&gt;
 Set($rtname, &amp;#039; support.howtoforums.net&amp;#039;);&lt;br /&gt;
 Set($Organization, &amp;#039;howtoforums.net&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 Set($CorrespondAddress , &amp;#039; SUPPORT-DO-NOT-REPLY@howtoforums.net &amp;#039;);&lt;br /&gt;
 Set($CommentAddress , &amp;#039;SUPPORT-DO-NOT-REPLY@howtoforums.net&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 Set($Timezone , &amp;#039;Europe/London&amp;#039;); # obviously choose what suits you&lt;br /&gt;
 &lt;br /&gt;
 # THE DATABASE:&lt;br /&gt;
 &lt;br /&gt;
 Set($DatabaseType, &amp;#039;Pg&amp;#039;); # e.g. Pg or mysql&lt;br /&gt;
 &lt;br /&gt;
 # These are the settings we used above when creating the RT database,&lt;br /&gt;
 # you MUST set these to what you chose in the section above.&lt;br /&gt;
 &lt;br /&gt;
 Set($DatabaseUser , &amp;#039;rtuser&amp;#039;);&lt;br /&gt;
 Set($DatabasePassword , &amp;#039;wibble&amp;#039;);&lt;br /&gt;
 Set($DatabaseName , &amp;#039;rtdb&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 # THE WEBSERVER:&lt;br /&gt;
 &lt;br /&gt;
 Set($WebPath , &amp;quot;/rt&amp;quot;);&lt;br /&gt;
 Set($WebBaseURL , &amp;quot; http://howtoforums.net&amp;quot;);&lt;br /&gt;
 &lt;br /&gt;
 Set($DatabaseHost   , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
 Set($DatabaseRTHost , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 1;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example Apache2 Configuration files:&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
File: /etc/apache2/sites-available/default&lt;br /&gt;
&lt;br /&gt;
Code:&lt;br /&gt;
&lt;br /&gt;
 NameVirtualHost *:80&lt;br /&gt;
 &amp;amp;lt;VirtualHost *:80&amp;amp;gt;&lt;br /&gt;
       ServerName support.howtoforums.net&lt;br /&gt;
       ServerAdmin support@howtoforums.net&lt;br /&gt;
 &lt;br /&gt;
       DocumentRoot /var/www&lt;br /&gt;
       &amp;amp;lt;Directory /&amp;amp;gt;&lt;br /&gt;
               Options FollowSymLinks&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;Directory /var/www/&amp;amp;gt;&lt;br /&gt;
               Options Indexes FollowSymLinks MultiViews&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
               Order allow,deny&lt;br /&gt;
               allow from all&lt;br /&gt;
               # Uncomment this directive is you want to see apache2&amp;#039;s&lt;br /&gt;
               # default start page (in /apache2-default) when you go to /&lt;br /&gt;
               #RedirectMatch ^/$ /apache2-default/&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/&lt;br /&gt;
       &amp;amp;lt;Directory &amp;quot;/usr/lib/cgi-bin&amp;quot;&amp;amp;gt;&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
               Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch&lt;br /&gt;
               Order allow,deny&lt;br /&gt;
               Allow from all&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       ErrorLog /var/log/apache2/error.log&lt;br /&gt;
 &lt;br /&gt;
       # Possible values include: debug, info, notice, warn, error, crit,&lt;br /&gt;
       # alert, emerg.&lt;br /&gt;
       LogLevel warn&lt;br /&gt;
 &lt;br /&gt;
       CustomLog /var/log/apache2/access.log combined&lt;br /&gt;
       ServerSignature On&lt;br /&gt;
 &lt;br /&gt;
   Alias /doc/ &amp;quot;/usr/share/doc/&amp;quot;&lt;br /&gt;
   &amp;amp;lt;Directory &amp;quot;/usr/share/doc/&amp;quot;&amp;amp;gt;&lt;br /&gt;
       Options Indexes MultiViews FollowSymLinks&lt;br /&gt;
       AllowOverride None&lt;br /&gt;
       Order deny,allow&lt;br /&gt;
       Deny from all&lt;br /&gt;
       Allow from 127.0.0.0/255.0.0.0 ::1/128&lt;br /&gt;
   &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       #Redirect Request-Tracker to SSL&lt;br /&gt;
       RewriteEngine   on&lt;br /&gt;
       RewriteCond     %{SERVER_PORT} ^80$&lt;br /&gt;
       RewriteRule     ^/rt(.*)$ https://%{SERVER_NAME}/rt$1 [L,R]&lt;br /&gt;
       RewriteLog      &amp;quot;/var/log/apache2/rewrite.log&amp;quot;&lt;br /&gt;
       RewriteLogLevel 2&lt;br /&gt;
 &lt;br /&gt;
       #Request-Tracker Uncomment below if you are not redirecting and you want to answer on port 80&lt;br /&gt;
       #Include &amp;quot;/etc/request-tracker3.4/apache2-modperl2.conf&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;/VirtualHost&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
File: /etc/apache2/sites-available/ssl Code:&lt;br /&gt;
&lt;br /&gt;
 NameVirtualHost *:443&lt;br /&gt;
 &amp;amp;lt;VirtualHost *:443&amp;amp;gt;&lt;br /&gt;
       ServerName support.howtoforums.net&lt;br /&gt;
       ServerAdmin support@howtoforums.net&lt;br /&gt;
 &lt;br /&gt;
       SSLEngine On&lt;br /&gt;
       SSLCertificateFile /etc/apache2/ssl/apache.pem&lt;br /&gt;
 &lt;br /&gt;
       DocumentRoot /var/www&lt;br /&gt;
       &amp;amp;lt;Directory /&amp;amp;gt;&lt;br /&gt;
               Options FollowSymLinks&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
       &amp;amp;lt;Directory /var/www/&amp;amp;gt;&lt;br /&gt;
               Options Indexes FollowSymLinks MultiViews&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
               Order allow,deny&lt;br /&gt;
               allow from all&lt;br /&gt;
               # Uncomment this directive is you want to see apache2&amp;#039;s&lt;br /&gt;
               # default start page (in /apache2-default) when you go to /&lt;br /&gt;
               #RedirectMatch ^/$ /apache2-default/&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/&lt;br /&gt;
       &amp;amp;lt;Directory &amp;quot;/usr/lib/cgi-bin&amp;quot;&amp;amp;gt;&lt;br /&gt;
               AllowOverride None&lt;br /&gt;
               Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch&lt;br /&gt;
               Order allow,deny&lt;br /&gt;
               Allow from all&lt;br /&gt;
       &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       ErrorLog /var/log/apache2/error.log&lt;br /&gt;
 &lt;br /&gt;
       # Possible values include: debug, info, notice, warn, error, crit,&lt;br /&gt;
       # alert, emerg.&lt;br /&gt;
       LogLevel warn&lt;br /&gt;
 &lt;br /&gt;
       CustomLog /var/log/apache2/access.log combined&lt;br /&gt;
       ServerSignature On&lt;br /&gt;
 &lt;br /&gt;
   Alias /doc/ &amp;quot;/usr/share/doc/&amp;quot;&lt;br /&gt;
   &amp;amp;lt;Directory &amp;quot;/usr/share/doc/&amp;quot;&amp;amp;gt;&lt;br /&gt;
       Options Indexes MultiViews FollowSymLinks&lt;br /&gt;
       AllowOverride None&lt;br /&gt;
       Order deny,allow&lt;br /&gt;
       Deny from all&lt;br /&gt;
       Allow from 127.0.0.0/255.0.0.0 ::1/128&lt;br /&gt;
   &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
       #Request-Tracker&lt;br /&gt;
       Include &amp;quot;/etc/request-tracker3.4/apache2-modperl2.conf&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;/VirtualHost&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Enjoy! Jacob&lt;br /&gt;
&lt;br /&gt;
 http://howtoforums.net&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Notes: ===&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;local&amp;#039; directory for the Ubuntu package is in /usr/local/request-tracker3.4. You can place your customized templates, libs, etc. into this directory. See [[CleanlyCustomizeRT]] for more details about this directory.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
= HowTo Install Request-Tracker 3.4 on Ubuntu Breezy 5.10 =&lt;br /&gt;
&lt;br /&gt;
IMPORTANT: I put a space after every http to by pass the wiki spam detection&lt;br /&gt;
&lt;br /&gt;
 http://howtoforums.net/viewtopic.php?p=32&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This [[HowTo]] will explain how to install request-tracker on a clean Ubuntu Server install. It is tested on Ubuntu Breezy 5.10 and mite work with slight modifications on other versions or Debian based distros. I create a root user as apposed to using sudo, just because i am used to it but you may add sudo in front of the commands if you prefer the sudo security default method of Ubuntu.&lt;br /&gt;
&lt;br /&gt;
To activate the root user:&lt;br /&gt;
&lt;br /&gt;
 sudo passwd root&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Enable universe in your Sources.list&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/apt/sources.list /etc/apt/sources.list.orig&lt;br /&gt;
 &lt;br /&gt;
 vim /etc/apt/sources.list&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
#comment this:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get install postgresql libcgi-fast-perl apache2-mpm-prefork libapache2-mod-fcgid lynx apache2-doc libapache2-mod-perl2&lt;br /&gt;
 apt-get install request-tracker3.4&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
# BKUP 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.4/RT_SiteConfig.pm /etc/request-tracker3.4/RT_SiteConfig.pm.orig&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 vim /etc/request-tracker3.4/RT_SiteConfig.pm&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Customize and add this...&lt;br /&gt;
&lt;br /&gt;
 Set($DatabaseHost   , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
 Set($DatabaseRTHost , &amp;#039;localhost&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Create the user for the RT database&lt;br /&gt;
&lt;br /&gt;
 su postgres&lt;br /&gt;
 psql -d template1&lt;br /&gt;
 CREATE USER rtuser WITH PASSWORD &amp;#039;wibble&amp;#039; CREATEDB NOCREATEUSER;&lt;br /&gt;
 \q&lt;br /&gt;
 exit&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Customize Postgresql permissions&lt;br /&gt;
&lt;br /&gt;
 vim /etc/postgresql/7.4/main/pg_hba.conf&lt;br /&gt;
&lt;br /&gt;
at the bottom of the file along with the other similar lines - but above existing entries.&lt;br /&gt;
&lt;br /&gt;
 host    template1   rtuser    127.0.0.1    255.255.255.255   password&lt;br /&gt;
 local   template1   rtuser                                   password&lt;br /&gt;
 host    rtdb        rtuser    127.0.0.1    255.255.255.255    password&lt;br /&gt;
 local   rtdb        rtuser                                   password&lt;br /&gt;
 &lt;br /&gt;
 vim /etc/postgresql/7.4/main/postgresql.conf&lt;br /&gt;
&lt;br /&gt;
make sure this is enabled&lt;br /&gt;
&lt;br /&gt;
 tcpip_socket = true&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Restart Database&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/postgresql-7.4 restart&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Test db connection&lt;br /&gt;
&lt;br /&gt;
 psql -d template1 -U rtuser -W&lt;br /&gt;
&lt;br /&gt;
#enter password at the prompt&lt;br /&gt;
&lt;br /&gt;
Create the RT [[DataBase]]&lt;br /&gt;
&lt;br /&gt;
 /usr/sbin/rt-setup-database-3.4 --action init --dba rtuser --prompt-for-dba-password&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Configure Apache2&lt;br /&gt;
&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.4/apache2-modperl2.conf&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 vim /etc/request-tracker3.4/apache2-modperl2.conf&lt;br /&gt;
&lt;br /&gt;
comment this&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#PerlFreshRestart Off&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Fix for the error complaining about can&amp;#039;t find stuff&lt;br /&gt;
&lt;br /&gt;
 ln -s /usr/lib/perl5/Bundle/Apache2.pm /usr/lib/perl5/Apache2.pm&lt;br /&gt;
 ln -s /usr/lib/perl5/Apache2/compat.pm /usr/lib/perl5/Apache/compat.pm&lt;br /&gt;
 ln -s /usr/lib/perl5/Apache2/RequestUtil.pm /usr/lib/perl5/Apache/RequestUtil.pm&lt;br /&gt;
 &lt;br /&gt;
 &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;
&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;br /&gt;
&lt;br /&gt;
This part is really network specific, but if you are going to use Request-Tracker as &amp;quot;support&amp;quot; mailbox organizer so to speak, than you need to set up the system to pull email. One method would be using fetchmail which can grab mail from an IMAP/POP3 account and put it in the system. The links below describe this process:&lt;br /&gt;
&lt;br /&gt;
 http ://wiki.bestpractical.com/index.cgi?POP3Mailgate&lt;br /&gt;
 http ://wiki.bestpractical.com/index.cgi?ManualInstallation&lt;br /&gt;
&lt;br /&gt;
(Search for &amp;quot;Setting Up the Mail Gateway&amp;quot;) for the basic email settings&lt;br /&gt;
&lt;br /&gt;
These are the packages if your going for the configuration with fetchmail and postfix as the outgoing smtp server&lt;br /&gt;
&lt;br /&gt;
 apt-get install fetchmail fetchmailconf  fetchmail-ssl postfix ca-certificates&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
you need to have &amp;quot;[[CreateTicket]]&amp;quot; permissions on &amp;quot;Queue General&amp;quot; or any queue that you throw the emails in from the user fetching the mail&lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
Jacob Baloul&lt;br /&gt;
&lt;br /&gt;
 http://howtoforums.net&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Ubuntu 5.10 Install ==&lt;br /&gt;
&lt;br /&gt;
We assume you&amp;#039;re starting from a fresh 5.10 (Breezy Badger) install&lt;br /&gt;
&lt;br /&gt;
=== Prep ===&lt;br /&gt;
&lt;br /&gt;
Add multiverse and universe to your /etc/apt/sources.list ( https://wiki.ubuntu.com/AddingRepositoriesHowto)&lt;br /&gt;
&lt;br /&gt;
Next, grab the following packages&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install apache2 mysql-server mysql-client&lt;br /&gt;
 sudo apt-get install libapache2-mod-fastcgi&lt;br /&gt;
 sudo apt-get install libcgi-fast-perl&lt;br /&gt;
 sudo apt-get install rt3.4-apache2 request-tracker3.4&lt;br /&gt;
&lt;br /&gt;
=== Config ===&lt;br /&gt;
&lt;br /&gt;
Edit /etc/request-tracker3.4/[[RT SiteConfig|RT_SiteConfig]].pm appropriately. Make sure the db type is mysql. Setup the database (we assume you&amp;#039;re using the values from [[RT SiteConfig|RT_SiteConfig]].pm)&lt;br /&gt;
&lt;br /&gt;
 sudo mysqladmin password foo&lt;br /&gt;
 sudo mysql -p&lt;br /&gt;
 mysql&amp;amp;gt;grant all on rtdb.* to rtuser@localhost identified by &amp;#039;wibble&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
This next line might not be necessary. If the rt-setup-database-3.4 command fails, do this.&lt;br /&gt;
&lt;br /&gt;
 mysql&amp;amp;gt;drop database rtdb;&lt;br /&gt;
 mysql&amp;amp;gt;quit&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Use rt&amp;#039;s binaries to setup the database and populate it.&lt;br /&gt;
&lt;br /&gt;
 sudo rt-setup-database-3.4 --action init -dba rtuser --prompt-for-dba-password&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Setup fastcgi&lt;br /&gt;
&lt;br /&gt;
 sudo a2enmod fastcgi&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Setup apache2&lt;br /&gt;
&lt;br /&gt;
 sudo ln -s /etc/request-tracker3.4/apache-fastcgi.conf /etc/apache2/conf.d/&lt;br /&gt;
&lt;br /&gt;
Comment out the [[FastCgiIpcDir]] line (it&amp;#039;s already present in another file) and redirect /rt to /rt/ (so that you are directed to the right place after logging in), like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#FastCgiIpcDir /var/run/fastcgi&lt;br /&gt;
 RedirectMatch ^/rt$ /rt/&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure your apache2 install owns [[RT SiteConfig|RT_SiteConfig]].pm. Replace www-data with the appropriate.&lt;br /&gt;
&lt;br /&gt;
 sudo chown www-data: /etc/request-tracker3.4/RT_SiteConfig.pm&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
reload apache2.&lt;br /&gt;
&lt;br /&gt;
 sudo /etc/init.d/apache2 force-reload&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Done =)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Below is a work in progress for installing RT in Feisty. The steps are essentially the above, but I&amp;#039;m attempting to use an Oracle Database XE backend.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
= Howto Install Request-Tracker 3.6 on Ubuntu Feisty Server 7.04 =&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 Feisty Server install.&lt;br /&gt;
&lt;br /&gt;
It is tested on Ubuntu Feisty 7.04 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;
* [[PostgreSql]]-8.2 - Database to Store the RT information.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites ==&lt;br /&gt;
&lt;br /&gt;
You need the universe repository for apt&lt;br /&gt;
&lt;br /&gt;
* http://ubuntuguide.org/wiki/Ubuntu:Feisty#General_Notes&lt;br /&gt;
* http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_add_extra_repositories&lt;br /&gt;
&lt;br /&gt;
Update your system&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
 apt-get dist-upgrade (if necessary to get kernel updates).  Reboot if you have a kernel update.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Each of the prerequisites is a job in and of itself. Apache2, Postfix, Postgre are all powerful services in and of themselves. Glazing over their installation, configuration and setup could lead to significant problems later on. Indeed proper Postfix configuration requires an understanding of how internet mail works, and may require DNS changes, or MX records added.&lt;br /&gt;
&lt;br /&gt;
* hostname and dnsdomainname&lt;br /&gt;
* Proper firewall configuration. Apache2 listens on TCP Port 80. Postfix listens on TCP Port 25 (and maybe 587). Oracle Database XE is on TCP port 8080. Shorewall is a good choice if you need one.&lt;br /&gt;
* Apache2&lt;br /&gt;
* Postfix&lt;br /&gt;
* Oracle Database XE (Express)&lt;br /&gt;
* rt3.6-apache2&lt;br /&gt;
&lt;br /&gt;
=== hostname and dnsdomainname ===&lt;br /&gt;
&lt;br /&gt;
If you will be processing real E-mail to and/or from RT, you will need to have your hostname and dnsdomain name correctly configured.&lt;br /&gt;
&lt;br /&gt;
 hostname&lt;br /&gt;
 dnsdomainname&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If either of those do not return what you expect, it should be corrected now. If you want a particular dnsdomainname, but it&amp;#039;s not set right and you are using DHCP to get your public IP address, check out /etc/dhcp3/dhclient.conf. Uncomment and the supercede domain-name entry. Then fix the entry in /etc/hosts.&lt;br /&gt;
&lt;br /&gt;
Now might be a good time to verify what DNS servers your system is using, especially if you are going to process &amp;quot;real&amp;quot; e-mail.&lt;br /&gt;
&lt;br /&gt;
 cat /etc/resolv.conf&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If that&amp;#039;s not what you expect, again check /etc/dhcp3/dhclient.conf and add a supercede domain-name-servers x.x.x.x; Correct your /etc/resolv.conf and/or reboot (the idea is to cycle dhclient, which can be done with an ifdown/ifup, but if you are working remotely, the ifdown will break your connection.)&lt;br /&gt;
&lt;br /&gt;
=== Apache 2 ===&lt;br /&gt;
&lt;br /&gt;
You should spend some time understanding how Apache works, the role and function of httpd.conf (Ubuntu calls it apache2.conf). A single instance of Apache2 can be setup to do alot more than just RT. http://ubuntuguide.org/wiki/Ubuntu:Feisty#Apache_HTTP_Server&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install apache2 apache2-doc&lt;br /&gt;
 cd /etc/apache2/mods-enabled/&lt;br /&gt;
 sudo ln -s ../mods-available/rewrite.load .&lt;br /&gt;
 sudo nano /etc/default/apache2  # change NO_START=1 to NO_START=0&lt;br /&gt;
 sudo /etc/init.d/apache2 start&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Use a webbrowser to hit your machine. This could be http://localhost/ if your browser is on the same machine. Check /var/log/apache2/error.log for errors and monitor /var/log/apache2/access.log for accesses.&lt;br /&gt;
&lt;br /&gt;
=== Postfix ===&lt;br /&gt;
&lt;br /&gt;
Postfix is responsible for E-mail for your entire system. It is important that it is is configured properly. As of this writing the default installation does not leave Postfix as an Open Relay (a very bad thing). This can be tricky if your ISP is blocking outbound SMTP (tcp port 25) connections. http://www.howtoforge.com/perfect_setup_ubuntu704_p5&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install postfix&lt;br /&gt;
 during the installation you will be prompted for some configuration options.  One thing that is assumed, is that your hostname and dnsdomainname are correctly configured (see above).&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
In my situation, my ISP was blocking outbound tcp port 25 connections, so I had to use a smart host. First I chose the &amp;quot;Internet Connection with [[SmartHost]]&amp;quot; and configured my relay host as &amp;quot;mail.myisp.com:587&amp;quot; the 587 is important. 587 is ESTMP which is like SMTP but requires authentication.&lt;br /&gt;
&lt;br /&gt;
After Postfix was installed, to enable esmtp:&lt;br /&gt;
&lt;br /&gt;
 sudo postconf -e &amp;#039;smtp_sasl_auth_enable = yes&amp;#039;&lt;br /&gt;
 sudo postconf -e &amp;#039;smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd&amp;#039;&lt;br /&gt;
 sudo postconf -e &amp;#039;smtp_sasl_security_options =&amp;#039;&lt;br /&gt;
 sudo echo &amp;quot;smtp.ispsmarthost.com   myispaccount:mypassword&amp;#039; &amp;amp;gt; /etc/postfix/sasl_passwd&lt;br /&gt;
 sudo chown root:root /etc/postfix/sasl_passwd&lt;br /&gt;
 sudo chmod 600 /etc/postfix/sasl_passwd&lt;br /&gt;
 sudo postmap /etc/postfix/sasl_passwd&lt;br /&gt;
 /etc/init.d/postfix restart&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Then I tried to send some mail:&lt;br /&gt;
&lt;br /&gt;
 sendmail myaddress@mydomain.com&lt;br /&gt;
 Hello there&lt;br /&gt;
 .&lt;br /&gt;
 tail /var/log/mail.log&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
I didn&amp;#039;t see any errors and I received my E-mail. It had a FROM: address of [mailto:localaccount@hostname.dnsdomain localaccount@hostname.dnsdomain] which was interesting. I couldn&amp;#039;t reply to it.&lt;br /&gt;
&lt;br /&gt;
I have a hosted domain, so I added a DNS A record for my hostname.dnsdomain (not an MX record) and I was able to send a reply back. I couldn&amp;#039;t read it untill I installed nail with a sudo apt-get install nail. Nail is a simple command line mail reader.&lt;br /&gt;
&lt;br /&gt;
I also ran a http://www.abuse.net/relay.html to test my Postfix configuration for being an open relay. It was not.&lt;br /&gt;
&lt;br /&gt;
=== Oracle Database XE ===&lt;br /&gt;
&lt;br /&gt;
Oracle Database Express has some significant limitations (4gb database size for one), but in a corporation already using an Oracle database, these XE instructions might transfer to running the RT database on it. http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html&lt;br /&gt;
&lt;br /&gt;
 wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle  -O- | sudo apt-key add -&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Add this line to the bottom of your /etc/apt/sources.list&lt;br /&gt;
&lt;br /&gt;
 deb http://oss.oracle.com/debian unstable main non-free &amp;amp;gt;&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install oracle-xe&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
221MB later, and oracle is installed.&lt;br /&gt;
&lt;br /&gt;
=== rt3.6-apache2 ===&lt;br /&gt;
&lt;br /&gt;
This package satisfies the apache requirements for RT. If you were to go straight to installing RT, then Apache (1) would get installed along side Apache2&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install rt3.6-apache2&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
== Installing Request Tracker 3.6 ==&lt;br /&gt;
&lt;br /&gt;
With all the prerequisites satisfied, we can install the main Request Tracker package, and it&amp;#039;s perl dependancies.&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install request-tracker3.6&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Suggested Packages:&lt;br /&gt;
&lt;br /&gt;
 libsort-versions-perl ttf-dustin libgd-tools libhtml-mason-perl-doc speedy-cgi-perl&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Recommended Packages:&lt;br /&gt;
&lt;br /&gt;
 libdatetime-perl libio-socket-ssl-perl&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Backup the default [[SiteConfig]]:&lt;br /&gt;
&lt;br /&gt;
 cp -vpr /etc/request-tracker3.4/RT_SiteConfig.pm /etc/request-tracker3.4/RT_SiteConfig.pm.orig&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
... Work in progress. See the beginning of this document for what to do next.&lt;/div&gt;</summary>
		<author><name>125.22.193.50</name></author>
	</entry>
</feed>