Search tutorial by keyword

How to Install TOMCAT on Linux


Apache foundation has a lot of open source products and TOMCAT is one of them and is widely used by developers for developing JSP applications. In this post we will show you how to install and configure TOMCAT on your Linux server.

First step is that you must have JAVA installed on your server so I am assuming that you have JAVA installed. You can check java version on your server by the following command

# java -version

java version "1.8.0_31"

Java(TM) SE Runtime Environment (build 1.8.0_31-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

Now download the TOMCAT’s latest version from source. You can use the following version also 

# wget

Now extract the source by 

#tar xvzf apache-tomcat-7.0.57.tar.gz

We should move the tomcat to /usr/local

#mv apache-tomcat-7.0.57 /usr/local/tomcat7

Now use the following commands to start Apache Tomcat

# cd /usr/local/tomcat7

# ./bin/

In terminal you will see “TOMCAT STARTED”

Now go to your browser and write https://IP_address:8080

You will see a test page which shows that you have successfully installed tomcat on your server


Michael Dudli

Cloud Specialist with more than 10 years experience in the Hosting Business.