<?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=DebianLennyInstallGuide</id>
	<title>DebianLennyInstallGuide - 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=DebianLennyInstallGuide"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=DebianLennyInstallGuide&amp;action=history"/>
	<updated>2026-08-21T19:04:18Z</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=DebianLennyInstallGuide&amp;diff=854&amp;oldid=prev</id>
		<title>Admin: 12 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=DebianLennyInstallGuide&amp;diff=854&amp;oldid=prev"/>
		<updated>2016-04-06T20:08:46Z</updated>

		<summary type="html">&lt;p&gt;12 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:08, 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-853:rev-854 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=DebianLennyInstallGuide&amp;diff=853&amp;oldid=prev</id>
		<title>66.219.32.14: /* Preparing your system */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=DebianLennyInstallGuide&amp;diff=853&amp;oldid=prev"/>
		<updated>2012-10-29T15:43:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Preparing your system&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;
= Request-Tracker 3.8.1 on Debian Lenny =&lt;br /&gt;
&lt;br /&gt;
=== Repository Installation ===&lt;br /&gt;
&lt;br /&gt;
Taken from http://www.debianadmin.com/howto-setup-request-tracker-36-on-debian-etch.html with a few changes:&lt;br /&gt;
&lt;br /&gt;
=== Preparing your system ===&lt;br /&gt;
&lt;br /&gt;
*Install Postfix, fetchmail using the following command&lt;br /&gt;
 apt-get install postfix fetchmail&lt;br /&gt;
&lt;br /&gt;
*Select “Internet Site” when prompted&lt;br /&gt;
&lt;br /&gt;
*Install [[MySQL]] Server 5 using the following command. You must also set a root password of your choice for this installation to continue.&lt;br /&gt;
&lt;br /&gt;
 aptitude install mysql-server-5.0&lt;br /&gt;
&lt;br /&gt;
*Install Request-Tracker Apache2 package using the following command&lt;br /&gt;
&lt;br /&gt;
 aptitude install rt3.8-apache2&lt;br /&gt;
&lt;br /&gt;
*Install Request-Tracker 3.6 using the following command. When you are prompted to choose if dbconfig-common should be used select &amp;quot;NO&amp;quot; and continue with default choices.&lt;br /&gt;
 aptitude install request-tracker3.6&lt;br /&gt;
&lt;br /&gt;
=== Configuring Request Tracker ===&lt;br /&gt;
&lt;br /&gt;
The Request Tracker Configuration file is located at /etc/request-tracker3.6/[[RT SiteConfig|RT_SiteConfig]].pm. The following is an example configuration to run RT on the localhost with the necessary adjustments for RT operation. The domain &amp;quot;example.org&amp;quot; is used purely for demonstration purposes. You are welcome to edit the additional variables per the comments to suit your organisation.&lt;br /&gt;
* vi /etc/request-tracker3.6/[[RT SiteConfig|RT_SiteConfig]].pm&lt;br /&gt;
 [[RT SiteConfig|RT_SiteConfig]].pm # # These are the bits you absolutely &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; edit. # # To find out how, please read # /usr/share/doc/request-tracker3.6/NOTES.Debian&lt;br /&gt;
&lt;br /&gt;
* THE BASICS:&lt;br /&gt;
&lt;br /&gt;
 Set($rtname, ’support.example.org’);&lt;br /&gt;
 Set($Organization, ‘example.org’);&lt;br /&gt;
 Set($[[CorrespondAddress]] , ’[mailto:support@example.org support@example.org]’);&lt;br /&gt;
 Set($[[CommentAddress]] , ’[mailto:support-comment@example.org support-comment@example.org]’);&lt;br /&gt;
 Set($Timezone , ‘Europe/Brussels’); # obviously choose what suits you&lt;br /&gt;
&lt;br /&gt;
* THE DATABASE:&lt;br /&gt;
&lt;br /&gt;
 Set($[[DatabaseType]], ‘mysql’); # 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]] , ‘rtuser’);&lt;br /&gt;
 Set($[[DatabasePassword]] , ‘&amp;amp;lt;whatever_password_you_wish&amp;amp;gt;’);&lt;br /&gt;
 Set($[[DatabaseName]] , ‘rtdb’);&lt;br /&gt;
&lt;br /&gt;
* THE WEBSERVER:&lt;br /&gt;
&lt;br /&gt;
 # This sets RT to be accessed as http://localhost/rt. If you wanted to make it a virtualhost or subdomain you could configure this either via [[VirtualHosts]] configuration in any of the apache configuration files or the $[[WebPath]] variable.&lt;br /&gt;
 &lt;br /&gt;
 Set($[[WebPath]] , “/rt”);&lt;br /&gt;
 Set($[[WebBaseURL]] , “[http://xn--localhost)-1x6e http://localhost”)];&lt;br /&gt;
&lt;br /&gt;
=== Mysql Database Configuration ===&lt;br /&gt;
&lt;br /&gt;
*Create [[MySQL]] user&lt;br /&gt;
&lt;br /&gt;
The tutorial directs the installer to set a root password for mysql but that should have been done during the installation of mysql-server-5.0 so here are the steps following that:&lt;br /&gt;
&lt;br /&gt;
Create the user “rtuser” :&lt;br /&gt;
&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
 &lt;br /&gt;
 mysql&amp;amp;gt; GRANT ALL PRIVILEGES ON rtdb.* TO ‘rtuser’@&amp;#039;localhost’ IDENTIFIED BY ‘wibble’; FLUSH PRIVILEGES; QUIT&lt;br /&gt;
&lt;br /&gt;
*7. Set up RT database :&lt;br /&gt;
 /usr/sbin/rt-setup-database-3.6 --action init --dba root --prompt-for-dba-password&lt;br /&gt;
&lt;br /&gt;
You should see something like the following :&lt;br /&gt;
&lt;br /&gt;
 Password: Now creating a database for RT. &lt;br /&gt;
 Creating mysql database rtdb. &lt;br /&gt;
 Now populating database schema. &lt;br /&gt;
 Creating database schema. &lt;br /&gt;
 readline() on closed filehandle SCHEMA_LOCAL at /usr/sbin/rt-setup-database-3.6 line 223.&lt;br /&gt;
 Done setting up database schema.&lt;br /&gt;
 Now inserting database [[ACLs]] Done setting up database [[ACLs]].&lt;br /&gt;
 Now inserting RT core system objects Checking for existing system user…not found.&lt;br /&gt;
 This appears to be a new installation. Creating system user…done.&lt;br /&gt;
 Now inserting RT data Creating Superuser ACL…done.&lt;br /&gt;
 Creating groups…3.4.5.6.7.8.9.done.&lt;br /&gt;
 Creating users…10.12.done.&lt;br /&gt;
 Creating queues…1.2.done.&lt;br /&gt;
 Creating ACL…2.3.done.&lt;br /&gt;
 Creating [[ScripActions]]…1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done.&lt;br /&gt;
 Creating [[ScripConditions]]…1.2.3.4.5.6.7.8.9.10.done.&lt;br /&gt;
 Creating templates…1.2.3.4.5.6.7.8.9.10.11.12.done.&lt;br /&gt;
 Creating scrips…1.2.3.4.5.6.7.8.9.10.11.12.13.14.done.&lt;br /&gt;
 Creating predefined searches…1.2.3.done.&lt;br /&gt;
 Done setting up database content.&lt;br /&gt;
&lt;br /&gt;
=== Configuring Apache ===&lt;br /&gt;
&lt;br /&gt;
*Set up Apache2&lt;br /&gt;
&lt;br /&gt;
Add the following two lines to /etc/apache2/sites-enabled/000-default at the end of the file just before the closing virtualhost tag:&lt;br /&gt;
&lt;br /&gt;
 Include “/etc/request-tracker3.6/apache2-modperl2.conf”&lt;br /&gt;
 [[RedirectMatch]] ^/$ /rt/&lt;br /&gt;
&lt;br /&gt;
*Enable mod rewrite by using the command:&lt;br /&gt;
 # a2enmod rewrite&lt;br /&gt;
 cd /etc/apache2/mods-enabled/&lt;br /&gt;
&lt;br /&gt;
*The following may produce a message: &amp;quot;ln: creating symbolic link `./rewrite.load&amp;#039;: File exists&amp;quot; This doesn&amp;#039;t seem to cause any problems.&lt;br /&gt;
 ln -s ../mods-available/rewrite.load .&lt;br /&gt;
&lt;br /&gt;
*Restart Apache2&lt;br /&gt;
&lt;br /&gt;
 # /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
*Finally you need to login to rt and grant [[CreateTicket]] and [[ReplyToTicket]] to the group Everyone.&lt;br /&gt;
&lt;br /&gt;
http://localhost/rt/&lt;br /&gt;
&lt;br /&gt;
Login as user “root” Password is “password”&lt;br /&gt;
&lt;br /&gt;
Now you can start configuring the tickets and using RT. It is advised you change the root password to something more cryptic.&lt;br /&gt;
&lt;br /&gt;
=== Manual Installation ===&lt;br /&gt;
&lt;br /&gt;
copied from http://www.debianadmin.com/howto-setup-request-tracker-36-on-debian-etch.html and edited for my company&lt;br /&gt;
&lt;br /&gt;
1. setup base system with very minimalistic install&lt;br /&gt;
&lt;br /&gt;
2. update sources then upgrade&lt;br /&gt;
&lt;br /&gt;
 aptitude update&lt;br /&gt;
 aptitude full-upgrade&lt;br /&gt;
&lt;br /&gt;
3. install the following packages&lt;br /&gt;
&lt;br /&gt;
 aptitude install apache2 openssl mysql-server-5.0 postfix fetchmail&lt;br /&gt;
 libc6-dev libc-dev libmudflap0-dev make gcc gawk libapache2-mod-perl2&lt;br /&gt;
 libxml-handler-composer-perl libxml-generator-perl unzip mlocate&lt;br /&gt;
&lt;br /&gt;
4. choose &amp;quot;Internet Site with smart host&amp;quot; in postfix configuration and use yourmailserver as smart host.&lt;br /&gt;
&lt;br /&gt;
5. setup your mysql root password (NOTE: This is different from your system root password!)&lt;br /&gt;
&lt;br /&gt;
 mysqladmin -u root password &amp;amp;lt;yourpassword&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. download and unpack download:&lt;br /&gt;
&lt;br /&gt;
 wget http://download.bestpractical.com/pub/rt/release/rt.tar.gz&lt;br /&gt;
 tar -xzvf rt.tar.gz&lt;br /&gt;
 cd ./rt-3.8.1&lt;br /&gt;
&lt;br /&gt;
7. configure CPAN&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -e shell&lt;br /&gt;
&lt;br /&gt;
Choose auto config&lt;br /&gt;
&lt;br /&gt;
 Would you like me to configure as much as possible automatically?  [no]yes&lt;br /&gt;
&lt;br /&gt;
when asked about building prerequisites choose &amp;quot;follow&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Policy on building prerequisites (follow, ask or ignore)? [ask] follow&lt;br /&gt;
&lt;br /&gt;
Once you&amp;#039;re done and get the cpan&amp;amp;gt; prompt run o conf init&lt;br /&gt;
&lt;br /&gt;
 cpan&amp;amp;gt;o conf init&lt;br /&gt;
&lt;br /&gt;
this time choose choose enter no for auto config&lt;br /&gt;
&lt;br /&gt;
 Would you like me to configure as much as possible automatically?  [yes]no&lt;br /&gt;
&lt;br /&gt;
once you&amp;#039;re done go ahead and install Bundle::CPAN as per http://search.cpan.org/~andk/Bundle-CPAN-1.857/CPAN.pm &amp;quot;Bundle::CPAN - Bundle to optimize the behaviour of CPAN.pm&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 cpan&amp;amp;gt; install Bundle::CPAN&lt;br /&gt;
&lt;br /&gt;
.. ... install everything, including optional packages exit cpan once its complete&lt;br /&gt;
&lt;br /&gt;
 cpan&amp;amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
8. lets start the rt install&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
&lt;br /&gt;
9. run make testdeps&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
Expect to see errors a fews time due to the missing dependencies you should get something similar at the end. We will be running make testdeps a few times to make sure all dependencies are satisfied.&lt;br /&gt;
&lt;br /&gt;
 make: *** [testdeps] Error 1&lt;br /&gt;
&lt;br /&gt;
10. now run make fixdeps&lt;br /&gt;
&lt;br /&gt;
 make fixdeps&lt;br /&gt;
&lt;br /&gt;
keep hitting yes when asked about prepending.&lt;br /&gt;
&lt;br /&gt;
 Shall I follow them and prepend them to the queue of modules we are processing right now? [yes]&lt;br /&gt;
&lt;br /&gt;
run make testdeps to see if we are still missing dependencies&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
you might get the following message&lt;br /&gt;
&lt;br /&gt;
 SOME DEPENDENCIES WERE MISSING.&lt;br /&gt;
 ICAL missing dependencies:&lt;br /&gt;
 Data::ICal...MISSING&lt;br /&gt;
 make: *** [fixdeps] Error 1&lt;br /&gt;
&lt;br /&gt;
simply re-run for any missing dependencies&lt;br /&gt;
&lt;br /&gt;
 make fixdeps&lt;br /&gt;
 ..&lt;br /&gt;
 All dependencies have been found.&lt;br /&gt;
&lt;br /&gt;
to make sure everything is satisfied&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
and you should get the following&lt;br /&gt;
&lt;br /&gt;
 All dependencies have been found&lt;br /&gt;
&lt;br /&gt;
11. now run make install&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
12. once completed you will need to edit [[RT SiteConfig|RT_SiteConfig]].pm backup:&lt;br /&gt;
&lt;br /&gt;
 cp /opt/rt3/etc/RT_SiteConfig.pm /opt/rt3/etc/RT_SiteConfig.pm.orig&lt;br /&gt;
 vim /opt/rt3/etc/RT_SiteConfig.pm&lt;br /&gt;
&lt;br /&gt;
edit your [[RT SiteConfig|RT_SiteConfig]].pm to reflect your specific settings&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Set($rtname , &amp;quot;rt.yourdomain.com&amp;quot;);&lt;br /&gt;
   Set($Organization , &amp;quot;yourdomain.com&amp;quot;);&lt;br /&gt;
   Set($CorrespondAddress , &amp;#039;rt@rt.yourdomain.com&amp;#039;);&lt;br /&gt;
   Set($CommentAddress , &amp;#039;rt-comment@rt.yourdomain.com&amp;#039;);&lt;br /&gt;
   Set($OwnerEmail , &amp;#039;root&amp;#039;);&lt;br /&gt;
   Set($MaxAttachmentSize , 10000000);&lt;br /&gt;
   &lt;br /&gt;
   # THE DATABASE:&lt;br /&gt;
   &lt;br /&gt;
   Set($DatabaseType, &amp;#039;mysql&amp;#039;); # e.g. Pg or mysql&lt;br /&gt;
   &lt;br /&gt;
   # These are the settings that will be used when&lt;br /&gt;
   # &amp;#039;make initialize-database&amp;#039; is run, you MUST set&lt;br /&gt;
   # these to what you want.&lt;br /&gt;
   &lt;br /&gt;
   Set($DatabaseUser , &amp;#039;rt_user&amp;#039;);&lt;br /&gt;
   Set($DatabasePassword , &amp;#039;&amp;amp;lt;db password&amp;amp;gt;&amp;#039;);&lt;br /&gt;
   Set($DatabaseName , &amp;#039;rt3&amp;#039;);&lt;br /&gt;
   &lt;br /&gt;
   # THE WEBSERVER:&lt;br /&gt;
   &lt;br /&gt;
   Set($WebPath , &amp;quot;&amp;quot;);&lt;br /&gt;
   #Set($WebPath , &amp;quot;/rt&amp;quot;);&lt;br /&gt;
   Set($WebBaseURL , &amp;quot;http://rt.yourdomain.com&amp;quot;);&lt;br /&gt;
   1;&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
13. now run make initialize-database&lt;br /&gt;
&lt;br /&gt;
 make initialize-database&lt;br /&gt;
&lt;br /&gt;
enter the password you created in step 6 you should get the following&lt;br /&gt;
&lt;br /&gt;
 Working with:&lt;br /&gt;
 Type: mysql&lt;br /&gt;
 Host: localhost&lt;br /&gt;
 Name: rtdb&lt;br /&gt;
 User: rtuser&lt;br /&gt;
 DBA: root&lt;br /&gt;
 Now creating a mysql database rtdb for RT.&lt;br /&gt;
 Done.&lt;br /&gt;
 Now populating database schema.&lt;br /&gt;
 Done.&lt;br /&gt;
 Now inserting database ACLs&lt;br /&gt;
 Granting access to rtuser@&amp;#039;localhost&amp;#039; on rtdb.&lt;br /&gt;
 Done.&lt;br /&gt;
 Now inserting RT core system objects&lt;br /&gt;
 Done.&lt;br /&gt;
 Now inserting data&lt;br /&gt;
 Done inserting data&lt;br /&gt;
 Done.&lt;br /&gt;
&lt;br /&gt;
14. backup and modify your default apache config backup:&lt;br /&gt;
&lt;br /&gt;
 mv /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;
now edit to reflect your sites specification&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;VirtualHost *:80&amp;amp;gt;&lt;br /&gt;
    ServerName rt.yourdomain.com&lt;br /&gt;
 &lt;br /&gt;
    DocumentRoot /opt/rt3/share/html&lt;br /&gt;
    PerlRequire &amp;quot;/opt/rt3/bin/webmux.pl&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;Location /&amp;amp;gt;&lt;br /&gt;
        AddDefaultCharset UTF-8&lt;br /&gt;
        SetHandler perl-script&lt;br /&gt;
        PerlResponseHandler RT::Mason&lt;br /&gt;
    &amp;amp;lt;/Location&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/VirtualHost&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
15. enable apache modules you might be using, this will depend on how you&amp;#039;ve configured your site&lt;br /&gt;
&lt;br /&gt;
 a2enmod perl&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
&lt;br /&gt;
=== Test RT ===&lt;br /&gt;
&lt;br /&gt;
16. stop start apache as needed&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 stop&lt;br /&gt;
 /etc/init.d/apache2 start&lt;br /&gt;
&lt;br /&gt;
17. now open up your favorite browser and login&lt;br /&gt;
&lt;br /&gt;
 http://your.ip.address.or.hostname&lt;br /&gt;
&lt;br /&gt;
the default login is&lt;br /&gt;
&lt;br /&gt;
 user: root&lt;br /&gt;
 password: password&lt;br /&gt;
&lt;br /&gt;
=== Install RTFM ===&lt;br /&gt;
&lt;br /&gt;
18. Download and extract RTFM&lt;br /&gt;
&lt;br /&gt;
 wget http://download.bestpractical.com/pub/rt/release/rtfm.tar.gz&lt;br /&gt;
 tar -xzvf rtfm.tar.gz&lt;br /&gt;
&lt;br /&gt;
19. Install and patch the database&lt;br /&gt;
&lt;br /&gt;
 cd RTFM-2.4.0&lt;br /&gt;
 perl Makefile.PL&lt;br /&gt;
 make install&lt;br /&gt;
 make initdb&lt;br /&gt;
&lt;br /&gt;
20. add follwing line to /opt/rt3/etc/[[RT SiteConfig|RT_SiteConfig]].pm&lt;br /&gt;
&lt;br /&gt;
 Set(@Plugins,qw(RT::FM));&lt;br /&gt;
&lt;br /&gt;
21. clear mason cache&lt;br /&gt;
&lt;br /&gt;
 rm -rf /opt/rt3/var/mason_data/*&lt;br /&gt;
&lt;br /&gt;
22. Stop and restart Apache&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 stop&lt;br /&gt;
 /etc/init.d/apache2 start&lt;br /&gt;
&lt;br /&gt;
23. log in again and retest&lt;br /&gt;
&lt;br /&gt;
=== Configure Postfix ===&lt;br /&gt;
&lt;br /&gt;
24. add follwing line to /etc/aliases&lt;br /&gt;
&lt;br /&gt;
 rt: &amp;quot;|/opt/rt3/bin/rt-mailgate --queue &amp;#039;General&amp;#039; --action correspond --url http://rt.yourdomain.com&amp;quot;&lt;br /&gt;
 rt-comment: &amp;quot;|/opt/rt3/bin/rt-mailgate --queue &amp;#039;General&amp;#039; --action comment --url http://rt.yourdomain.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
25. run newaliases command&lt;br /&gt;
&lt;br /&gt;
 newaliases&lt;br /&gt;
&lt;br /&gt;
26. Give everyone rights to [[CreateTicket]], [[ReplyToTicket]], [[CommentOnTicket]] (configuration, global, group rights)&lt;/div&gt;</summary>
		<author><name>66.219.32.14</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=DebianLennyInstallGuide&amp;diff=851&amp;oldid=prev</id>
		<title>193.193.132.194: /* Preparing your system */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=DebianLennyInstallGuide&amp;diff=851&amp;oldid=prev"/>
		<updated>2012-01-03T15:29:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Preparing your system&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 11:29, 3 January 2012&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-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&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;*Install Request-Tracker Apache2 package using the following command&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;*Install Request-Tracker Apache2 package using the following command&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;  aptitude install rt3.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8&lt;/del&gt;-apache2&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;  aptitude install rt3.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6&lt;/ins&gt;-apache2&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;*Install Request-Tracker 3.8 using the following command. When you are prompted to choose if dbconfig-common should be used select &amp;quot;NO&amp;quot; and continue with default choices.&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;*Install Request-Tracker 3.8 using the following command. When you are prompted to choose if dbconfig-common should be used select &amp;quot;NO&amp;quot; and continue with default choices.&lt;/div&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;  aptitude install request-tracker3.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8&lt;/del&gt;&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;  aptitude install request-tracker3.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;6&lt;/ins&gt;&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;=== Configuring Request Tracker ===&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;=== Configuring Request Tracker ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bestpractical_mediawiki1459887241:diff:1.41:old-850:rev-851:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>193.193.132.194</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=DebianLennyInstallGuide&amp;diff=850&amp;oldid=prev</id>
		<title>193.193.132.194: /* Preparing your system */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=DebianLennyInstallGuide&amp;diff=850&amp;oldid=prev"/>
		<updated>2012-01-03T12:46:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Preparing your system&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;
= Request-Tracker 3.8.1 on Debian Lenny =&lt;br /&gt;
&lt;br /&gt;
=== Repository Installation ===&lt;br /&gt;
&lt;br /&gt;
Taken from http://www.debianadmin.com/howto-setup-request-tracker-36-on-debian-etch.html with a few changes:&lt;br /&gt;
&lt;br /&gt;
=== Preparing your system ===&lt;br /&gt;
&lt;br /&gt;
*Install Postfix, fetchmail using the following command&lt;br /&gt;
 apt-get install postfix fetchmail&lt;br /&gt;
&lt;br /&gt;
*Select “Internet Site” when prompted&lt;br /&gt;
&lt;br /&gt;
*Install [[MySQL]] Server 5 using the following command. You must also set a root password of your choice for this installation to continue.&lt;br /&gt;
&lt;br /&gt;
 aptitude install mysql-server-5.0&lt;br /&gt;
&lt;br /&gt;
*Install Request-Tracker Apache2 package using the following command&lt;br /&gt;
&lt;br /&gt;
 aptitude install rt3.8-apache2&lt;br /&gt;
&lt;br /&gt;
*Install Request-Tracker 3.8 using the following command. When you are prompted to choose if dbconfig-common should be used select &amp;quot;NO&amp;quot; and continue with default choices.&lt;br /&gt;
 aptitude install request-tracker3.8&lt;br /&gt;
&lt;br /&gt;
=== Configuring Request Tracker ===&lt;br /&gt;
&lt;br /&gt;
The Request Tracker Configuration file is located at /etc/request-tracker3.6/[[RT SiteConfig|RT_SiteConfig]].pm. The following is an example configuration to run RT on the localhost with the necessary adjustments for RT operation. The domain &amp;quot;example.org&amp;quot; is used purely for demonstration purposes. You are welcome to edit the additional variables per the comments to suit your organisation.&lt;br /&gt;
* vi /etc/request-tracker3.6/[[RT SiteConfig|RT_SiteConfig]].pm&lt;br /&gt;
 [[RT SiteConfig|RT_SiteConfig]].pm # # These are the bits you absolutely &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; edit. # # To find out how, please read # /usr/share/doc/request-tracker3.6/NOTES.Debian&lt;br /&gt;
&lt;br /&gt;
* THE BASICS:&lt;br /&gt;
&lt;br /&gt;
 Set($rtname, ’support.example.org’);&lt;br /&gt;
 Set($Organization, ‘example.org’);&lt;br /&gt;
 Set($[[CorrespondAddress]] , ’[mailto:support@example.org support@example.org]’);&lt;br /&gt;
 Set($[[CommentAddress]] , ’[mailto:support-comment@example.org support-comment@example.org]’);&lt;br /&gt;
 Set($Timezone , ‘Europe/Brussels’); # obviously choose what suits you&lt;br /&gt;
&lt;br /&gt;
* THE DATABASE:&lt;br /&gt;
&lt;br /&gt;
 Set($[[DatabaseType]], ‘mysql’); # 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]] , ‘rtuser’);&lt;br /&gt;
 Set($[[DatabasePassword]] , ‘&amp;amp;lt;whatever_password_you_wish&amp;amp;gt;’);&lt;br /&gt;
 Set($[[DatabaseName]] , ‘rtdb’);&lt;br /&gt;
&lt;br /&gt;
* THE WEBSERVER:&lt;br /&gt;
&lt;br /&gt;
 # This sets RT to be accessed as http://localhost/rt. If you wanted to make it a virtualhost or subdomain you could configure this either via [[VirtualHosts]] configuration in any of the apache configuration files or the $[[WebPath]] variable.&lt;br /&gt;
 &lt;br /&gt;
 Set($[[WebPath]] , “/rt”);&lt;br /&gt;
 Set($[[WebBaseURL]] , “[http://xn--localhost)-1x6e http://localhost”)];&lt;br /&gt;
&lt;br /&gt;
=== Mysql Database Configuration ===&lt;br /&gt;
&lt;br /&gt;
*Create [[MySQL]] user&lt;br /&gt;
&lt;br /&gt;
The tutorial directs the installer to set a root password for mysql but that should have been done during the installation of mysql-server-5.0 so here are the steps following that:&lt;br /&gt;
&lt;br /&gt;
Create the user “rtuser” :&lt;br /&gt;
&lt;br /&gt;
 mysql -u root -p&lt;br /&gt;
 &lt;br /&gt;
 mysql&amp;amp;gt; GRANT ALL PRIVILEGES ON rtdb.* TO ‘rtuser’@&amp;#039;localhost’ IDENTIFIED BY ‘wibble’; FLUSH PRIVILEGES; QUIT&lt;br /&gt;
&lt;br /&gt;
*7. Set up RT database :&lt;br /&gt;
 /usr/sbin/rt-setup-database-3.6 --action init --dba root --prompt-for-dba-password&lt;br /&gt;
&lt;br /&gt;
You should see something like the following :&lt;br /&gt;
&lt;br /&gt;
 Password: Now creating a database for RT. &lt;br /&gt;
 Creating mysql database rtdb. &lt;br /&gt;
 Now populating database schema. &lt;br /&gt;
 Creating database schema. &lt;br /&gt;
 readline() on closed filehandle SCHEMA_LOCAL at /usr/sbin/rt-setup-database-3.6 line 223.&lt;br /&gt;
 Done setting up database schema.&lt;br /&gt;
 Now inserting database [[ACLs]] Done setting up database [[ACLs]].&lt;br /&gt;
 Now inserting RT core system objects Checking for existing system user…not found.&lt;br /&gt;
 This appears to be a new installation. Creating system user…done.&lt;br /&gt;
 Now inserting RT data Creating Superuser ACL…done.&lt;br /&gt;
 Creating groups…3.4.5.6.7.8.9.done.&lt;br /&gt;
 Creating users…10.12.done.&lt;br /&gt;
 Creating queues…1.2.done.&lt;br /&gt;
 Creating ACL…2.3.done.&lt;br /&gt;
 Creating [[ScripActions]]…1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done.&lt;br /&gt;
 Creating [[ScripConditions]]…1.2.3.4.5.6.7.8.9.10.done.&lt;br /&gt;
 Creating templates…1.2.3.4.5.6.7.8.9.10.11.12.done.&lt;br /&gt;
 Creating scrips…1.2.3.4.5.6.7.8.9.10.11.12.13.14.done.&lt;br /&gt;
 Creating predefined searches…1.2.3.done.&lt;br /&gt;
 Done setting up database content.&lt;br /&gt;
&lt;br /&gt;
=== Configuring Apache ===&lt;br /&gt;
&lt;br /&gt;
*Set up Apache2&lt;br /&gt;
&lt;br /&gt;
Add the following two lines to /etc/apache2/sites-enabled/000-default at the end of the file just before the closing virtualhost tag:&lt;br /&gt;
&lt;br /&gt;
 Include “/etc/request-tracker3.6/apache2-modperl2.conf”&lt;br /&gt;
 [[RedirectMatch]] ^/$ /rt/&lt;br /&gt;
&lt;br /&gt;
*Enable mod rewrite by using the command:&lt;br /&gt;
 # a2enmod rewrite&lt;br /&gt;
 cd /etc/apache2/mods-enabled/&lt;br /&gt;
&lt;br /&gt;
*The following may produce a message: &amp;quot;ln: creating symbolic link `./rewrite.load&amp;#039;: File exists&amp;quot; This doesn&amp;#039;t seem to cause any problems.&lt;br /&gt;
 ln -s ../mods-available/rewrite.load .&lt;br /&gt;
&lt;br /&gt;
*Restart Apache2&lt;br /&gt;
&lt;br /&gt;
 # /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
*Finally you need to login to rt and grant [[CreateTicket]] and [[ReplyToTicket]] to the group Everyone.&lt;br /&gt;
&lt;br /&gt;
http://localhost/rt/&lt;br /&gt;
&lt;br /&gt;
Login as user “root” Password is “password”&lt;br /&gt;
&lt;br /&gt;
Now you can start configuring the tickets and using RT. It is advised you change the root password to something more cryptic.&lt;br /&gt;
&lt;br /&gt;
=== Manual Installation ===&lt;br /&gt;
&lt;br /&gt;
copied from http://www.debianadmin.com/howto-setup-request-tracker-36-on-debian-etch.html and edited for my company&lt;br /&gt;
&lt;br /&gt;
1. setup base system with very minimalistic install&lt;br /&gt;
&lt;br /&gt;
2. update sources then upgrade&lt;br /&gt;
&lt;br /&gt;
 aptitude update&lt;br /&gt;
 aptitude full-upgrade&lt;br /&gt;
&lt;br /&gt;
3. install the following packages&lt;br /&gt;
&lt;br /&gt;
 aptitude install apache2 openssl mysql-server-5.0 postfix fetchmail&lt;br /&gt;
 libc6-dev libc-dev libmudflap0-dev make gcc gawk libapache2-mod-perl2&lt;br /&gt;
 libxml-handler-composer-perl libxml-generator-perl unzip mlocate&lt;br /&gt;
&lt;br /&gt;
4. choose &amp;quot;Internet Site with smart host&amp;quot; in postfix configuration and use yourmailserver as smart host.&lt;br /&gt;
&lt;br /&gt;
5. setup your mysql root password (NOTE: This is different from your system root password!)&lt;br /&gt;
&lt;br /&gt;
 mysqladmin -u root password &amp;amp;lt;yourpassword&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. download and unpack download:&lt;br /&gt;
&lt;br /&gt;
 wget http://download.bestpractical.com/pub/rt/release/rt.tar.gz&lt;br /&gt;
 tar -xzvf rt.tar.gz&lt;br /&gt;
 cd ./rt-3.8.1&lt;br /&gt;
&lt;br /&gt;
7. configure CPAN&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -e shell&lt;br /&gt;
&lt;br /&gt;
Choose auto config&lt;br /&gt;
&lt;br /&gt;
 Would you like me to configure as much as possible automatically?  [no]yes&lt;br /&gt;
&lt;br /&gt;
when asked about building prerequisites choose &amp;quot;follow&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Policy on building prerequisites (follow, ask or ignore)? [ask] follow&lt;br /&gt;
&lt;br /&gt;
Once you&amp;#039;re done and get the cpan&amp;amp;gt; prompt run o conf init&lt;br /&gt;
&lt;br /&gt;
 cpan&amp;amp;gt;o conf init&lt;br /&gt;
&lt;br /&gt;
this time choose choose enter no for auto config&lt;br /&gt;
&lt;br /&gt;
 Would you like me to configure as much as possible automatically?  [yes]no&lt;br /&gt;
&lt;br /&gt;
once you&amp;#039;re done go ahead and install Bundle::CPAN as per http://search.cpan.org/~andk/Bundle-CPAN-1.857/CPAN.pm &amp;quot;Bundle::CPAN - Bundle to optimize the behaviour of CPAN.pm&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 cpan&amp;amp;gt; install Bundle::CPAN&lt;br /&gt;
&lt;br /&gt;
.. ... install everything, including optional packages exit cpan once its complete&lt;br /&gt;
&lt;br /&gt;
 cpan&amp;amp;gt; exit&lt;br /&gt;
&lt;br /&gt;
8. lets start the rt install&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
&lt;br /&gt;
9. run make testdeps&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
Expect to see errors a fews time due to the missing dependencies you should get something similar at the end. We will be running make testdeps a few times to make sure all dependencies are satisfied.&lt;br /&gt;
&lt;br /&gt;
 make: *** [testdeps] Error 1&lt;br /&gt;
&lt;br /&gt;
10. now run make fixdeps&lt;br /&gt;
&lt;br /&gt;
 make fixdeps&lt;br /&gt;
&lt;br /&gt;
keep hitting yes when asked about prepending.&lt;br /&gt;
&lt;br /&gt;
 Shall I follow them and prepend them to the queue of modules we are processing right now? [yes]&lt;br /&gt;
&lt;br /&gt;
run make testdeps to see if we are still missing dependencies&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
you might get the following message&lt;br /&gt;
&lt;br /&gt;
 SOME DEPENDENCIES WERE MISSING.&lt;br /&gt;
 ICAL missing dependencies:&lt;br /&gt;
 Data::ICal...MISSING&lt;br /&gt;
 make: *** [fixdeps] Error 1&lt;br /&gt;
&lt;br /&gt;
simply re-run for any missing dependencies&lt;br /&gt;
&lt;br /&gt;
 make fixdeps&lt;br /&gt;
 ..&lt;br /&gt;
 All dependencies have been found.&lt;br /&gt;
&lt;br /&gt;
to make sure everything is satisfied&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
&lt;br /&gt;
and you should get the following&lt;br /&gt;
&lt;br /&gt;
 All dependencies have been found&lt;br /&gt;
&lt;br /&gt;
11. now run make install&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
12. once completed you will need to edit [[RT SiteConfig|RT_SiteConfig]].pm backup:&lt;br /&gt;
&lt;br /&gt;
 cp /opt/rt3/etc/RT_SiteConfig.pm /opt/rt3/etc/RT_SiteConfig.pm.orig&lt;br /&gt;
 vim /opt/rt3/etc/RT_SiteConfig.pm&lt;br /&gt;
&lt;br /&gt;
edit your [[RT SiteConfig|RT_SiteConfig]].pm to reflect your specific settings&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Set($rtname , &amp;quot;rt.yourdomain.com&amp;quot;);&lt;br /&gt;
   Set($Organization , &amp;quot;yourdomain.com&amp;quot;);&lt;br /&gt;
   Set($CorrespondAddress , &amp;#039;rt@rt.yourdomain.com&amp;#039;);&lt;br /&gt;
   Set($CommentAddress , &amp;#039;rt-comment@rt.yourdomain.com&amp;#039;);&lt;br /&gt;
   Set($OwnerEmail , &amp;#039;root&amp;#039;);&lt;br /&gt;
   Set($MaxAttachmentSize , 10000000);&lt;br /&gt;
   &lt;br /&gt;
   # THE DATABASE:&lt;br /&gt;
   &lt;br /&gt;
   Set($DatabaseType, &amp;#039;mysql&amp;#039;); # e.g. Pg or mysql&lt;br /&gt;
   &lt;br /&gt;
   # These are the settings that will be used when&lt;br /&gt;
   # &amp;#039;make initialize-database&amp;#039; is run, you MUST set&lt;br /&gt;
   # these to what you want.&lt;br /&gt;
   &lt;br /&gt;
   Set($DatabaseUser , &amp;#039;rt_user&amp;#039;);&lt;br /&gt;
   Set($DatabasePassword , &amp;#039;&amp;amp;lt;db password&amp;amp;gt;&amp;#039;);&lt;br /&gt;
   Set($DatabaseName , &amp;#039;rt3&amp;#039;);&lt;br /&gt;
   &lt;br /&gt;
   # THE WEBSERVER:&lt;br /&gt;
   &lt;br /&gt;
   Set($WebPath , &amp;quot;&amp;quot;);&lt;br /&gt;
   #Set($WebPath , &amp;quot;/rt&amp;quot;);&lt;br /&gt;
   Set($WebBaseURL , &amp;quot;http://rt.yourdomain.com&amp;quot;);&lt;br /&gt;
   1;&lt;br /&gt;
   &lt;br /&gt;
   &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
13. now run make initialize-database&lt;br /&gt;
&lt;br /&gt;
 make initialize-database&lt;br /&gt;
&lt;br /&gt;
enter the password you created in step 6 you should get the following&lt;br /&gt;
&lt;br /&gt;
 Working with:&lt;br /&gt;
 Type: mysql&lt;br /&gt;
 Host: localhost&lt;br /&gt;
 Name: rtdb&lt;br /&gt;
 User: rtuser&lt;br /&gt;
 DBA: root&lt;br /&gt;
 Now creating a mysql database rtdb for RT.&lt;br /&gt;
 Done.&lt;br /&gt;
 Now populating database schema.&lt;br /&gt;
 Done.&lt;br /&gt;
 Now inserting database ACLs&lt;br /&gt;
 Granting access to rtuser@&amp;#039;localhost&amp;#039; on rtdb.&lt;br /&gt;
 Done.&lt;br /&gt;
 Now inserting RT core system objects&lt;br /&gt;
 Done.&lt;br /&gt;
 Now inserting data&lt;br /&gt;
 Done inserting data&lt;br /&gt;
 Done.&lt;br /&gt;
&lt;br /&gt;
14. backup and modify your default apache config backup:&lt;br /&gt;
&lt;br /&gt;
 mv /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;
now edit to reflect your sites specification&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;VirtualHost *:80&amp;amp;gt;&lt;br /&gt;
    ServerName rt.yourdomain.com&lt;br /&gt;
 &lt;br /&gt;
    DocumentRoot /opt/rt3/share/html&lt;br /&gt;
    PerlRequire &amp;quot;/opt/rt3/bin/webmux.pl&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;Location /&amp;amp;gt;&lt;br /&gt;
        AddDefaultCharset UTF-8&lt;br /&gt;
        SetHandler perl-script&lt;br /&gt;
        PerlResponseHandler RT::Mason&lt;br /&gt;
    &amp;amp;lt;/Location&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/VirtualHost&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
15. enable apache modules you might be using, this will depend on how you&amp;#039;ve configured your site&lt;br /&gt;
&lt;br /&gt;
 a2enmod perl&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
&lt;br /&gt;
=== Test RT ===&lt;br /&gt;
&lt;br /&gt;
16. stop start apache as needed&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 stop&lt;br /&gt;
 /etc/init.d/apache2 start&lt;br /&gt;
&lt;br /&gt;
17. now open up your favorite browser and login&lt;br /&gt;
&lt;br /&gt;
 http://your.ip.address.or.hostname&lt;br /&gt;
&lt;br /&gt;
the default login is&lt;br /&gt;
&lt;br /&gt;
 user: root&lt;br /&gt;
 password: password&lt;br /&gt;
&lt;br /&gt;
=== Install RTFM ===&lt;br /&gt;
&lt;br /&gt;
18. Download and extract RTFM&lt;br /&gt;
&lt;br /&gt;
 wget http://download.bestpractical.com/pub/rt/release/rtfm.tar.gz&lt;br /&gt;
 tar -xzvf rtfm.tar.gz&lt;br /&gt;
&lt;br /&gt;
19. Install and patch the database&lt;br /&gt;
&lt;br /&gt;
 cd RTFM-2.4.0&lt;br /&gt;
 perl Makefile.PL&lt;br /&gt;
 make install&lt;br /&gt;
 make initdb&lt;br /&gt;
&lt;br /&gt;
20. add follwing line to /opt/rt3/etc/[[RT SiteConfig|RT_SiteConfig]].pm&lt;br /&gt;
&lt;br /&gt;
 Set(@Plugins,qw(RT::FM));&lt;br /&gt;
&lt;br /&gt;
21. clear mason cache&lt;br /&gt;
&lt;br /&gt;
 rm -rf /opt/rt3/var/mason_data/*&lt;br /&gt;
&lt;br /&gt;
22. Stop and restart Apache&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 stop&lt;br /&gt;
 /etc/init.d/apache2 start&lt;br /&gt;
&lt;br /&gt;
23. log in again and retest&lt;br /&gt;
&lt;br /&gt;
=== Configure Postfix ===&lt;br /&gt;
&lt;br /&gt;
24. add follwing line to /etc/aliases&lt;br /&gt;
&lt;br /&gt;
 rt: &amp;quot;|/opt/rt3/bin/rt-mailgate --queue &amp;#039;General&amp;#039; --action correspond --url http://rt.yourdomain.com&amp;quot;&lt;br /&gt;
 rt-comment: &amp;quot;|/opt/rt3/bin/rt-mailgate --queue &amp;#039;General&amp;#039; --action comment --url http://rt.yourdomain.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
25. run newaliases command&lt;br /&gt;
&lt;br /&gt;
 newaliases&lt;br /&gt;
&lt;br /&gt;
26. Give everyone rights to [[CreateTicket]], [[ReplyToTicket]], [[CommentOnTicket]] (configuration, global, group rights)&lt;/div&gt;</summary>
		<author><name>193.193.132.194</name></author>
	</entry>
	<entry>
		<id>https://rt-wiki.bestpractical.com/index.php?title=DebianLennyInstallGuide&amp;diff=844&amp;oldid=prev</id>
		<title>164.41.102.31: /* Configuring Apache */</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=DebianLennyInstallGuide&amp;diff=844&amp;oldid=prev"/>
		<updated>2011-02-14T00:42:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Configuring Apache&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;= Request-Tracker 3.8.1 on Debian Lenny =&lt;br /&gt;
&lt;br /&gt;
=== Repository Installation ===&lt;br /&gt;
&lt;br /&gt;
Taken from http://www.debianadmin.com/howto-setup-request-tracker-36-on-debian-etch.html with a few changes:&lt;br /&gt;
&lt;br /&gt;
=== Preparing your system ===&lt;br /&gt;
&lt;br /&gt;
1. Install Postfix, fetchmail using the following command&lt;br /&gt;
&lt;br /&gt;
#apt-get install postfix fetchmail&lt;br /&gt;
&lt;br /&gt;
Select “Internet Site” when prompted&lt;br /&gt;
&lt;br /&gt;
2. Install [[MySQL]] Server 5 using the following command. You must also set a root password of your choice for this installation to continue.&lt;br /&gt;
&lt;br /&gt;
#aptitude install mysql-server-5.0&lt;br /&gt;
&lt;br /&gt;
3. Install Request-Tracker Apache2 package using the following command&lt;br /&gt;
&lt;br /&gt;
#aptitude install rt3.6-apache2&lt;br /&gt;
&lt;br /&gt;
4. Install Request-Tracker 3.6 using the following command. When you are prompted to choose if dbconfig-common should be used select &amp;quot;NO&amp;quot; and continue with default choices.&lt;br /&gt;
&lt;br /&gt;
#aptitude install request-tracker3.6&lt;br /&gt;
&lt;br /&gt;
=== Configuring Request Tracker ===&lt;br /&gt;
&lt;br /&gt;
5. The Request Tracker Configuration file is located at /etc/request-tracker3.6/[[RT SiteConfig|RT_SiteConfig]].pm. The following is an example configuration to run RT on the localhost with the necessary adjustments for RT operation. The domain &amp;quot;example.org&amp;quot; is used purely for demonstration purposes. You are welcome to edit the additional variables per the comments to suit your organisation.&lt;br /&gt;
&lt;br /&gt;
# vi /etc/request-tracker3.6/[[RT SiteConfig|RT_SiteConfig]].pm&lt;br /&gt;
&lt;br /&gt;
# [[RT SiteConfig|RT_SiteConfig]].pm # # These are the bits you absolutely &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; edit. # # To find out how, please read # /usr/share/doc/request-tracker3.6/NOTES.Debian&lt;br /&gt;
&lt;br /&gt;
# THE BASICS:&lt;br /&gt;
&lt;br /&gt;
Set($rtname, ’support.example.org’); Set($Organization, ‘example.org’);&lt;br /&gt;
&lt;br /&gt;
Set($[[CorrespondAddress]] , ’[mailto:support@example.org support@example.org]’); Set($[[CommentAddress]] , ’[mailto:support-comment@example.org support-comment@example.org]’);&lt;br /&gt;
&lt;br /&gt;
Set($Timezone , ‘Europe/Brussels’); # obviously choose what suits you&lt;br /&gt;
&lt;br /&gt;
# THE DATABASE:&lt;br /&gt;
&lt;br /&gt;
Set($[[DatabaseType]], ‘mysql’); # e.g. Pg or mysql&lt;br /&gt;
&lt;br /&gt;
# These are the settings we used above when creating the RT database, # you MUST set these to what you chose in the section above.&lt;br /&gt;
&lt;br /&gt;
Set($[[DatabaseUser]] , ‘rtuser’); Set($[[DatabasePassword]] , ‘&amp;amp;lt;whatever_password_you_wish&amp;amp;gt;’); Set($[[DatabaseName]] , ‘rtdb’);&lt;br /&gt;
&lt;br /&gt;
# THE WEBSERVER: # This sets RT to be accessed as http://localhost/rt. If you wanted to make it a virtualhost or subdomain you could configure this either via [[VirtualHosts]] configuration in any of the apache configuration files or the $[[WebPath]] variable.&lt;br /&gt;
&lt;br /&gt;
Set($[[WebPath]] , “/rt”); Set($[[WebBaseURL]] , “[http://xn--localhost)-1x6e http://localhost”)];&lt;br /&gt;
&lt;br /&gt;
=== Mysql Database Configuration ===&lt;br /&gt;
&lt;br /&gt;
6. Create [[MySQL]] user&lt;br /&gt;
&lt;br /&gt;
The tutorial directs the installer to set a root password for mysql but that should have been done during the installation of mysql-server-5.0 so here are the steps following that:&lt;br /&gt;
&lt;br /&gt;
Create the user “rtuser” :&lt;br /&gt;
&lt;br /&gt;
mysql -u root -p&lt;br /&gt;
&lt;br /&gt;
mysql&amp;amp;gt; GRANT ALL PRIVILEGES ON rtdb.* TO ‘rtuser’@&amp;#039;localhost’ IDENTIFIED BY ‘wibble’; FLUSH PRIVILEGES; QUIT&lt;br /&gt;
&lt;br /&gt;
7. Set up RT database :&lt;br /&gt;
&lt;br /&gt;
# /usr/sbin/rt-setup-database-3.6 --action init --dba root --prompt-for-dba-password&lt;br /&gt;
&lt;br /&gt;
You should see something like the following :&lt;br /&gt;
&lt;br /&gt;
Password: Now creating a database for RT. Creating mysql database rtdb. Now populating database schema. Creating database schema. readline() on closed filehandle SCHEMA_LOCAL at /usr/sbin/rt-setup-database-3.6 line 223. Done setting up database schema. Now inserting database [[ACLs]] Done setting up database [[ACLs]]. Now inserting RT core system objects Checking for existing system user…not found. This appears to be a new installation. Creating system user…done. Now inserting RT data Creating Superuser ACL…done. Creating groups…3.4.5.6.7.8.9.done. Creating users…10.12.done. Creating queues…1.2.done. Creating ACL…2.3.done. Creating [[ScripActions]]…1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done. Creating [[ScripConditions]]…1.2.3.4.5.6.7.8.9.10.done. Creating templates…1.2.3.4.5.6.7.8.9.10.11.12.done. Creating scrips…1.2.3.4.5.6.7.8.9.10.11.12.13.14.done. Creating predefined searches…1.2.3.done. Done setting up database content.&lt;br /&gt;
&lt;br /&gt;
=== Configuring Apache ===&lt;br /&gt;
&lt;br /&gt;
8. Set up Apache2&lt;br /&gt;
&lt;br /&gt;
Add the following two lines to /etc/apache2/sites-enabled/000-default at the end of the file just before the closing virtualhost tag:&lt;br /&gt;
&lt;br /&gt;
Include “/etc/request-tracker3.6/apache2-modperl2.conf”&lt;br /&gt;
&lt;br /&gt;
[[RedirectMatch]] ^/$ /rt/&lt;br /&gt;
&lt;br /&gt;
9. Enable mod rewrite by using the command: # a2enmod rewrite&lt;br /&gt;
&lt;br /&gt;
# cd /etc/apache2/mods-enabled/&lt;br /&gt;
&lt;br /&gt;
10. The following may produce a message: &amp;quot;ln: creating symbolic link `./rewrite.load&amp;#039;: File exists&amp;quot; This doesn&amp;#039;t seem to cause any problems.&lt;br /&gt;
&lt;br /&gt;
# ln -s ../mods-available/rewrite.load .&lt;br /&gt;
&lt;br /&gt;
Restart Apache2&lt;br /&gt;
&lt;br /&gt;
11. # /etc/init.d/apache2 restart&lt;br /&gt;
&lt;br /&gt;
12. Finally you need to login to rt and grant [[CreateTicket]] and [[ReplyToTicket]] to the group Everyone.&lt;br /&gt;
&lt;br /&gt;
http://localhost/rt/&lt;br /&gt;
&lt;br /&gt;
Login as user “root” Password is “password”&lt;br /&gt;
&lt;br /&gt;
Now you can start configuring the tickets and using RT. It is advised you change the root password to something more cryptic.&lt;br /&gt;
&lt;br /&gt;
=== Manual Installation ===&lt;br /&gt;
&lt;br /&gt;
copied from http://rtvm.tehcorner.com/rt38/ and edited for my company&lt;br /&gt;
&lt;br /&gt;
1. setup base system with very minimalistic install&lt;br /&gt;
&lt;br /&gt;
2. update sources then upgrade&lt;br /&gt;
&lt;br /&gt;
 aptitude update&lt;br /&gt;
 aptitude full-upgrade&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
3. install the following packages&lt;br /&gt;
&lt;br /&gt;
 aptitude install apache2 openssl mysql-server-5.0 postfix fetchmail&lt;br /&gt;
 libc6-dev libc-dev libmudflap0-dev make gcc gawk libapache2-mod-perl2&lt;br /&gt;
 libxml-handler-composer-perl libxml-generator-perl unzip mlocate&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
4. choose &amp;quot;Internet Site with smart host&amp;quot; in postfix configuration and use yourmailserver as smart host.&lt;br /&gt;
&lt;br /&gt;
5. setup your mysql root password (NOTE: This is different from your system root password!)&lt;br /&gt;
&lt;br /&gt;
 mysqladmin -u root password &amp;amp;lt;yourpassword&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
6. download and unpack download:&lt;br /&gt;
&lt;br /&gt;
 wget http://download.bestpractical.com/pub/rt/release/rt.tar.gz&lt;br /&gt;
 tar -xzvf rt.tar.gz&lt;br /&gt;
 cd ./rt-3.8.1&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
7. configure CPAN&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -e shell&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Choose auto config&lt;br /&gt;
&lt;br /&gt;
 Would you like me to configure as much as possible automatically?  [no]yes&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
when asked about building prerequisites choose &amp;quot;follow&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 Policy on building prerequisites (follow, ask or ignore)? [ask] follow&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Once you&amp;#039;re done and get the cpan&amp;amp;gt; prompt run o conf init&lt;br /&gt;
&lt;br /&gt;
 cpan&amp;amp;gt;o conf init&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
this time choose choose enter no for auto config&lt;br /&gt;
&lt;br /&gt;
 Would you like me to configure as much as possible automatically?  [yes]no&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
once you&amp;#039;re done go ahead and install Bundle::CPAN as per http://search.cpan.org/~andk/Bundle-CPAN-1.857/CPAN.pm &amp;quot;Bundle::CPAN - Bundle to optimize the behaviour of CPAN.pm&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 cpan&amp;amp;gt; install Bundle::CPAN&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
.. ... install everything, including optional packages exit cpan once its complete&lt;br /&gt;
&lt;br /&gt;
 cpan&amp;amp;gt; exit&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
8. lets start the rt install&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
9. run make testdeps&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Expect to see errors a fews time due to the missing dependencies you should get something similar at the end. We will be running make testdeps a few times to make sure all dependencies are satisfied.&lt;br /&gt;
&lt;br /&gt;
 make: *** [testdeps] Error 1&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
10. now run make fixdeps&lt;br /&gt;
&lt;br /&gt;
 make fixdeps&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
keep hitting yes when asked about prepending.&lt;br /&gt;
&lt;br /&gt;
 Shall I follow them and prepend them to the queue of modules we are processing right now? [yes]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
run make testdeps to see if we are still missing dependencies&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
you might get the following message&lt;br /&gt;
&lt;br /&gt;
 SOME DEPENDENCIES WERE MISSING.&lt;br /&gt;
 ICAL missing dependencies:&lt;br /&gt;
 Data::ICal...MISSING&lt;br /&gt;
 make: *** [fixdeps] Error 1&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
simply re-run for any missing dependencies&lt;br /&gt;
&lt;br /&gt;
 make fixdeps&lt;br /&gt;
 ..&lt;br /&gt;
 All dependencies have been found.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
to make sure everything is satisfied&lt;br /&gt;
&lt;br /&gt;
 make testdeps&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
and you should get the following&lt;br /&gt;
&lt;br /&gt;
 All dependencies have been found&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
11. now run make install&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
=== Configuration ===&lt;br /&gt;
&lt;br /&gt;
12. once completed you will need to edit [[RT SiteConfig|RT_SiteConfig]].pm backup:&lt;br /&gt;
&lt;br /&gt;
 cp /opt/rt3/etc/RT_SiteConfig.pm /opt/rt3/etc/RT_SiteConfig.pm.orig&lt;br /&gt;
 vim /opt/rt3/etc/RT_SiteConfig.pm&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
edit your [[RT SiteConfig|RT_SiteConfig]].pm to reflect your specific settings&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Set($rtname , &amp;quot;rt.yourdomain.com&amp;quot;);&lt;br /&gt;
 Set($Organization , &amp;quot;yourdomain.com&amp;quot;);&lt;br /&gt;
 Set($CorrespondAddress , &amp;#039;rt@rt.yourdomain.com&amp;#039;);&lt;br /&gt;
 Set($CommentAddress , &amp;#039;rt-comment@rt.yourdomain.com&amp;#039;);&lt;br /&gt;
 Set($OwnerEmail , &amp;#039;root&amp;#039;);&lt;br /&gt;
 Set($MaxAttachmentSize , 10000000);&lt;br /&gt;
 &lt;br /&gt;
 # THE DATABASE:&lt;br /&gt;
 &lt;br /&gt;
 Set($DatabaseType, &amp;#039;mysql&amp;#039;); # e.g. Pg or mysql&lt;br /&gt;
 &lt;br /&gt;
 # These are the settings that will be used when&lt;br /&gt;
 # &amp;#039;make initialize-database&amp;#039; is run, you MUST set&lt;br /&gt;
 # these to what you want.&lt;br /&gt;
 &lt;br /&gt;
 Set($DatabaseUser , &amp;#039;rt_user&amp;#039;);&lt;br /&gt;
 Set($DatabasePassword , &amp;#039;&amp;amp;lt;db password&amp;amp;gt;&amp;#039;);&lt;br /&gt;
 Set($DatabaseName , &amp;#039;rt3&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
 # THE WEBSERVER:&lt;br /&gt;
 &lt;br /&gt;
 Set($WebPath , &amp;quot;&amp;quot;);&lt;br /&gt;
 #Set($WebPath , &amp;quot;/rt&amp;quot;);&lt;br /&gt;
 Set($WebBaseURL , &amp;quot;http://rt.yourdomain.com&amp;quot;);&lt;br /&gt;
 1;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
13. now run make initialize-database&lt;br /&gt;
&lt;br /&gt;
 make initialize-database&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
enter the password you created in step 6 you should get the following&lt;br /&gt;
&lt;br /&gt;
 Working with:&lt;br /&gt;
 Type: mysql&lt;br /&gt;
 Host: localhost&lt;br /&gt;
 Name: rtdb&lt;br /&gt;
 User: rtuser&lt;br /&gt;
 DBA: root&lt;br /&gt;
 Now creating a mysql database rtdb for RT.&lt;br /&gt;
 Done.&lt;br /&gt;
 Now populating database schema.&lt;br /&gt;
 Done.&lt;br /&gt;
 Now inserting database ACLs&lt;br /&gt;
 Granting access to rtuser@&amp;#039;localhost&amp;#039; on rtdb.&lt;br /&gt;
 Done.&lt;br /&gt;
 Now inserting RT core system objects&lt;br /&gt;
 Done.&lt;br /&gt;
 Now inserting data&lt;br /&gt;
 Done inserting data&lt;br /&gt;
 Done.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
14. backup and modify your default apache config backup:&lt;br /&gt;
&lt;br /&gt;
 mv /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;
now edit to reflect your sites specification&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;lt;VirtualHost *:80&amp;amp;gt;&lt;br /&gt;
    ServerName rt.yourdomain.com&lt;br /&gt;
 &lt;br /&gt;
    DocumentRoot /opt/rt3/share/html&lt;br /&gt;
    PerlRequire &amp;quot;/opt/rt3/bin/webmux.pl&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
    &amp;amp;lt;Location /&amp;amp;gt;&lt;br /&gt;
        AddDefaultCharset UTF-8&lt;br /&gt;
        SetHandler perl-script&lt;br /&gt;
        PerlResponseHandler RT::Mason&lt;br /&gt;
    &amp;amp;lt;/Location&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/VirtualHost&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
15. enable apache modules you might be using, this will depend on how you&amp;#039;ve configured your site&lt;br /&gt;
&lt;br /&gt;
 a2enmod perl&lt;br /&gt;
 a2enmod rewrite&lt;br /&gt;
&lt;br /&gt;
=== Test RT ===&lt;br /&gt;
&lt;br /&gt;
16. stop start apache as needed&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 stop&lt;br /&gt;
 /etc/init.d/apache2 start&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
17. now open up your favorite browser and login&lt;br /&gt;
&lt;br /&gt;
 http://your.ip.address.or.hostname&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
the default login is&lt;br /&gt;
&lt;br /&gt;
 user: root&lt;br /&gt;
 password: password&lt;br /&gt;
&lt;br /&gt;
=== Install RTFM ===&lt;br /&gt;
&lt;br /&gt;
18. Download and extract RTFM&lt;br /&gt;
&lt;br /&gt;
 wget http://download.bestpractical.com/pub/rt/release/rtfm.tar.gz&lt;br /&gt;
 tar -xzvf rtfm.tar.gz&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
19. Install and patch the database&lt;br /&gt;
&lt;br /&gt;
 cd RTFM-2.4.0&lt;br /&gt;
 perl Makefile.PL&lt;br /&gt;
 make install&lt;br /&gt;
 make initdb&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
20. add follwing line to /opt/rt3/etc/[[RT SiteConfig|RT_SiteConfig]].pm&lt;br /&gt;
&lt;br /&gt;
 Set(@Plugins,qw(RT::FM));&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
21. clear mason cache&lt;br /&gt;
&lt;br /&gt;
 rm -rf /opt/rt3/var/mason_data/*&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
22. Stop and restart Apache&lt;br /&gt;
&lt;br /&gt;
 /etc/init.d/apache2 stop&lt;br /&gt;
 /etc/init.d/apache2 start&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
23. log in again and retest&lt;br /&gt;
&lt;br /&gt;
=== Configure Postfix ===&lt;br /&gt;
&lt;br /&gt;
24. add follwing line to /etc/aliases&lt;br /&gt;
&lt;br /&gt;
 rt: &amp;quot;|/opt/rt3/bin/rt-mailgate --queue &amp;#039;General&amp;#039; --action correspond --url http://rt.yourdomain.com&amp;quot;&lt;br /&gt;
 rt-comment: &amp;quot;|/opt/rt3/bin/rt-mailgate --queue &amp;#039;General&amp;#039; --action comment --url http://rt.yourdomain.com&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
25. run newaliases command&lt;br /&gt;
&lt;br /&gt;
 newaliases&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
26. Give everyone rights to [[CreateTicket]], [[ReplyToTicket]], [[CommentOnTicket]] (configuration, global, group rights)&lt;/div&gt;</summary>
		<author><name>164.41.102.31</name></author>
	</entry>
</feed>