Apache is an open source web server that’s available for Linux servers free of charge.
In this tutorial we’ll be going through the steps of setting up an Apache server.
Install Apache 2 in Ubuntu
To install Apache, install the latest meta-package
apache2 by running:
sudo apt update
sudo apt install apache2
Verify apache is installed or not
Open your borwser and just type http://localhost/ or http://<your_ip>/ and press enter.
it should show the apache default page.
That’s all, Apache 2 is installed in your ubuntu system.