How to Install Apache Tomcat 8 in Linux

Tomcat 8 Apache How to Install

Apache Tomcat is a open-source web-server and Application Server. Installation of Apache Tomcat 8 in Linux is easy steps using YUM Package.

Tomcat is used for deploying Java applications such as JSP and Servlet Programs. It is simple & easy to use. Just create the war file & deploy in tomcat. For Further information about the tomcat server please visit the official site – Apache Tomcat 

Lets see the installation steps for Apache Tomcat -8, Pre-requisite for using Apache Tomcat is Java is to be installed. Lets check that in the server by issuing this command,

# java -version
java version "1.7.0_91"
OpenJDK Runtime Environment (amzn- u91-b00)
OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)

If Java is not installed, Please follow the article for Installation of Java JDK for Linux flavors such as RHEL or CentOS.


Download the Apache Tomcat

Download the Apache Tomcat -8 Version from the downloads page using wget command.

# wget
Connecting to (||:80... connected.
HTTP request sent, awaiting response... 200 OK
apache-tomcat-8.0.30.tar.gz 100%[========>] 8.73M 4.83MB/s in 1.8s
2016-01-21 17:26:14 (4.83 MB/s) - ‘apache-tomcat-8.0.30.tar.gz’ saved [916.50593/916.50593]

Once downloaded, extract the file using the below tar command

# tar -xvzf apache-tomcat-8.0.30.tar.gz
# cd apache-tomcat-8.0.30
# ls -lrt
total 112
drwxr-xr-x 2 root root 4096 Dec 1 22:30 work
drwxr-xr-x 2 root root 4096 Dec 1 22:30 logs
drwxr-xr-x 7 root root 4096 Dec 1 22:31 webapps
-rw-r--r-- 1 root root 16195 Dec 1 22:33 RUNNING.txt
-rw-r--r-- 1 root root 6741 Dec 1 22:33 RELEASE-NOTES
-rw-r--r-- 1 root root 1444 Dec 1 22:33 NOTICE
-rw-r--r-- 1 root root 57011 Dec 1 22:33 LICENSE
drwxr-xr-x 2 root root 4096 Dec 1 22:33 conf
drwxr-xr-x 2 root root 4096 Jan 21 17:34 bin
drwxr-xr-x 2 root root 4096 Jan 21 17:34 temp
drwxr-xr-x 2 root root 4096 Jan 21 17:34 lib


We could see the above list of directories inside the Apache tomcat folder. Next we will see about How to Start & Stop Apache Tomcat in Next Page

One Comments

  • YaelAFalacco

    March 7, 2016

    I actually have been exploring for just a little for virtually any top quality articles or weblog posts
    on this kind of house . Exploring in Yahoo I eventually stumbled upon this site.
    Studying this info So i am happy to convey that I have a remarkably excellent
    uncanny feeling I came upon just things i needed. I a great deal indisputably can certainly make certain to
    don?t forget this web site and provides it a peek regularly.

Leave a Reply