Geekflare is supported by our audience. We may earn affiliate commissions from buying links on this site.
In Tomcat Last updated: September 6, 2022
Share on:
Invicti Web Application Security Scanner – the only solution that delivers automatic verification of vulnerabilities with Proof-Based Scanning™.

Procedure to download & install Tomcat 7 on Linux environment

Tomcat installation is one of the most straightforward installations I have come across.

However, if you don’t know then don’t worry. You will learn how to install Tomcat 7 and get up and running in just 5 minutes.

In this article, I will explain how to download, install and ensure it’s up & running.

  • Download the latest Tomcat7 version 7.0.62 from below link

  • Transfer the downloaded zip file to your server where you wish to install tomcat.

In this example – I have transferred to /opt/

[root@localhost opt]# ls -ltr
-rw-r--r--. 1 root root 9401043 Jun 17 20:05
[root@localhost opt]#
  • unzip the transferred file

And then you will have a new folder

[root@localhost opt]# ls -ltr
drwxr-xr-x. 9 root root   4096 May 7 20:17 apache-tomcat-7.0.62
-rw-r--r--. 1 root root 9401043 Jun 17 20:05
[root@localhost opt]#

You may rename apache-tomcat-7.0.62 to tomcat but it’s entirely on you. This concluded tomcat installation is done and now will start to ensure installation is successful.

  • Go to apache-tomcat-7.0.62/bin folder
  • Execute to start the tomcat
[root@localhost bin]# ./
-bash: ./ Permission denied
[root@localhost bin]#

If you are getting permission denied while executing sh file then you need to change the permission to sh file as executable.

chmod 755 *.sh
  • now, let’s try to start.
[root@localhost bin]# ./
Using CATALINA_BASE:   /opt/apache-tomcat-7.0.62
Using CATALINA_HOME:   /opt/apache-tomcat-7.0.62
Using CATALINA_TMPDIR: /opt/apache-tomcat-7.0.62/temp
Using JRE_HOME:       /
Using CLASSPATH:       /opt/apache-tomcat-7.0.62/bin/bootstrap.jar:/opt/apache-tomcat-7.0.62/bin/tomcat-juli.jar
Tomcat started.
[root@localhost bin]#

as you can see Tomcat is started.

By default, tomcat listens on 8080 port so you may wish to access tomcat by http://servername:8080 and you will have a welcome page like below.


That was easy. What’s next?

Learn more about Tomcat administration here.

  • Chandan Kumar
    As the founder of Geekflare, I’ve helped millions to excel in the digital realm. Passionate about technology, I’m on a mission to explore the world and amplify growth for professionals and businesses alike.
Thanks to our Sponsors
More great readings on Tomcat
Power Your Business
Some of the tools and services to help your business grow.
  • Invicti uses the Proof-Based Scanning™ to automatically verify the identified vulnerabilities and generate actionable results within just hours.
    Try Invicti
  • Web scraping, residential proxy, proxy manager, web unlocker, search engine crawler, and all you need to collect web data.
    Try Brightdata
  • is an all-in-one work OS to help you manage projects, tasks, work, sales, CRM, operations, workflows, and more.
    Try Monday
  • Intruder is an online vulnerability scanner that finds cyber security weaknesses in your infrastructure, to avoid costly data breaches.
    Try Intruder