How to install Apache on Ubuntu? Print

  • 0

Apache is one of the popular web servers. It has many strong features, including dynamic modules, media support, and extensive integration with many other popular software.

In this tutorial, we will explain to you how you can install Apache server on Ubuntu.

  1. First of all update the local OS package using the below command.

    $ sudo apt update
  2. Install Apache2 package using the below command.

    $ sudo apt install apache2
  3. Check the apache service is running with the command below.

    $ sudo systemctl status apache2

Now, we’ll need to check the default Apache landing page to make sure that software is working properly by using your IP address. You will notice the default Ubuntu page on the browser.


This is how you can install the Apache server on Ubuntu.

Was this answer helpful?

« Back
Sign up for a newsletter