Host a website on Raspberry Pi in 30 mins

I have old Raspberry Pi and I want to use it for personal server to running my task manager software.

Install raspbian on SD card

sudo dd bs=1m if=path_of_your_image.img of=/dev/diskn

And turn on Raspberry and check ip address.


And I get

Connect using terminal.

ssh pi@

Make apt-get up to date.

apt-get update

Install apache2

sudo apt-get install apache2 -y

Install php

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

Install mysql

sudo apt-get install mysql-server

Install phpmyadmin

sudo apt-get install phpmyadmin
sudo nano /etc/apache2/apache2.conf
Include /etc/phpmyadmin/apache.conf
sudo /etc/init.d/apache2 restart
Access to

I have downloaded task manager from and install on the server.

Boom! Here’s my website.

It took about 40 mins to install and host a website and hosting is free, isn’t it cool?