Menu
User

DropVPS Team

Writer: Cooper Reagan

How to install Apache Tomcat on kali linux 2025

How to install Apache Tomcat on kali linux 2025

Publication Date

09/23/2025

Category

Articles

Reading Time

2 Min

Table of Contents

Apache Tomcat is a popular open-source Java Servlet container used to run Java web applications. Installing Tomcat on Kali Linux 2025 allows you to deploy and manage Java-based web projects.

Step 1: Update System Packages

Start by updating your package index:

sudo apt update && sudo apt upgrade -y

Step 2: Install Java

Tomcat requires Java to run. Install OpenJDK 17:

sudo apt install openjdk-17-jdk -y

Verify Java installation:

java -version

Step 3: Download Apache Tomcat

Go to the /opt directory and download the latest Tomcat 10 version:

cd /opt
sudo wget https://downloads.apache.org/tomcat/tomcat-10/v10.2.0/bin/apache-tomcat-10.2.0.tar.gz

Extract the archive:

sudo tar xzf apache-tomcat-10.2.0.tar.gz

Rename the folder for easier access:

sudo mv apache-tomcat-10.2.0 tomcat

Step 4: Set Permissions

Ensure that the Tomcat scripts are executable:

cd /opt/tomcat/bin
sudo chmod +x *.sh

Step 5: Start Tomcat

Run the startup script:

sudo ./startup.sh

Verify that Tomcat is running by opening your browser and navigating to:

http://localhost:8080

Apache Tomcat is now installed and running on Kali Linux 2025. You can deploy Java web applications by placing them in the /opt/tomcat/webapps directory.

Linux VPS
U
Loading...

Related Posts

How to install Apache Tomcat on kali linux 2025