-
-
Notifications
You must be signed in to change notification settings - Fork 540
Apache tips
ghost-from-the-past edited this page Apr 14, 2021
·
9 revisions
the directory /var/www is where Apache2 expects to have the websites (in Ubuntu, Debian flavors)
To enable or disable the automatic start of Apache2 service when you boot your machine use
>systemctl enable apache2.service
>systemctl disable apache2.service
To start or stop manually the Apache2 service use
>systemctl start apache2.service
>systemctl stop apache2.service