RubyPDF Blog English,Ubuntu install Tomcat on Ubuntu

install Tomcat on Ubuntu

First of all, we have successfully installed Ubuntu.

      if needed, please do the following things first:
      cd /etc/apt/
      sudo mv sources.list sources.list.1
      sudo wget
      sudo apt-get update
      install JDK 5.0
      sudo apt-get install sun-java5-jdk
      install tomcat5.5.20
      sudo wget
      tar zxfv apache-tomcat-5.5.20.tar.gz -C /opt
      cd /opt
      mv apache-tomcat-5.5.20 tomcat
      cd tomcat/bin

if you get the following tips,congratulation, you succeed.

Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-1.5.0-sun-

open firefox, and type http://localhost:8080, and you will get the welcome homepage of tomcat.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.