How to install Apache on Ubuntu?

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.

https://server_IP_address

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

Related Articles

How to add user to sudo group in a Linux VPS?

With Sudo you can provide special privileges to any user or group. In Linux, there are few...

How to Change LiteSpeed WebServer Port on cPanel?

Please refer to the following steps to change the LiteSpeed WebServer Port on cPanel. Login to...

Virtual Machine with CentOS 5 32-Bit OS Does not Address Physical Memory More Than 3 GB

Recently we came across very strange issue wherein Linux virtual machine with Centos 5.X 32 Bit...

How to Install Tomcat 7 on Centos?

Tomcat is an open-source web server that is built in Java Servlet and JavaServer Pages...

How to Enable Plaintext Authentication in Dovecot?

Dovecot is an Open source IMAP or POP3 server used to create light-weight and high-performance...

  • 0 Users Found This Useful

Was this answer helpful?