SuSE93InstallGuide

From Request Tracker Wiki
Jump to: navigation, search


Unofficial Installation Guide

This is an unofficial installation guide. It may be outdated or apply only to very specific configurations and versions. The official and maintained installation steps for RT are in the README and UPGRADING documents included in the official .tar.gz packages.

Outdated

This page contains out of date and possibly misleading information or instructions such as installation methods or configuration examples that no longer apply. Please consider this warning when reading the page below.


This is a guide on how to install RT 3.x on a SuSE 9.3 server using Exim as a mail server.

Note: Specifics may differ from system to system. The system by which this was produced is running:

  • RT 3.4.4
  • SuSE 9.3
  • Apache2
  • Mod_perl 2.0.1 [TBD: check version]
  • Mysql 4.1.12 [TBD: check version]
  • Perl 5.8.6 [TBD: check version]
  • HTML::Mason 1.3101 [TBD: check version]

Firstly, portions of this document was kindly reproduced from the original FedoraCore4Install guide. Thanks to the author for writing such a thorough document.

1. OS Installation

Install SuSE 9.3 and select to install mysql (it's a recent version) and apache. Make sure httpd and mysql services are running:

rcmysqld start

rcapache2 start

You may need to create files in /etc/init.d for this to work or use the chkconfig utility to add them to the appropriate run levels:

chkconfig -a mysql

chkconfig -a apache2

To make sure everything is up up-to-date, it may be prudent to do an update of all binaries using YaST:

yast2

2. Exim Installation

Having correctly setup the server to connect to the Internet, you can now go and fetch the latest Exim binary or use YaST to download and install it.

Follow the installation instructions and set Exim up as per your organization's standard.

To start the Exim service use:

rcexim start

To add Exim to the different run levels, use:

chkconfig -a exim

WHERE IS THE REST OF THIS GUIDE? Yes where? I guess in my head since I have to guess the rest!

3. Install Prerequisites

a. DBIx::SearchBuilder

I had to install gcc with yast before Clone and Want would install as prereqs for this package.

b. Tree::Simple

One big gotcha that I have found is that Tree::Simple will not install properly from CPAN. This is due to Weak References not being allowed. The error is:

Weak references are not implemented in the version of perl at /root/.cpan/build/Tree-Simple-1.15/blib/lib/Tree/Simple.pm line 9 BEGIN failed--compilation aborted at /root/.cpan/build/Tree-Simple-1.15/blib/lib/Tree/Simple.pm line 9.

The solution for me was to do a force install of Scalar::Util (force install Scalar::Util) and then a force install of Tree::Simple.

c. DBD::mysql

Make sure you have the mysql client and possibly dev. Next install zlib-dev.

d. MySQL

Make sure to install MySQL-Max with Yast2 to get InnoDB support