Install apache web server on ubuntu desktop





If you are an active user of any of the PHP based content management system (CMS) like wordpress, magento , drupal or joomla , you may at some point want to be able to create a local instance of the CMS on your local instance of ubuntu, in order to carry out some development or design work.

How to install Apache web server on ubuntu desktop

In order to get one these CMS up and running you will be required to set up your ubuntu desktop as a LAMP (Linux Apache MySQL PHP) server. Even though ubuntu comes with a handy utility to configure a LAMP server on ubuntu desktop , you may also want to choose to set up each component of of the LAMP stack on a one by one basis.  In this post we will learn how to install the Apache Web server component of the stack

Install Apache

sudo apt-get install apache2

During the installation process you may be asked an additional question, simply press Y + enter to continue.

After installation has completed simply open you browser and navigate to http://localhost or 127.0.0.1 and the browser should display a page similar to the one below

apachehome



Gary Woodfine

Technical Director at Denizon
Gary is Technical Director at Denizon, an independent software vendor specialising in IoT, Field Service and associated managed services,enabling customers to be efficient, productive, secure and scalable in a way which helps them address and reduce their ecological impact.

Denizon's product line successfully integrate IoT, Artificial Intelligence and Blockchain technology to enable efficient, productive, secure and scalable solutions to help organisations address increasing energy demands, ecological impact and Health & Safety concerns of their staff.

Latest posts by Gary Woodfine (see all)