How to install Apache Tomcat in Ubuntu
This post will describe how to install and configure Apache Tomcat. Apache Tomcat is a Servlet Container for Java-based Web Application. It is an open source software developed by Apache Software Foundation. It has three major Components Catalina (Servlet Container) Coyote (HTTP connector) Jasper (JSP engine) Software Version used in this post were as follows: Tomcat v9.08, Ubuntu 18.04 and Java JDK Step 1 Install Java Step 2 Create Tomcat User Step 3 Install Tomcat Step 4 Configure Tomcat Step 5 Manage Credentails Step 6 Start Tomcat ----------------------------------- STEP 1 : INSTALLING JAVA If Java JDK is not available install it. First, update the package index $ sudo apt-get update Then install Java JDK $ sudo apt-get install default-jdk STEP 2 : CREATE TOMCAT USER Create new tomcat group $ sudo groupadd tomcat Create tomcat user with a home directory where we can install tomcat(/opt/tomcat) $ sudo useradd -s /bin/false -g groupname -d direc...