Advertisements
Skip to content

How to configure Apache Server in Kali Linux

In this tutorial we are going to learn how to configure apache or http server kali linux machine.

If you want to configure Apache server in kali linux then it is very easy to configure http or apache server in kali linux so just follow these simple steps and then configure by yourself.

Stpe-1 Firstly open the kali linux in your system here i am having kali linux in my VM VirtualBox if you want to configure in your real machine then also same process is there.

Step-2 After opening the kali linux and then open the terminal in kali linux then install this package of http server so how to install and configure the http server in kali linux by scrolling the the page see the commands to configure the http server in kali linux

Here is the commands to configure kali linux

Firstly check the ip address of linux machine here is the command to check the ip address

root@kali :~# ifconfig

Screenshot (76)

After checking the ip address now here is the commands to configuring the apache server

root@kali :~# apt-get install apache2      {To install the package of apache server}
root@kali :~# service apache2 start      { To restart the service of html server}
root@kali :~# service apache2 status   {to check the status that server is working or not}
root@kali :~# cd /var/www              {To go insige the www folder}
root@kali :/var/www# vim index.html     {To create the index.html file}
root@kali :/var/www# service apache2 start  {To start the service of apache}

This is how to install the package of html server

Screenshot (78)

This is to restart the service of html server and check the status of server

Screenshot (79)

Screenshot (83)

This is what we have to write inside the index.html file

Screenshot (80)

Step-3 After all this configuration now open the chrome browser or firefox or internet explorer or you pc default browser in kali linux or windows and type the ip address of the kali linux in search bar and then see all the output of http server which we write on the index.html file.

Here you can see the pictures where to type the ip address of kali linux

Screenshot (82)

This is all how to install and configure the http or you can say apache server in kali linux machine.

If you learn something from this post then make sure you please like this tutorial and follow my this beautiful website to learn more intresting topic on kali linux and windows,Ethical Hacking, Redhat linux,cryptography and much more intresting topics.

 

If you want to learn about cyber security in detail and if you want practical training of cyber security with detail notes so by scrolling down the page check this product it will give you the best knowledge with practical training.

 

Cyber Security Training Notes

Advertisements

Leave a Reply

Discount Offer

Now Get 50% Discount

On Cyber Security Training                                                       Notes  

Click here  To Purchase

%d bloggers like this: