Set Up Web Servers

For Debian / Ubuntu ONLY.
Execute the following commands in your terminal

Install PHP5, Apache2 and MySQL Server

$ sudo apt-get update
$ sudo apt-get install php5 apache2 mysql-server

Install additional modules

You can install additional modules like PHP5-MySQL, PHP5-cURL and more.

$ sudo apt-get install php5-mysql php5-curl

Then go to your WebRoot and upload some webpages

They are usually located in /var/www/html

Enjoy your new website!

By entering the IP address of your computer, you can enter your website now.

Leave a Reply

Your email address will not be published. Required fields are marked *