2

I need to install Apache on Ubuntu. Which is the simplest way to accomplish this task? Is there a detailed documentation? Regards. Sumo

Sumo
  • 21
  • 1
  • 4
    `sudo apt-get install apache2`. As you can see, it's very simple to install Apache, configuring it is a different story,but you've not asked about that. – mikewhatever Mar 22 '13 at 00:43

1 Answers1

0

There is a community guide to install apache. But is very hard to find a step by step guide, because you have to enter just one command to install it.

So for users with few or no experience using a terminal I create this step by step guide:

  1. Turn your computer on and login into your Ubuntu user
  2. Open a terminal, search it in the dash or press Ctrl+Alt+T
  3. Now that you have open the terminal enter the next command:

    sudo apt-get install apache2

  4. If it request you a password, enter this and press enter.

To see how it works enter the next command or restart your computer (very annoying):

sudo /etc/init.d/apache2 restart

It will restart apache. Open your web browser and enter http://localhost in the address bar.

Further information: HTTPD - Apache2 Web Server & ApacheMySQLPHP

Lucio
  • 18,648
  • 31
  • 107
  • 190