PostgreSQL
Supported Versions
Crowd supports the versions of PostgreSQL listed on the Supported Platforms page.
When you run the Crowd Setup Wizard, you will be asked to choose a database and provide configuration settings for that database. It will make things easier if you have created the database and deployed the database driver before you start the Setup Wizard.
Follow the instructions below to set up PostgreSQL for Crowd.
1. Configure PostgreSQL
- Create a database user which Crowd will connect as (for example, crowduser).
- Create a database for Crowd to store data in (for example, crowddb).
- Ensure that the user has permission to login to the database and can create database objects.
2. Copy the PostgreSQL Driver to your Application Server
This step is only required if you have downloaded the WAR distribution of Crowd.
- Download the PostgreSQL JDBC driver from http://jdbc.postgresql.org/download.html and save i t locally for later use.
Internet Explorer may rename the file extension from '.jar
' to '.zip
' when you download it. If you are using Internet Explorer, please rename the file so that it has a '.jar
' extension after downloading it.- If you have installed JDK 6.x, get JDBC4 Postgresql Driver, Version 8.4-701.
- If you have JDK 5.x, get JDBC3 Postgresql Driver, Version 8.4-701.
- Add the PostgreSQL JDBC driver jar to the following directory:
- For Crowd distribution:
- Crowd 2.0.2 or later: {
CROWD_INSTALL}/apache-tomcat/lib/
. - Crowd 2.0.1 or earlier: {
CROWD_INSTALL}/apache-tomcat/common/lib/
.
- Crowd 2.0.2 or later: {
- For Crowd WAR distribution, copy the driver JAR to your application server. For example, on Tomcat:
- Tomcat 5.5.x:
common/lib/
. - Tomcat 6.x:
lib/
.
- Tomcat 5.5.x:
- For Crowd distribution:
Next Steps
Complete the Crowd installation, then start Crowd and run the Setup Wizard as described in the Installation Guide.