HostOnNet Blog

How to install apache2 on Ubuntu

Looking for Linux Server Admin or WordPress Expert? We can help.

The Apache2 web server is available in Ubuntu Linux. To install Apache2:

Login as root, then enter the following command in terminal prompt:

apt-get install apache2

This will install apache. You will see the result as:
apache-install

Once the installation finished, open a browser and go to the URL “http://YourServerIP“. If you see the word “It Works!“, then your installation of apache is successful.

apache_home

Location of apache config in debian (ubuntu is copy of debian):

/etc/apache2

To completely remove apache2 and its configuration from Ubuntu, you can run following command:

apt-get remove apache2*

About Vineesh Mohan

A Technical Support specialist with strong customer service and good communication skills. I live in the city of Cochin, which known as the Queen of Arabian Sea.
Posted in Apache. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.