Work in progress
This is the app that we intent to use for all our group management.
We will run this on an Ubuntu 12.04 VM.
I would like to stick as much as possible to Ubuntu provided packages, preferably the latest versions of everything. Confirmed on the list that Grouper can run fine with OpenJDK, so no need for the
Sun Oracle Java stuff any more. So, at the moment it looks like we're going to use:
- Tomcat 7.0.26
- PostgreSQL 9.1.4
- Ant 1.8.2
- OpenJDK 7u3
To get these installed on a pristine Ubuntu 12.04 system:
Remove the old JRE:
Download the source code, in this case we're fetching version 2.1.1 and stick that under /opt:
Create the PostgreSQL database and credentials:
Because we run our databases on IPv6 only, we have to edit
/etc/postgresql/9.1/main/postgresql.conf to list:
Copy the default hibernate config file:
and edit accordingly. Note that the values should not be enclosed in quotes:
Change all (6) occassions of the version string "1.5" into "1.7" in build.xml:
Symlink the database driver:
Create the database structure:
Check if this went OK:
Run the tests. This is an extensive test suite - on a powerful VM it took me about one hour:
No errors should be reported in the end.
This sits in
/grouper-ui of the repository.
First change the version statement to 1.7:
Compile the app:
Create a file
/etc/tomcat7/Catalina/localhost/grouper-ui.xml with this content:
Edit /etc/tomcat7/tomcat-users.xml so that there is a user called GrouperSystem, with a proper passworf:
Change the permissions on the logging directory:
You should now be able to go to http://<yourservername>:8080/grouper-ui/
and log in.
This is optional, but good practise for security considerations. All the JAVA stuff can run on unprivileged ports, and apache faces the internet.
Configure SSL certificates etc