Prerequisites • Ubuntu 8.04 (you can try with other ubuntu/debian, with other OS you have to install JVM in a different way) Needed files: • apache-tomcat-6.0.18.zip from http://tomcat.apache.org/download-60.cgi
1 2 3 |
sudo apt-get update sudo apt-get upgrade sudo apt-get install openjdk-6-jdk |
unpack apache-tomcat-6.0.18.zip where you want (i used /usr/local/tomcat, change the following commands accordingly if you have used a different directory) set JAVA_HOME environment variable:
1 2 |
JAVA_HOME=/usr/lib/jvm/java-6-openjdk export JAVA_HOME |
start…
Leggi tutto