Mac OSX 10.6.8 Snow Leopard Server Install

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.

Request Tracker Insallations
OS X 10.6.8 Server
Request Tracker 4.0.2

Migrating from SUSE with RT 3.8 to OSX 10.6 Server with RT 4.0.2

After taking weeks to get the install to work properly I felt adding a page to help other poeple out would save a lot of frustration.

Fresh Install
Login as Root
Update (ensure all updates are installed)
Install Xcode
Goto Server Admin -> settings -> services
make sure MySql is checked
In Server Admin on left side select MySQL -> Settings
select 'allow network connections'
select 'Set MySQL Root Password'
on bottom select 'Start MySQL'
Configure CPAN (in Terminal)
run 'perl -MCPAN -e shell'
run 'Install CPAN'
Download and unzip RT
In terminal cd to RT folder
Run './configure'
Run 'make testdeps'
most or all will not be found
Run 'make fixdeps'
Press enter at prompts
Run 'make fixdeps' again
Press enter at prompts
Run 'make fixdeps' yet again
Press enter at prompts
Run 'make testdeps'
All but mysql should be found
Get new mysql binaries
open safari
goto 'http://support.apple.com/kb/HT4006'
get the proper binaries for your installation
install per site recommendations
Run 'perl -MCPAN -e shell'
Run 'install DBD::mysql'
Run 'look DBD::mysql'
Run 'perl Makefile.PL --testdb=test --testuser=root --testpassword='
Run 'make'
'exit'
Run 'test DBD::mysql
should complete sucessfully
'quit'

Run 'perl -MCPAN -e shell'

Run 'install Sys::Syslog'

'quit'

Using terminal
cd into RT folder
Run 'make testdeps'
All should be found
/opt/rt4/sbin/rt-server
If 'accepting connections on :80' appears your good.
Open Browser
follow prompts
In terminal
stop program
^c
To autostart
open Server Admin
Select Web on left side
select settings -> Modules
Add module
name 'RT-Server'
path '/opt/rt4/sbin/rt-server'
RT should be running and ready for use.

When upgrading I used PhpMyAdmin to manage the Mysql Database.
On old server
In PHPMyAdmin
export old database
On new server
Drop database rt4
create database rt4
select database rt4
import backup of old database
RT should be sucessfully updated and working.