Openindiana

From Request Tracker Wiki
Revision as of 07:54, 2 June 2012 by 212.181.175.200 (talk) (Adding categories)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
    1. Tested on oi_151a4 ##
# Packages install
pkg install gcc-3 apache-22 mysql-51 mysql-51/library header-math gd gnupg

# Add /usr/mysql/bin to path and source .profile for gnu cc fix
# Enable mysql
svcadm enable mysql
mysql_secure_installation

# symlink gpg
ln -s /usr/bin/gpg2 /usr/bin/gpg

# Remove in /usr/perl5/5.10.0/lib/i86pc-solaris-64int/Config_heavy.pl
cccdlflags='-KPIC'
optimize='-xO3 -xspace -xildoff'

# Configure CPAN and update perl modules
perl -MCPAN -e shell
perl -MCPAN -e 'install CPAN'
perl -MCPAN -e 'install Module::Build'
perl -MCPAN -e 'install Sys::Syslog'

# Get and configure rt
curl -O http://download.bestpractical.com/pub/rt/release/rt.tar.gz
./configure --with-web-user=webservd --with-web-group=webservd --with-db-database=rtdb

# Fix deps
yes | make fixdeps

## Fixes to make DBD::mysql compile
crle -l /usr/mysql/5.1/lib/mysql -u

# get DBD::mysql from http://search.cpan.org/~capttofu/DBD-mysql-4.021/lib/DBD/mysql.pm
perl Makefile.PL
# edit Makefile
# remove -lcrun
# remove -xprefetch=auto -xprefetch_level=3 -mt -fns=no -fsimple=1 -xbuiltin=%all -xlibmil -xlibmopt -xnorunpath
# compile

## Apache2
# Load mod_perl
echo "LoadModule perl_module libexec/mod_perl.so" >> /etc/apache22/2.2/conf.d/modules-32.load
# Follow
http://requesttracker.wikia.com/wiki/ManualApacheConfig
# Start
svcadm enable apache22