Skip to main content

Update the server and install Apache

So let's update the server and ensure everything is ready for us to continue.

sudo apt update -y && sudo apt upgrade -y

Now let's install Apache:

sudo apt install apache2 -y

Let's start and enable Apache on boot:

sudo systemctl start apache2 && sudo systemctl enable apache2

We need a few add-ons for Apache to be installed:

sudo a2enmod proxy proxy_http proxy_wstunnel rewrite headers


Restart Apache:

systemctl restart apache2