Install Crowd
The instructions below tell you how to install the Crowd distribution, which includes Apache Tomcat.
1. Prerequisites
- Java. Install JDK 25 before installing Crowd 8.0. A JRE alone is not sufficient. Set
JAVA_HOMEto the JDK installation directory. See Setting JAVA_HOME.
2. Install Crowd
- Download Crowd.
- Please check your unzip program before extracting the downloaded archive—see the note on the Installing Crowd.
- Unzip the download archive into a directory of your choice. Note: Don't specify directory names that contain spaces.
We'll refer to this installation directory as {CROWD_INSTALL}.
- Specify your Crowd Home directory by editing the configuration file at: {
CROWD_INSTALL}\crowd-webapp\WEB-INF\classes\crowd-init.properties. The Crowd Home directory is where Crowd will store its configuration information. If you are using the embedded HSQL database, supplied for evaluation purposes, Crowd will also store its database in this directory. To specify the Crowd Home directory:- Open the
crowd-init.propertiesfile. This is found at<crowd_install_directory>/crowd-webapp/WEB-INF/classes/crowd-init.properties - Choose the appropriate line in the file, depending upon your operating system (see below).
- Remove the
#at the beginning of the line. - Enter the name of the directory you want Crowd to use as its Home directory. For example,
On Windows:
crowd.home=c:/data/crowd-homeNote: On Windows, make sure you use forward slashes as shown above, not backward slashes.
On Mac and UNIX-based systems:
crowd.home=/var/crowd-homeImportant
Please, ensure that the Crowd Home directory will not match the Crowd installation directory AND it is writable by the user executing the initialization script.
- Save the
crowd-init.propertiesfile.
- Open the
The Crowd 8.0 distribution includes 64-bit Windows Tomcat binaries.
3. Prepare your Database
For evaluators
This step applies to production installations. If you're evaluating Crowd and are happy to use the database supplied, you can skip this step.
If you wish to set up Crowd with an external database, check out Connecting Crowd to a Database.
4. Start Crowd and Complete the Setup Wizard
- Run the start-up script, found in your {CROWD_INSTALL} directory:
start_crowd.batfor Windows.start_crowd.shfor Mac and Unix-based systems.
- Point a web browser at
http://localhost:8095/crowdwhere you will see the Crowd Setup Wizard. Follow the instructions in the Wizard. You can also read Running the Setup Wizard.
Next Steps
- If you are running Crowd on UNIX/Linux, consider setting Crowd to Setting Crowd to Run Automatically and Use an Unprivileged System User on UNIX.
- If you are running Crowd on Windows, consider setting Crowd to Installing Crowd as a Windows Service.
If you use HSQLDB, migrate to a supported external database using your current Crowd version before upgrading to Crowd 8.0.