
Documentation for Crowd 2.0.x. Documentation for other versions of Crowd is available too.
This page provides instructions on how to install the Crowd Apache connector on a computer using OpenSolaris (http:/www.opensolaris.org). These instructions are part of the guide to integrating Crowd with Apache.
The intent of these instructions is to take you from a default OS installation to a working Apache/Subversion/Crowd integration as easily as possible. We assume a fresh installation. If you are an experienced Solaris system administrator you need not follow these instructions to the letter.
These instructions were tested on OpenSolaris 2009.06.
Please make sure that you run all the commands in this section as root.
When following the instructions below, you will install some required Perl modules and the Sun Studio compiler. The Crowd Apache connector integrates with Apache using the Perl language, which should be already installed. You must, however, install several Perl modules required by the connector, as described below. Perl modules are generally not available in PKG format for OpenSolaris, so you will need to install them directly from CPAN. Several of the CPAN modules need a C compiler and they assume the Sun Studio compiler.
pfexec bash.pkg install SUNWapch22
pkg install SUNWsvn
pkg install developer/sunstudioexpress
export PATH="/opt/SunStudioExpress/bin:$PATH" perl -MCPAN -e "install Error" perl -MCPAN -e "install Digest::SHA1" perl -MCPAN -e "install Cache::Cache" perl -MCPAN -e "install SOAP::Lite"
SOAP::Lite module you will be prompted to confirm the installation of several other dependent modules. Say 'yes' in each case.The Crowd Apache connector software is available in pkg format.
unzip PKGS.zip pkgadd -d ATLNperl-atlassian-crowd-all.pkg pkgadd -d ATLNperl-apache-crowdauth-all.pkg pkgadd -d ATLNperl-apache-crowdauthz-all.pkg
/etc/apache2/2.2/conf.d/modules-32.load and add the following line:
LoadModule perl_module libexec/mod_perl.so
LoadModule dav_svn_module libexec/mod_dav_svn.so
/etc/apache2/2.2/conf.d/modules-64.load and add the following line:
LoadModule perl_module libexec/64/mod_perl.so
LoadModule dav_svn_module libexec/64/mod_dav_svn.so
svcadm enable network/http:apache22 svcadm restart network/http:apache22
svcs command to check that the service is running:
# svcs -l apache22 fmri svc:/network/http:apache22 name Apache 2.2 HTTP server enabled true state online next_state none state_time Wed Jun 23 15:37:49 2010 logfile /var/svc/log/network-http:apache22.log restarter svc:/system/svc/restarter:default contract_id 99 dependency require_all/error svc:/milestone/network:default (online) dependency require_all/none svc:/system/filesystem/local:default (online) dependency optional_all/error svc:/system/filesystem/autofs:default (online)
/var/svc/log/network-http:apache22.log file for the cause.Now that the software is installed, the next step is to configure Apache authentication.