Hyrax - OLFS Installation

From OPeNDAP Documentation
Revision as of 01:10, 9 March 2007 by Ndp (talk | contribs) (New page: ==Download== If you haven't already got it, go [http://www.opendap.org/download/olfs.html get the latest OLFS distribution from here]. You should get the binary jar file which will be nam...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
⧼opendap2-jumptonavigation⧽

Download

If you haven't already got it, go get the latest OLFS distribution from here. You should get the binary jar file which will be named something like: olfs-0.1.5-webapp.jar

Unpack

Unpack the jar file with the command:

jar -xvf olfs-0.1.5-webapp.jar

which will unpack a directory called olfs-0.1.5-webapp

Install

Inside the that directory find the opendap.war file, and copy it into the Tomcat's webapps directory:

cp olfs-0.1.5-webapp/opendap.war /usr/local/apache-tomcat-5.5.15/webapps/

(Assuming the your Tomcat server is in /usr/logcal) If you're replacing an old copy, make sure that remove the 'opendap' directory that Tomcat will have created when it was started.)

Setup Tomcat

Configure the Tomcat environment by setting the environment variable CATALINA_HOME to the full path for the Tomcat distribution.

In bash:

export CATALINA_HOME = /usr/local/apache-tomcat-5.5.20

Start Tomcat

In the top level tomcat directory (apache-tomcat-5.5.20 on my machine) issue the command:

bin/startup.sh; tail -f logs/catalina.out

Wait a few seconds while it all starts up.

When Tomcat starts up it will unpack your 'OLFS nad install the webapp.