Host Your Own Speedtest Server on CentOS 7 VPS
#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:
- A VPS with at least 512MB of RAM. Check this list of best VPS providers.
- Install CentOS 7 one it.
- Putty or any of your favorite SSH client.
- About 15 minutes of your time.
Install Apache and PHP
Step 1 -Login to your 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
Step 3 – Next, install PHP and required PHP modules:
yum install php php-mysql php-gd php-mcrypt -y
Download and Install Speedtest Mini
Step 1 – Now grab Speedtest Mini package using wget:
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
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
Step 4 – Finally, start Apache with this classy CentOS 7 command:
systemctl 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:
replace that x.x.x.x with your own VPS IP address.
This post Host Your Own Speedtest Server on CentOS 7 VPS is part of ServerMom.