Installing a web server/Apache web server
Installation Apache2
editDebian GNU/Linux Apache server
editInstalling the Apache2 web server requires a single command:
sudo apt-get install apache2
If you wish to make a LAMP (Linux, Apache, MySQL, PHP) server you must install PHP and MySQL:
sudo apt-get install php mysql
Ubuntu Server Edition Apache server
editThe 'htdocs' folder is located in '/var/www'
Installing the Apache2 web server requires a single command with working internet connection in Ubuntu too:
sudo apt-get install apache2