< Installing a web server

Installation Apache2

Debian GNU/Linux Apache server

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

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
This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.