Install Tomcat 6 or 6.0.35 on Ubuntu 11.10 or 11.04 or 10.10 or 10.04 LTS


While it is possible that older versions of Tomcat may not be compatible with newer JVMs, all the currently supported Apache Tomcat versions (5.5.x, 6.0.x and 7.0.x) are known to run correctly on Java 6 JVMs. (Ref-http://tomcat.apache.org/migration.html)

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

we’ll download and extract Tomcat 6 or 6.0.35 from the Apache site

Find the appropriate installation version from : http://apache.hoxt.com/tomcat/tomcat-6/, Download it manually or by wget command from the console.

Installing Tomcat 6 on Ubuntu. If you are running Ubuntu and want to use the Tomcat servlet container, you should not use the version from the repositories as it just doesn’t work correctly. Instead you’ll need to use the manual installation process that I’m outlining here. Before you install Tomcat you’ll want to make sure that you’ve installed Java. Use Synaptic Package Manager to install Java.

Use Synaptic Package Manager to install Java
Use Synaptic Package Manager to install Java
Verify Java Version
Verify Java Version
Now Extract Tomcat files with tar xvzf apache-tomcat-6.0.35.tar.gzOpen Terminal, Go to Tomcat Directory/binRun ./startup.shOpen the default page- http://localhost:8080 Done!!!
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s