How to Install
How to Install
System requirements
- Java: Oracle/OpenJDK 7 or newer
- Tomcat: Apache Tomcat 6.0 or newer
Linux/UNIX environments are recommended.
Download OpenWayback
OpenWayback ships as a WAR file. Grab the binary distribution from Maven Central or build from source.
Binary distribution
tar -xzvf openwayback-dist-<version>.tar.gz
The archive contains bin/
, lib/
, and openwayback-<version>.war
.
Build from source
Clone the repository:
git clone https://github.com/iipc/openwayback.git
Or download a ZIP snapshot:
wget https://github.com/iipc/openwayback/archive/master.zip -O openwayback.zip unzip openwayback.zip mv openwayback-master openwayback
Build with Maven 2+:
cd openwayback mvn package
Add
-Dmaven.test.skip=true
if unit tests fail on your platform.Locate artifacts:
- Full distribution:
openwayback/dist/target/openwayback-dist-<version>.tar.gz
- WAR only:
openwayback/wayback-webapp/target/openwayback-webapp-<version>.war
- Full distribution:
Install into Tomcat
- Rename the WAR to
ROOT.war
. - Copy it to
$CATALINA_HOME/webapps/
. - Wait for Tomcat to explode the archive.
- Customise
WEB-INF/wayback.xml
(see How to configure). - Restart Tomcat.
To deploy under a different context, follow Deploying in a Non-ROOT Context.
Last updated on