Installing a web server/Apache web server
Appearance
Installation Apache2
[edit | edit source]Debian GNU/Linux Apache server
[edit | edit source]Installing 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
[edit | edit source]The '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