Friends, in today's post, we are going to see how by using Termux, we will learn how to install Apache Server Package and how to make our mobile a server machine.​

What is Apache Server?

Apache is a web server that we use in the Linux environment.

The job of the web server is to make you serve the web pages whichever client requests.

The client requests through the web browser such as Chrome, Internet Explorer, safari or firefox etc. interact with them and through them you request from the server.

The job of a web server is to accept the client’s request and give a response to their request based on whatever request the client has requested.

That’s what Apache Server does.

Termux is so powerful that we can install the Apache web server in Termux.

					pkg update && pkg upgrade -y
apt install apache2 -y
apt install nano -y
apachectl start
cd ..
nano usr/etc/apache2/httpd.conf


Add the Following line at the end of this page


Now save this settings and restart the server using below command

					apachectl stop
apachectl start

Now open your favourite Browser Like Chrome, etc…. and type the below command

if you see this message It Works! means you have successfully installed apache web server in your Android Termux.

Sandeep Tech

Sandeep Bhondwe


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *