Installing Apache Tomcat Manually

Stalin Rijal
Apr 29, 2021

Tomcat is software designed for executing Java servelets and render web pages.

How to manually install Apache Tomcat? | Linux

STEP-I: Download core tar.gz file. And extract it

STEP-II: Install JDK
We can either download Open JDK or Oracle JDK.
I am using Open JDK which can be downloaded from AdoptOpenJDK website.

STEP-III: Set path for JAVA_HOME and CATALINA_HOME
(in .bashrc file)
export JAVA_HOME=<path of JDK home>
export PATH=${JAVA_HOME}/bin:${PATH}
export CATALINA_HOME=<path of tomcat>

STEP-IV: Run Tomcat
Simply in linux terminal(bash shell):
Cmd: sh <tomcat-full-location>/bin/startup.sh

--

--