Join our telegram channel Read The Message Join Now!

This Blog is protected by DMCA.com

You may like

Related Posts

#antiadsblocker

Installing Tomcat Apache Server in Termux | No Root

Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated


Hello friends, In this blog we will how we can install Apache Tomcat server in Termux.

Apache Tomcat is a popular and open source webserver and servlet container for Java code. It allow us to run Java web pages. It can also be used as an HTTP server.


Prerequisite :

Termux


Installation :


First of all we need to install Java

 

pkg update && pkg install openjdk-17


 Next we need to get Tomcat binaries

 

cd $HOME && wget https://dlcdn.apache.org/tomcat/tomcat-10/v10.0.23/bin/apache-tomcat-10.0.23.tar.gz


Now extract the file

 

tar -xf apache-tomcat-10.0.23.tar.gz


Next we need to set Environment Variables

 

export CATALINA_HOME=$HOME/apache-tomcat-10.0.23


Now start the server

$CATALINA_HOME/bin/catalina.sh start


Now the Server is running on port 8080


To stop the server, execute

 

$CATALINA_HOME/bin/catalina.sh stop
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.g
Site is Blocked
Sorry! This site is not available in your country.
/* Anti Ad Block By The Web Trick*/