-
Login to your Ubuntu server with root user with your favorite SSH client
-
Lets first update the operating system with all the latest packages with the command
sudo apt-get update
-
Let’s first install apache with the command
sudo apt-get install apache2
-
You can see that apache is installed now and running
-
You can test the apache service by browsing the server IP