-
Notifications
You must be signed in to change notification settings - Fork 276
How to install
- Java: Oracle Java version 1.6 or higher.
- Tomcat: Apache Tomcat version 6.0 or higher.
Please note that the recommended operating environment for OpenWayback is UNIX/Linux and is assumed in this documentation.
OpenWayback is packaged as a web application file (.war file). You can choose to download the binary distribution or build from source.
All OpenWayback releases are hosted on Maven Central. You can find the latest binary release here, currently openwayback-2.0.0.BETA.2
Extract the .tar.gz file containing the webapp (.war) file:
tar -xzvf <filename>.tar.gz
This will produce a folder named 'openwayback' containing two (2) folders (bin and lib) and the web application file: 'openwayback-(version).war'.
You'll need Apache Maven 2 or higher to build OpenWayback from source, which involves the following steps:
- Download the source code from the OpenWayback GitHub repository using git:
git clone https://github.com/iipc/openwayback.git
- Git will create an openwayback directory containing the OpenWayback source code. Change directory (cd) to this directory. Now
cd
to the directory called "wayback-webapp" in which you'll find a Maven POM file. - Now build the distribution with Maven:
mvn clean package
Maven will build the web application, e.g. openwayback-2.0.0.BETA.2-SNAPSHOT.war
. It will be located in the wayback-webapp/target
directory.
Apache Tomcat is required to run OpenWayback. Please refer to the README file in your Tomcat distribution For instructions. The instructions below assume that Tomcat is installed under the directory $CATALINA_HOME.
You must rename the .war web application file to ROOT.war before deploying it to Tomcat.
Please follow these steps:
- Locate the .war file you built or downloaded. Rename it to ROOT.war.
- Place the ROOT.war file in the
webapps
folder of Tomcat, usually$CATALINA_HOME/webapps/
. - Wait for Tomcat to unpack the .war file.
- Customise configuration file
wayback.xml
and possibly other XML configuration files. See How to configure for details. - Restart Tomcat.
OpenWayback can also be deployed in a non-ROOT context. Please see Deployuing OpenWayack in non-ROOT context for details.
Copyright © 2005-2022 [tonazol](http://netpreserve.org/). CC-BY. https://github.com/iipc/openwayback.wiki.git