apache2 installation


ubuntu

sudo apt update

sudo apt install apache2

statussystemctl status apache2
test

nmap localhost

curl localhost

set the firewall on ubuntu

ufw app list