Openindiana: Difference between revisions
Jump to navigation
Jump to search
(Adding categories) |
No edit summary |
||
Line 23: | Line 23: | ||
# Get and configure rt | # Get and configure rt | ||
curl -O http://download.bestpractical.com/pub/rt/release/rt.tar.gz | curl -O http://download.bestpractical.com/pub/rt/release/rt.tar.gz | ||
./configure --with-web-user=webservd --with-web-group=webservd | ./configure --with-web-user=webservd --with-web-group=webservd | ||
# Fix deps | # Fix deps | ||
Line 33: | Line 33: | ||
# get DBD::mysql from http://search.cpan.org/~capttofu/DBD-mysql-4.021/lib/DBD/mysql.pm | # get DBD::mysql from http://search.cpan.org/~capttofu/DBD-mysql-4.021/lib/DBD/mysql.pm | ||
perl Makefile.PL | perl Makefile.PL | ||
# edit Makefile | |||
# edit the Makefile | |||
# remove -lcrun | # remove -lcrun | ||
# remove -xprefetch=auto -xprefetch_level=3 -mt -fns=no -fsimple=1 -xbuiltin=%all -xlibmil -xlibmopt -xnorunpath | # remove -xprefetch=auto -xprefetch_level=3 -mt -fns=no -fsimple=1 -xbuiltin=%all -xlibmil -xlibmopt -xnorunpath | ||
Line 40: | Line 41: | ||
## Apache2 | ## Apache2 | ||
# Load mod_perl | # Load mod_perl | ||
echo "LoadModule perl_module libexec/mod_perl.so" >> /etc/ | echo "LoadModule perl_module libexec/mod_perl.so" >> /etc/apache2/2.2/conf.d/modules-32.load | ||
# Follow | # Follow | ||
http://requesttracker.wikia.com/wiki/ManualApacheConfig | http://requesttracker.wikia.com/wiki/ManualApacheConfig |
Revision as of 08:07, 2 June 2012
- 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 # 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 the 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/apache2/2.2/conf.d/modules-32.load # Follow http://requesttracker.wikia.com/wiki/ManualApacheConfig # Start svcadm enable apache22