Search This Blog

Sunday, October 21, 2012

Download and Install Tomcat 7 on Ubuntu 12.04


In the blog, we will see how to install Tomcat 7 on Ubuntu 12.04. This follows the following steps

  1. Check you JRE version
  2. Install Tomcat Server

First step is easy. First check that you have the right version of Java runtime installed by typing

> java -version







On my machine, it seems I have the latest java version, that comes pre-installed with Ubuntu 12.04.


In case, you have multiple versions of Java and the version displayed is not the one you want, you can switch between versions easily. Just follow the steps on my blog post.

So, lets go ahead and install Tomcat 7. Installing it is easy.


The system prompts to download Tomcat 7 and install it. Go ahead and say Yes.


Now, the installation will continue and download and install the components.


The installation, downloads and sets up tomcat in /usr/share/tomcat7 location.

It also sets up the daemon process and starts it up.

Open up a browser and access http://localhost:8080/

You should see a page as following....


We will also need to obtain the tomcat7-admin package by entering the following

> sudo apt-get install tomcat7-admin


Now that Tomcat 7 is setup, we can set up additional components on top of it.

In my next blog, I show how to install the admin and manager components on top of Tomcat 7.

http://opendesignarch.blogspot.com/2012/10/configuring-administration-on-tomcat-7.html

Good luck.

No comments: