Raspberry Pi as a WebServer

Having your own web-server is really awesome if it is as cheap and so much fun as it can be.

Here are the steps to make your very own raspberry pi.

You should have a Raspberry Pi with an SSH connection and a static IP for this to work.

(If you haven’t done so I will soon post how to!!)

To install Apache and PHP:

sudo apt-get install apache2 php5 libapache2-mod-php5

Now restart the service.

sudo service apache2 restart

Now go to the web-browser on your computer and enter the static IP of the PI.
If you get a message saying : “It Works”..
then it sure does.

You can also install MySQL:

sudo apt-get install mysql-server mysql-client php5-mysql