The following instructions have been tested on Ubuntu 11.04. Other versions may require variations to this procedure.
方法
Open a terminal on the system, change to a suitable working directory, and enter the following command:
sudo apt-get -y install autoconf libtool apache2-threaded-dev libsvn-dev libcurl4-gnutls-dev libxml2-dev apache2-mpm-worker libapache2-svn automake
- Enter your password when prompted.
Enter the following commands:
wget http://downloads.atlassian.com/software/crowd/downloads/cwdapache/mod_authnz_crowd-2.2.2.tar.gz tar xzf mod_authnz_crowd-2.2.2.tar.gz cd mod_authnz_crowd-2.2.2 autoreconf --install ./configure make sudo make install
If you get this error after running ./configure:
configure: error: Could not locate Apache configuration file
Refer to this KB for resolution: "Could not locate Apache configuration file" Error When Attempting to Install the Crowd Apache Connector on Ubuntu Linux
- Enter your password if prompted.
- Everything you need should now be installed and Apache should restart. If Apache fails to start, check the
/var/log/apache2/error.log
file.
Now that the software is installed, the next step is to configure Apache authentication.