<?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=SuSE10InstallGuide</id>
	<title>SuSE10InstallGuide - 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=SuSE10InstallGuide"/>
	<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=SuSE10InstallGuide&amp;action=history"/>
	<updated>2026-08-22T02:34:53Z</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=SuSE10InstallGuide&amp;diff=3749&amp;oldid=prev</id>
		<title>Admin: 3 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://rt-wiki.bestpractical.com/index.php?title=SuSE10InstallGuide&amp;diff=3749&amp;oldid=prev"/>
		<updated>2016-04-06T20:37:48Z</updated>

		<summary type="html">&lt;p&gt;3 revisions imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{OutdatedInstallGuide}}&lt;br /&gt;
&lt;br /&gt;
= Install Guide for SLES 10, RT 3.6.3 and Apache 2 =&lt;br /&gt;
&lt;br /&gt;
Use Yast to install these:&lt;br /&gt;
&lt;br /&gt;
 apache2, apache2-mod_auth-mysql, apache2-mod_perl, apache2-mod_python, apache2-prefork_MPM, perl-Apache-DBI, mysql-max,&lt;br /&gt;
 gd-devel, gcc,  ncftp, fastcgi (if you will be using fastcgi), openssl&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Install lynx from rpm:&lt;br /&gt;
&lt;br /&gt;
 wget ftp://rpmfind.net/linux/SuSE-Linux/i386/update/10.0/rpm/i586/lynx-2.8.5-35.3.i586.rpm&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Install Apache2 from source: latest version at http://httpd.apache.org/download.cgi&lt;br /&gt;
&lt;br /&gt;
Apache configure options: provides for option to use https with RT.&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite \&lt;br /&gt;
 --with-included-apr --enable-ssl --with-ssl=/usr/bin/openssl/&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Create an RT group and user:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/sbin/groupadd rt&lt;br /&gt;
 sudo /usr/sbin/useradd -g rt rt_user&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Download RT from http://download.bestpractical.com/pub/rt/release/ Untar and begin configuration:&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/opt/rt3 --with-web-user=rt-user --with-web-group=rt --with-db-database=rt3 --with-db-rt-pass=changethis \&lt;br /&gt;
 --with-db-type=mysql --with-rt-group=rt --with-apachectl=/usr/local/apache2/bin/apachectl&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Check which perl modules are needed: make testdeps First, configure CPAN in perl.&lt;br /&gt;
&lt;br /&gt;
 sudo perl -MCPAN -eshell&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Answer the questions, selecting &amp;quot;follow&amp;quot; option for policy on building prereqs.&lt;br /&gt;
&lt;br /&gt;
 install Bundle::CPAN&lt;br /&gt;
 reload CPAN&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
One option that may work for initial CPAN config:&lt;br /&gt;
&lt;br /&gt;
 sudo perl -e &amp;quot;use CPAN::FirstTime; CPAN::FirstTime::init();&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Try running script to auto-install modules:&lt;br /&gt;
&lt;br /&gt;
 sudo make fixdeps&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If it doesn&amp;#039;t work, scroll down to the bottom of this document for the list of the Perl modules you will need, grouped in some semblance of order and sequence to eliminate dependency errors.&lt;br /&gt;
&lt;br /&gt;
After &amp;#039;make testdeps&amp;#039; shows that everything installed successfully, return to your RT install folder and do a &amp;#039;sudo make install&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Configure /opt/rt3/etc/RT_SiteConfig.pm: ==&lt;br /&gt;
&lt;br /&gt;
 Set($rtname, &amp;#039;RT-yourdept&amp;#039;);&lt;br /&gt;
 Set($Organization , &amp;quot;your.dns.name.here&amp;quot;);&lt;br /&gt;
 Set($WebBaseURL, &amp;quot;http://server.your.dns.name/rt&amp;quot;);&lt;br /&gt;
 Set($WebPath, &amp;quot;/rt&amp;quot;);&lt;br /&gt;
 Set($WebURL = &amp;quot;http://server.your.dns.name/rt/&amp;quot;);&lt;br /&gt;
 Set($WebImagesURL = &amp;quot;http://server.your.dns.name/rt/NoAuth/images/&amp;quot;);&lt;br /&gt;
 Set($LogoURL, $WebImagesURL . &amp;quot;bplogo.gif&amp;quot;);&lt;br /&gt;
 Set($Timezone, &amp;#039;US/Eastern&amp;#039;);&lt;br /&gt;
 Set($CorrespondAddress, &amp;#039;rt_user@server.your.dns.name&amp;#039;);&lt;br /&gt;
 Set($CommentAddress, &amp;#039;rt_user-comment@server.your.dns.name&amp;#039;);&lt;br /&gt;
 Set($SendmailPath, &amp;quot;/usr/sbin/sendmail&amp;quot;);&lt;br /&gt;
 Set($MailCommand , &amp;#039;sendmailpipe&amp;#039;);&lt;br /&gt;
 Set($SendmailArguments, &amp;quot;-oi -t&amp;quot;);&lt;br /&gt;
 Set($SenderMustExistInExternalDatabase , 0);&lt;br /&gt;
 Set($EmailOutputEncoding , &amp;#039;utf-8&amp;#039;);&lt;br /&gt;
 Set($LogtoSyslog, &amp;#039; &amp;#039;);&lt;br /&gt;
 Set($LogToFile, &amp;#039;info&amp;#039;);&lt;br /&gt;
 Set($LogDir, &amp;#039;/opt/rt3/var/log&amp;#039;);&lt;br /&gt;
 Set($OwnerEmail, &amp;quot;postmaster@server.your.dns.name&amp;quot;);&lt;br /&gt;
 Set($MyTicketsLength, 20);&lt;br /&gt;
 Set($MaxAttachmentSize , 10000000);&lt;br /&gt;
 Set($MaxInlineBody, 13456);&lt;br /&gt;
 $DatabasePassword = &amp;#039;yourpassword&amp;#039;;&lt;br /&gt;
 &lt;br /&gt;
 1;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Mysql and Apache ==&lt;br /&gt;
&lt;br /&gt;
 Start mysql:           sudo /etc/init.d/mysql start&lt;br /&gt;
 In the RT build dir:   sudo make initialize-database&lt;br /&gt;
 Set mysql to start at boot: sudo chkconfig mysql on&lt;br /&gt;
 Set the root sql password: sudo /usr/bin/mysqladmin -u root password XXXXXX&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Configure the Apache server /usr/local/apache2/conf/httpd.conf:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;LoadModule perl_module /usr/lib/apache2/mod_perl.so&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;VirtualHost 192.168.1.5&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 ServerName server.your.dns.name&lt;br /&gt;
 Alias /rt &amp;quot;/opt/rt3/share/html&amp;quot;&lt;br /&gt;
 AddDefaultCharset UTF-8&lt;br /&gt;
 SetHandler perl-script&lt;br /&gt;
 PerlHandler RT::Mason&lt;br /&gt;
 PerlModule Apache::DBI&lt;br /&gt;
 PerlRequire /opt/rt3/bin/webmux.pl&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;Directory &amp;quot;/opt/rt3/share/html&amp;quot;&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 Options ExecCGI FollowSymLinks&lt;br /&gt;
 AllowOverride None&lt;br /&gt;
 Options deny,allow&lt;br /&gt;
 # set your allowed IP ranges here, on separate lines&lt;br /&gt;
 Allow from 192.168.1.0/24&lt;br /&gt;
 Deny from all&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;/Directory&amp;amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;amp;lt;/VirtualHost&amp;amp;gt;&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Confirm that the logs folder exists: /opt/rt3/var/log and do a sudo chown -R rt_user:rt /opt/rt3 Check that your firewall port is open for http - via Yast, Network Services.&lt;br /&gt;
&lt;br /&gt;
Start httpd:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/local/apache2/bin/apachectl start  or /etc/init.d/apache2 start&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
You should now be able to log in to http://hostname/rt . The root password is &amp;#039;password&amp;#039;, which you must change immediately in RT&amp;#039;s preferences for the root user.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Create postfix mail aliases ==&lt;br /&gt;
&lt;br /&gt;
 In /etc/aliases:&lt;br /&gt;
  helpdesk:         rt_user&lt;br /&gt;
  helpdesk-comment: rt_user&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Update postfix: sudo newaliases; sudo postfix reload&lt;br /&gt;
&lt;br /&gt;
Create a procmail forwarding for the rt_user:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;vi /home/rt_user/.forward:  Add this line:&lt;br /&gt;
 &amp;quot;|/usr/bin/procmail&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 vi /home/rt_user/.procmailrc&lt;br /&gt;
 # All RT mail queues pass through here. This file must be owned by the rt_user.&lt;br /&gt;
 &lt;br /&gt;
 SHELL=/bin/tcsh&lt;br /&gt;
 PATH=/usr/local/bin:/bin:/usr/bin&lt;br /&gt;
 MAILDIR=/home/rt_user/Mail&lt;br /&gt;
 VERBOSE=yes&lt;br /&gt;
 LOGFILE=/opt/rt3/var/log/procmail.log&lt;br /&gt;
 LOGABSTRACT=all&lt;br /&gt;
 &lt;br /&gt;
 # Define the mailgate settings to be called later in the file&lt;br /&gt;
 &lt;br /&gt;
 HELPDESK_CORR=&amp;quot;/opt/rt3/bin/rt-mailgate --queue helpdesk --action correspond \&lt;br /&gt;
  --url http://servername.your.dns.name/rt/&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 HELPDESK_COMM=&amp;quot;/opt/rt3/bin/rt-mailgate --queue helpdesk --action comment \&lt;br /&gt;
 --url http://servername.your.dns.name/rt/&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 * ^TO(helpdesk|help)&lt;br /&gt;
 | $HELPDESK_CORR&lt;br /&gt;
 &lt;br /&gt;
 * ^TO(helpdesk-comment|help-comment)&lt;br /&gt;
 | $HELPDESK_COMM&lt;br /&gt;
 &lt;br /&gt;
 # end procmailrc&lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Perl modules ==&lt;br /&gt;
&lt;br /&gt;
 Grouped in some semblance of order and sequence to eliminate dependency errors. (even better, wrap this in another perl script)&lt;br /&gt;
 &lt;br /&gt;
  perl -MCPAN -e&amp;#039;install IO::Socket::INET&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install IO::Socket::SSL&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Module::Build&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Params::Validate&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install DBI&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Apache::DBI&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Test::Inline&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Class::ReturnValue&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install DBIx::SearchBuilder&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Text::Template&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install HTML::Entities&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install HTML::Scrubber&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Log::Dispatch&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Locale::Maketext::Lexicon&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Locale::Maketext::Fuzzy&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install MIME::Entity&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Mail::Mailer&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Text::Wrapper&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Time::ParseDate&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Text::Autoformat&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Text::Quoted&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Tree::Simple&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install Module::Versions::Report&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install XML::Parser&amp;#039;&lt;br /&gt;
  perl -MCPAN -e&amp;#039;install FCGI&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
DEV dependencies:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;perl -MCPAN -e&amp;#039;install Regexp::Common&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Test::Inline&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Test::Memory::Cycle&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Test::Pod&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Test::Pod::Coverage&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Test::Taint&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Test::Warn&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Apache::Test&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 # enter /usr/local/apache2/bin/httpd for httpd location&lt;br /&gt;
 # enter /usr/local/apache2/bin/apxs for apxs location&lt;br /&gt;
 &lt;br /&gt;
 perl -MCPAN -e&amp;#039;install HTML::Form&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 # answer &amp;#039;y&amp;#039; to libwww app installation&lt;br /&gt;
 &lt;br /&gt;
 perl -MCPAN -e&amp;#039;install HTML::TokeParser&amp;#039;&lt;br /&gt;
 perl --MCPAN --e&amp;#039;install WWW::Mechanize&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Bundle::Apache2&amp;#039;   (found this on perl_mod&amp;#039;s site recommendation)&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MAILGATE dependencies&lt;br /&gt;
&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install HTML::TreeBuilder&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install HTML::FormatText&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
MASON dependencies&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;perl -MCPAN -e&amp;#039;install Params::Validate&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Cache::Cache&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Exception::Class&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install HTML::Mason&amp;#039;  (this one gave a bit of trouble)&lt;br /&gt;
 &lt;br /&gt;
 # To install HTML::Mason manually: wget http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/HTML-Mason-1.36.tar.gz&lt;br /&gt;
 (see prereqs in README file)&lt;br /&gt;
                        perl Build.PL&lt;br /&gt;
                        ./Build&lt;br /&gt;
                        ./Build install&lt;br /&gt;
 perl --MCPAN --e&amp;#039;install HTTP::Server::Simple::Mason&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 perl -MCPAN -e&amp;#039;install MLDBM&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install FreezeThaw&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install Apache::Session&amp;#039;&lt;br /&gt;
 perl -MCPAN -e&amp;#039;install XML::RSS&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you made it this far, congratulations - and I hope this helped you. --Mark S.&lt;br /&gt;
&lt;br /&gt;
Author: msallee AT ucar DOT edu&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>