Skip to content

apache2 | Cheatsheet

The Apache HTTP Server is a free and open-source cross-platform web server software, released under the terms of Apache License 2.0. Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation


Installation

apt-get install -y apache2 python3-certbot-apache 
Recommended modules to be installed
apt install libapache2-mod-php libapache2-mod-security2

Add apache2 to boot runlevel

rc-update add apache

Add Apache2 to run at boot

systemctl enable apache2