Beruflich Dokumente
Kultur Dokumente
1 installation
This document will cover the steps to install djatoka on 2 operating systems, Ubuntu 64 bit and
Windows 7 64 bit.
Download here
Ubuntu Prerequisites:
-Oracle Java SE 7 64 bit and preferably the development kit (jdk). If on the server there is already
java 6 we could try to work with that but we need it to be 64 bit. OpenJDK will not work.
Verify that ../etc/test-size1.jpg exists and can be opened using an image viewer.
ls -l ../etc/test-size1.jpg
You may need to make the above sh scripts executable by doing the following:
chmod +x compress.sh
chmod +x extract.sh
1- cp ../dist/adore-djatoka.war [Tomcat]/webapps/
2- Edit /etc/init.d/tomcat7 so that it includes the djatoka environment variables script
from [djatoka-installation-package]/bin
Scenario 2, install on a server with multiple instances of tomcat and use one of these instances
just for djatoka.
1- cp ../dist/adore-djatoka.war [Tomcat]/webapps/
2- Make sure CATALINA_HOME & CATALINA_BASE environment variable are correctly set
to the desired instance of tomcat.
3- Navigate to [djatoka-installation-package]/bin and:
./tomcat.sh start
Ensure that temp directory exists in CATALINA_BASE
Windows Prerequisites:
-Oracle Java SE 7 32 bit and preferably the development kit (jdk). If on the server there is already
java 6 we could try to work with that but we need it to be 32 bit. OpenJDK will not work.
Verify that ..\etc\test-size1.jpg exists and can be opened using an image viewer.
dir ..\etc\test-size1.jpg