Host Your Own Speedtest Server on CentOS 7 VPS

Thursday, August 27th 2015. | how to

#howto ,#tutorial #VPS – Host Your Own Speedtest Server on CentOS 7 VPS – This tutorial explains step by step guide (with pics) about Host Your Own Speedtest Server on CentOS 7 VPS

SpeedTest.net has been recently being a global standard for broadband speed test. Many users use their service to test how fast their internet connection is. Yet, you can also use Speedtest to test and find out how fast the up and down link speed of your VPS. But did you know that you can even host your own Speedtest webapp using its Mini version? Well, you can! Simply follow very easy steps below:

What you need:

  1. A VPS with at least 512MB of RAM. Check this list of best VPS providers.
  2. Install CentOS 7 one it.
  3. Putty or any of your favorite SSH client.
  4. About 15 minutes of your time.

that’s it.

Install Apache and PHP

Step 1 -Login to your VPS:

login-vps

Step 2 – You gonna need a webserver on it and Apache will be perfect for that job. So let’s start to install it. Issue this command:

yum install httpd -y

install-httpd

Step 3 – Next, install PHP and required PHP modules:

yum install php php-mysql php-gd php-mcrypt -y

install-php

Download and Install Speedtest Mini

Step 1 – Now grab Speedtest Mini package using wget:

wget http://c.speedtest.net/mini/mini.zip

download-speedtest-mini-pack

Step 2 – Unzip its package and move it to web directory. Simply follow command lines below. Copy-paste each line one by one, not all at once:

unzip mini.zip
mkdir -p /var/www/html
cp -rRfv mini /var/www/html/

p.s: If you not install unzip yet, you can install it with this command:

yum install unzip -y

unzip-speedtest-mini

create-webdir-copy

Step 3 – Next, go to the web directory and rename index-php.html to index.html:

cd /var/www/html/mini
mv index-php.html index.html

goto-webdir

Step 4 – Finally, start Apache with this classy CentOS 7 command:

systemctl start httpd

start-httpd

Finally, you can run it for the very first time. Open up your favorite web browser and give it a try. You can access it via this url:

http://x.x.x.x/mini

replace that x.x.x.x with your own VPS IP address.

speedtest-test

 

This post Host Your Own Speedtest Server on CentOS 7 VPS is part of ServerMom.

Source link

Incoming search terms: