HOW TO INSTALL APACHE ON DEBIAN

Опубликовано: 09 Октябрь 2024
на канале: Darren's Tech Tutorials
125
2

Hi guys,

In short debian tutorial i will show you how to install the apache web server on debian 12. It is actually apache2 which we will install. The commands that you will need are:

sudo apt update
sudo apt upgrade

Both these commands just make sure your system is up to date.

Then to install apache on debian

sudo apt install apache2

you can check that apache is running on debian by running:

sudo systemctl status apache2

Then finally to stop, start and enusre that apache runs on boot you can run the following:

sudo systemctl stop apache2
sudo systemctl start apache2
sudo systemctl enable apache2

As always any issues or queries leave a comment!

Cheers,
Darren