Apache is one of the popular web servers as it has many robust features, including dynamic modules, media support, and extensive integration with numerous other popular software.
This article will explain how you can install the Apache server on Ubuntu.
1. First of all, update the local OS package using this command –
$ sudo apt update
2. Install the Apache2 package using this command –
$ sudo apt install apache2
3. Check if the Apache service is running with the command given below –
$ sudo systemctl status apache2
Use your IP Address to check the default Apache landing page to ensure the software works correctly. You will notice the default Ubuntu page on the browser.
Thus, following these steps, you can install the Apache server on Ubuntu.