Install Apache

Posted by Morgan Billingsley on December 30, 2019 5:17 pm

Step 1: Install Apache

Once you have accessed the server via SSH, install apache using the following command:

sudo apt update
sudo apt install apache2

Step 2: Check

Make sure apache is installed and running properly

sudo systemctl status apache2

You should see a message similar to this:

apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: 
   Active: active (running) since Mon XXXX-XX-XX XX:XX:XX UTC; Xh XXmin ago