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
sudo apt-get install apache2
During the installation process you may be asked an additional question, simply press
After installation has completed simply open you browser and navigate to
127.0.0.1 and the browser should display a page similar to the one below