...
- Download and install Tomcat
- Set the Java properties for Tomcat
- Many linux distributions put these settings a the file /etc/default/tomcat7, outside of the tomcat installation folder.
- If your operating system does not have the file above, you can create a setenv.sh (or setenv.bat) script in the tomcat7/bin folder. Settings here will not be disturbed by upgrades to the tomcat package. For instance, the following bash line will add the fcrepo.home property to existing CATALINA_OPTS.
CATALINA_OPTS="${CATALINA_OPTS} -Dfcrepo.home=/tmp/fcrepo4-home"
See the Catalina Java Properties section below for the properties you need.(See Application Configuration->Deployments->Tomcat 7 and Catalina Java Properties sections below Copy the Fedora 4 WAR file into Tomcat's "webapps" directory (e.g. /var/lib/tomcat7/webapps)
...
- Download and install Jetty
- Set the Java properties (e.g. /etc/default/jetty) mentioned in the following Java Properties sectionfor Jetty (See Application Configuration->Deployments->Jetty and Catalina Java Properties sections below)
- Copy the Fedora 4 WAR file into Jetty's "webapps" directory (e.g. /var/lib/jetty/webapps)
...