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

		<summary type="html">&lt;p&gt;5 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{OutdatedInstallGuide}}&lt;br /&gt;
&lt;br /&gt;
= DEBIAN SARGE INSTALLATION =&lt;br /&gt;
&lt;br /&gt;
This installation guide targets Debian Sarge Site. Furthermore is uses the Debian Package System as much as possible.&lt;br /&gt;
&lt;br /&gt;
== 1. Requirements ==&lt;br /&gt;
&lt;br /&gt;
* Debian Sarge&lt;br /&gt;
* Apache 1.3 SSL med mod_perl&lt;br /&gt;
* RT-3.6.3&lt;br /&gt;
&lt;br /&gt;
This guide uses postfix, if you wish to use an other MTA remove postfix from the list below. If you wish to use any other DB than mysql you also need to modify the list below.&lt;br /&gt;
&lt;br /&gt;
== 2. Basic installation ==&lt;br /&gt;
&lt;br /&gt;
You need a basic installed Debian Stable with as few packages as possible.&lt;br /&gt;
&lt;br /&gt;
Install the following packages using &amp;#039;&amp;#039;&amp;#039;apt-get install&amp;#039;&amp;#039;&amp;#039;, do &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; use aptitude. It can mess the order of installation:&lt;br /&gt;
&lt;br /&gt;
(Note added: if &amp;#039;gcc&amp;#039; is added to the list below, aptitude can be used to install. Aptitude can cause problems when you wish to deinstall the apache2 package by including too many dependencies)&lt;br /&gt;
&lt;br /&gt;
 gcc-3.3-base gettext-base gzip less libapr0 libattr1 libblkid1&lt;br /&gt;
 libcache-cache-perl libcache-simple-timedexpiry-perl libcap1 libclass-container-perl&lt;br /&gt;
 libclass-data-inheritable-perl libclass-returnvalue-perl libcomerr2 libconsole&lt;br /&gt;
 libconvert-binhex-perl libdb1-compat libdb3 libdb4.2 libdbd-mysql-perl libdbi-perl&lt;br /&gt;
 libdevel-stacktrace-perl libdevel-symdump-perl libdigest-sha1-perl libdiscover1&lt;br /&gt;
 liberror-perl libexception-class-perl libexpat1 libfont-afm-perl libfreezethaw-perl&lt;br /&gt;
 libgcc1 libgcrypt11 libgdbm3 libgnutls11 libgpg-error0 libhtml-format-perl&lt;br /&gt;
 libhtml-mason-perl libhtml-parser-perl libhtml-scrubber-perl libhtml-tagset-perl&lt;br /&gt;
 libhtml-tree-perl libhttp-server-simple-perl libinline-perl libio-stringy-perl&lt;br /&gt;
 libipc-sharelite-perl libldap2 liblocale-gettext-perl liblocale-maketext-fuzzy-perl&lt;br /&gt;
 liblocale-maketext-lexicon-perl liblockfile1 liblog-dispatch-perl liblzo1 libmagic1&lt;br /&gt;
 libmailtools-perl libmime-perl libmldbm-perl libmodule-versions-report-perl&lt;br /&gt;
 libmysqlclient12 libmysqlclient14 libncurses5 libnet-daemon-perl libnewt0.51&lt;br /&gt;
 libopencdk8 libpam-modules libpam-runtime libpam0g libparams-validate-perl&lt;br /&gt;
 libparse-recdescent-perl libpcap0.7 libpcap0.8 libpcre3 libperl5.8 libplrpc-perl&lt;br /&gt;
 libregexp-common-perl libsasl2 libsigc++-1.2-5c102 libss2 libssl0.9.7 libstdc++5&lt;br /&gt;
 libtasn1-2 libterm-readkey-perl libtest-inline-perl libtext-autoformat-perl&lt;br /&gt;
 libtext-charwidth-perl libtext-iconv-perl libtext-quoted-perl libtext-reform-perl&lt;br /&gt;
 libtext-template-perl libtext-wrapi18n-perl libtext-wrapper-perl&lt;br /&gt;
 libtextwrap1 libtime-modules-perl libtimedate-perl libtree-simple-perl liburi-perl&lt;br /&gt;
 libusb-0.1-4 libuuid1 libwrap0 libwww-mechanize-perl libwww-perl&lt;br /&gt;
 libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-rss-perl&lt;br /&gt;
 libxml-sax-perl libxml-simple-perl libxml2 make makedev man-db mime-support&lt;br /&gt;
 mysql-client-4.1 mysql-common-4.1 perl perl-base perl-modules ftp&lt;br /&gt;
 ncftp unzip gnupg lynx libclone-perl libwant-perl libcarp-assert-more-perl&lt;br /&gt;
 libcarp-assert-perl libtest-builder-tester-perl libtest-exception-perl&lt;br /&gt;
 libsub-uplevel-perl libdbd-sqlite3-perl libdbix-dbschema-perl libclass-accessor-perl&lt;br /&gt;
 postfix apache2-common apache2-mpm-worker apache2-threaded-dev apache2&lt;br /&gt;
 libapache-sessionx-perl libgd-graph-perl libcalendar-simple-perl&lt;br /&gt;
 libcrypt-ssleay-perl traceroute gwhois mtr-tiny libset-intspan-perl&lt;br /&gt;
 libarchive-tar-perl libextutils-parsexs-perl  libpopt0 libreadline4&lt;br /&gt;
 libxml-libxml-common-perl perl mysql-server-4.1 libuniversal-exports-perl&lt;br /&gt;
&lt;br /&gt;
you might for example put these lines into a file called &amp;#039;&amp;#039;&amp;#039;packages&amp;#039;&amp;#039;&amp;#039; and then use this command to perform the installation:&lt;br /&gt;
&lt;br /&gt;
 for i in $(cat packages); do packages=&amp;quot;$packages $i&amp;quot;; done; apt-get install $packages&lt;br /&gt;
&lt;br /&gt;
== CPAN configuration ==&lt;br /&gt;
&lt;br /&gt;
The following file can be copied into &amp;#039;&amp;#039;&amp;#039;/etc/perl/CPAN/Config.pm&amp;#039;&amp;#039;&amp;#039; to avoid manual configuration of CPAN. The config is however limited.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# This is CPAN.pm&amp;#039;s systemwide configuration file. This file provides&lt;br /&gt;
  # defaults for users, and the values can be changed in a per-user&lt;br /&gt;
  # configuration file. The user-config file is being looked for as&lt;br /&gt;
  # ~/.cpan/CPAN/MyConfig.pm.&lt;br /&gt;
  &lt;br /&gt;
  $CPAN::Config = {&lt;br /&gt;
  &amp;#039;build_cache&amp;#039; =&amp;amp;gt; q[10],&lt;br /&gt;
  &amp;#039;build_dir&amp;#039; =&amp;amp;gt; q[/root/.cpan/build],&lt;br /&gt;
  &amp;#039;cache_metadata&amp;#039; =&amp;amp;gt; q[1],&lt;br /&gt;
  &amp;#039;cpan_home&amp;#039; =&amp;amp;gt; q[/root/.cpan],&lt;br /&gt;
  &amp;#039;cpan_version_check&amp;#039; =&amp;amp;gt; q[1],&lt;br /&gt;
  &amp;#039;dontload_hash&amp;#039; =&amp;amp;gt; {  },&lt;br /&gt;
  &amp;#039;ftp&amp;#039; =&amp;amp;gt; q[/usr/bin/ftp],&lt;br /&gt;
  &amp;#039;ftp_proxy&amp;#039; =&amp;amp;gt; q[],&lt;br /&gt;
  &amp;#039;getcwd&amp;#039; =&amp;amp;gt; q[cwd],&lt;br /&gt;
  &amp;#039;gpg&amp;#039; =&amp;amp;gt; q[/usr/bin/gpg],&lt;br /&gt;
  &amp;#039;gzip&amp;#039; =&amp;amp;gt; q[/bin/gzip],&lt;br /&gt;
  &amp;#039;histfile&amp;#039; =&amp;amp;gt; q[/root/.cpan/histfile],&lt;br /&gt;
  &amp;#039;histsize&amp;#039; =&amp;amp;gt; q[100],&lt;br /&gt;
  &amp;#039;http_proxy&amp;#039; =&amp;amp;gt; q[],&lt;br /&gt;
  &amp;#039;inactivity_timeout&amp;#039; =&amp;amp;gt; q[0],&lt;br /&gt;
  &amp;#039;index_expire&amp;#039; =&amp;amp;gt; q[1],&lt;br /&gt;
  &amp;#039;inhibit_startup_message&amp;#039; =&amp;amp;gt; q[0],&lt;br /&gt;
  &amp;#039;keep_source_where&amp;#039; =&amp;amp;gt; q[/root/.cpan/sources],&lt;br /&gt;
  &amp;#039;lynx&amp;#039; =&amp;amp;gt; q[/usr/bin/lynx],&lt;br /&gt;
  &amp;#039;make&amp;#039; =&amp;amp;gt; q[/usr/bin/make],&lt;br /&gt;
  &amp;#039;make_arg&amp;#039; =&amp;amp;gt; q[],&lt;br /&gt;
  &amp;#039;make_install_arg&amp;#039; =&amp;amp;gt; q[],&lt;br /&gt;
  &amp;#039;makepl_arg&amp;#039; =&amp;amp;gt; q[INSTALLDIRS=site],&lt;br /&gt;
  &amp;#039;ncftpget&amp;#039; =&amp;amp;gt; q[/usr/bin/ncftpget],&lt;br /&gt;
  &amp;#039;no_proxy&amp;#039; =&amp;amp;gt; q[],&lt;br /&gt;
  &amp;#039;pager&amp;#039; =&amp;amp;gt; q[/usr/bin/less],&lt;br /&gt;
  &amp;#039;prerequisites_policy&amp;#039; =&amp;amp;gt; q[ask],&lt;br /&gt;
  &amp;#039;scan_cache&amp;#039; =&amp;amp;gt; q[atstart],&lt;br /&gt;
  &amp;#039;shell&amp;#039; =&amp;amp;gt; q[/bin/bash],&lt;br /&gt;
  &amp;#039;tar&amp;#039; =&amp;amp;gt; q[/bin/tar],&lt;br /&gt;
  &amp;#039;term_is_latin&amp;#039; =&amp;amp;gt; q[1],&lt;br /&gt;
  &amp;#039;unzip&amp;#039; =&amp;amp;gt; q[/usr/bin/unzip],&lt;br /&gt;
  &amp;#039;urllist&amp;#039; =&amp;amp;gt; [q[http://mirror.uni-c.dk/pub/CPAN/]],&lt;br /&gt;
  &amp;#039;wget&amp;#039; =&amp;amp;gt; q[/usr/bin/wget],&lt;br /&gt;
  };&lt;br /&gt;
  1;&lt;br /&gt;
  __END__&lt;br /&gt;
  &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== CPAN Module Installation ==&lt;br /&gt;
&lt;br /&gt;
Use the following command to open a shell in which to install CPAN Modules. Resolve CPAN dependencies by answering yes. Dependencies which are needed and are not avaiable in the debian apt-tree in the correct version:&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -e shell&lt;br /&gt;
&lt;br /&gt;
then within this shell:&lt;br /&gt;
&lt;br /&gt;
 install Bundle::CPAN (strictly speaking: this package is not needed for RT to work)&lt;br /&gt;
 install DBIx::SearchBuilder&lt;br /&gt;
 install Apache::Test&lt;br /&gt;
 install Test::WWW::Mechanize&lt;br /&gt;
 install Module::Refresh&lt;br /&gt;
 install Test::Expect&lt;br /&gt;
 install HTTP::Server::Simple::Mason&lt;br /&gt;
 install Text::WikiFormat&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
== Apache::Test problems ==&lt;br /&gt;
&lt;br /&gt;
The module Apache::Test requires Apache2 and Apache2-dev to compile. However we want to use the package Apache-ssl. Apache2 and mod_perl2 does not work for RT 3.4.5 on Debian Stable.&lt;br /&gt;
&lt;br /&gt;
Remove Apache2:&lt;br /&gt;
&lt;br /&gt;
 apt-get remove --purge apache2-common apache2-mpm-worker apache2-threaded-dev apache2 apache2-dev&lt;br /&gt;
&lt;br /&gt;
Install Apache-ssl&lt;br /&gt;
&lt;br /&gt;
 apt-get install apache-dev libapache-mod-perl libapache-dbi-perl libdbi-perl libapache-session-perl apache-ssl&lt;br /&gt;
&lt;br /&gt;
== 3. RT Installation ==&lt;br /&gt;
&lt;br /&gt;
The OS should be ready for you to install RT.&lt;br /&gt;
&lt;br /&gt;
== Initial configuration ==&lt;br /&gt;
&lt;br /&gt;
Download RT-3.6.3:&lt;br /&gt;
&lt;br /&gt;
 wget http://download.bestpractical.com/pub/rt/release/rt-3.6.3.tar.gz&lt;br /&gt;
&lt;br /&gt;
Create a working directory and untar, then configure RT:&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=&amp;quot;/usr/local/rt3/&amp;quot;&lt;br /&gt;
&lt;br /&gt;
See &amp;#039;&amp;#039;&amp;#039;./configure ---help&amp;#039;&amp;#039;&amp;#039; for more options.&lt;br /&gt;
&lt;br /&gt;
== Install ==&lt;br /&gt;
&lt;br /&gt;
Test for missing dependencies &amp;#039;&amp;#039;&amp;#039;make testdeps&amp;#039;&amp;#039;&amp;#039;. If you are using a newer version of RT, you may need to resolve a few missing dependencies.&lt;br /&gt;
&lt;br /&gt;
Install RT on the server:&lt;br /&gt;
&lt;br /&gt;
 make install&lt;br /&gt;
 make initialize-database&lt;br /&gt;
&lt;br /&gt;
== RT Siteconfig ==&lt;br /&gt;
&lt;br /&gt;
Edit */usr/local/rt3/etc/RT_SiteConfig.pm*:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;Set($rtname, &amp;#039;rt.foo.com&amp;#039;);&lt;br /&gt;
  Set($Organization , &amp;quot;foo.com&amp;quot;);&lt;br /&gt;
  Set($MinimumPasswordLength , &amp;quot;8&amp;quot;);&lt;br /&gt;
  Set($Timezone , &amp;#039;Europe/Foo&amp;#039;);&lt;br /&gt;
  Set($DatabaseType , &amp;#039;mysql&amp;#039;);&lt;br /&gt;
  Set($DatabasePassword , &amp;#039;rt_pass&amp;#039;);&lt;br /&gt;
  Set($MaxAttachmentSize , 50000000);&lt;br /&gt;
  Set($CorrespondAddress , &amp;#039;RT_CorrespondAddressNotSet&amp;#039;);&lt;br /&gt;
  Set($CommentAddress , &amp;#039;RT_CommentAddressNotSet&amp;#039;);&lt;br /&gt;
  Set($WebBaseURL , &amp;#039;https://rt.foo.com&amp;#039;);&lt;br /&gt;
  Set($WebPath , &amp;#039;/rt&amp;#039;);&lt;br /&gt;
  #Set($WebDefaultStylesheet, &amp;#039;3.4-compat&amp;#039;);&lt;br /&gt;
  Set($WebDefaultStylesheet, &amp;#039;3.5-default&amp;#039;);&lt;br /&gt;
  1;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Apache-SSL Configuration ==&lt;br /&gt;
&lt;br /&gt;
Add the following to &amp;#039;&amp;#039;&amp;#039;/etc/apache-ssl/httpd.conf&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#####&lt;br /&gt;
  # Request Tracker&lt;br /&gt;
  #####&lt;br /&gt;
  Alias /rt &amp;quot;/usr/local/rt3/share/html&amp;quot;&lt;br /&gt;
  PerlModule Apache::DBI&lt;br /&gt;
  PerlRequire /usr/local/rt3/bin/webmux.pl&lt;br /&gt;
  &amp;amp;lt;Directory /usr/local/rt3/share/html&amp;amp;gt;&lt;br /&gt;
   AllowOverride All&lt;br /&gt;
   Options ExecCGI +FollowSymLinks&lt;br /&gt;
  &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;amp;lt;Location /rt&amp;amp;gt;&lt;br /&gt;
   AddDefaultCharset UTF-8&lt;br /&gt;
   SetHandler perl-script&lt;br /&gt;
   PerlHandler RT::Mason&lt;br /&gt;
  &amp;amp;lt;/Location&amp;amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  #####&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart Apache:&lt;br /&gt;
&lt;br /&gt;
 apache-sslctl restart&lt;br /&gt;
&lt;br /&gt;
== 4. Postfix Configuration ==&lt;br /&gt;
&lt;br /&gt;
Configuring Postfix is straight forward:&lt;br /&gt;
&lt;br /&gt;
add&lt;br /&gt;
&lt;br /&gt;
 rt: &amp;quot;|/usr/local/rt3/bin/rt-mailgate --queue &amp;#039;General&amp;#039; --action correspond --url https://rt.foo.com/rt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to /etc/aliases&lt;br /&gt;
&lt;br /&gt;
Remember to run &amp;#039;&amp;#039;&amp;#039;newaliases&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Finally you need to login to rt and grant [[CreateTicket]] and [[ReplyToTicket]] to the group Everyone. This is done via Configuration - &amp;amp;gt; Queues - &amp;amp;gt; (queue name) - &amp;amp;gt; Group Rights in the web interface while logged in as the RT user &amp;quot;root&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== That&amp;#039;s about it, RT should be up and running now. ==&lt;br /&gt;
&lt;br /&gt;
Please contact me at &amp;#039;rasmus.brogger AT uni-c.dk&amp;#039; for comments.&lt;br /&gt;
&lt;br /&gt;
Minor notes added by dave good choice it&lt;br /&gt;
&lt;br /&gt;
Updated to comply with RT-3.6.3 (rhb)&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>