RHEL4InstallGuide

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.

-- General note: All commands should be carried out as the root user unless otherwise stated.

1) Perform a standard install of RHEL, then upgrade / up2date / whatever to get latest versions of installed packages. Verify you have the following packages to satisfy the installation requirements of mod_fastcgi. If you do not you may receive the following error:

Subscribing to the RHEL AS (v. 4 for x86) Fastrack, Red Hat Web Application Stack 1.0 Beta (for AS v. 4 x86), and RHEL AS (v. 4 for x86) Extras channels solves many dependencies off the bat. It also keeps most your libraries patched via up2date.

### Note the path for ncftpget "./ncftp-3.2.0/bin/ncftpget", which will be needed next.
wget -c ftp://ftp.ncftp.com/ncftp/binaries/ncftp-3.2.0-linux-x86-glibc2.3-export.tar.gz
tar -xvzf ncftp-3.2.0-linux-x86-glibc2.3-export.tar.gz
cd ncftp-3.2.0
make
make install

4) RT Pre-Install : Security

Note: This requires a reboot, or a more extensive bouncing of various daemons.
The easiest thing to do is make the following change, and then reboot.
For more info on switching selinux policy, please see http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2825232
### RT requires its own group, so let's add it now lest we forget:
groupadd rt

If you want an installation of standard security, do the following, else see SELinux

service httpd restart
Check /var/log/httpd/error_log for any errors. If you see a line similar to
### Can't locate FCGI.pm in @INC (@INC contains: ...
perl -MCPAN -e 'install FCGI'
service httpd restart
Confirm above error message is not present and there are no other errors.

11) Attempt to log into RT at http://your.host.name/ <- don't forget the trailing / to point to the rt subdirectory, otherwise this will not work

default user = root
default pass = password
##Be sure to change these before using thing in a production environment##