Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Ubuntu 8.04 LTS + openjdk6 + apache-tomcat-6.0.18

Digital Innovation Partner

Ubuntu 8.04 LTS + openjdk6 + apache-tomcat-6.0.18

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

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:

start the server:

and try to navigate http://localhost:8080
stop the server:

if you need the init.d script use this (this automatically sets JAVA_HOME)

copy and paste the following

make it executable

then you can start/stop/restart tomcat in this way

and if you want to run at boot time run this command:

i suggest to add a default user changing the password for the tomcat admin page, to do this, edit the file:

and add in the node the following:

follow this guide to run zk on this tomcat freshly installation

Tags: , , , ,

5 risposte

  1. leorockway ha detto:

    Thank you, this was very useful.

  2. Riccardo ha detto:

    glad to see that helps

  3. ivan ha detto:

    grazie, dopo essermi imbattuto in mille casini, mi son accorto dell’articolo. Complimenti per l’articolo, bellissimo e semplicissimo!!
    io come al solito son come san tommaso non mi rendo conto di una cosa finche non devo usarla.

  4. ylcicdyo ha detto:

    ylcicdyo…

    ylcicdyo…

  5. Sarah Clark ha detto:

    i love to sail even if we do not have our own sailboat “,*

Lascia un commento