HTML5 speed test server

Install apache2 and PHP

SSH or connect locally to your server and run

sudo apt-get install apache2 php

if prompted, type y

Get a sandwich or something as this may take a while depending on your internet connection

Clone the speedtest files to your web directory

cd /var/www/

git clone https://github.com/adolfintel/speedtest.git

Move the files to html

sudo mv speedtest/* /var/www/html

Delete index.html

Move to html and delete the index file

cd /var/www/html

sudo rm -rvf index.html

Pick what you want

For this example we will be using the example-pretty.html

sudo cp example-pretty.html index.html

Celebrate

Once this is done, go to the IP address of your server (ifconfig will find this)