The Remote Server Setup Script

If the remote machine you are setting up is a UNIX one that has the Sun Java System Application Server installed in /opt/SUNWappserver, and the Apache webserver already running, you can simply run the shell script at

http://www.sharedrecords.org/trac/sharedrecords/browser/etc/execute.sh

Note that the following machines are already properly configured and can freely run the script: sra.sharedrecords.org, staging.sharedrecords.org, and the like.

Download the script, become root and run it like this:

./execute.sh

You will be prompted for the Sun App Server's administrative password, and the hostname of the machine. This is normal. The script checks out the most recent version of the repository from subversion, compiles the code, configures the property files, packages the code into a web archive, starts up the server, deploys the SRCDataStore on the server, sets the server's security policy.