As of June 30, 2017 Speedtest Mini is discontinued and no longer available. Please look for any other alternatives.
In this article, we will install and configure self hosted version of Speedtest.net on a CentOS 7. Speedtest.net mini is a speed testing application which is used for hosting speed test server Mini on your own server. Speedtest.net Mini which can be installed locally to do basic tests and check the upload and download speed of your server. If you want to set up your own local SpeedTest.net server for getting accurate data rate measurements (see Speedtest.net - Speedtest.net Mini) then here's a pretty easy method.
Step - 1 First update the server:
# yum update -y
Step - 2 Install apache and php package:
# yum install httpd
Step - 3 Start the apache web server:
# systemctl start httpd
Step - 4 Install PHP and Some modules:
# yum install php php-mysql php-gd php-mcrypt
Step - 5 Download the Speedtet.net Mini Server:
# wget http://c.speedtest.net/mini/mini.zip
Note: You need to Login before you can download. If you don’t have an account, register first. Go to the following link and register an account.
Step - 6 Unzip the download file:
# yum install unzip -y
# Unzip mini.zip
Step - 7 Now copy the extracted folder '/mini' '/var/www':
# cp -R /mini /var/www/html/
Step - 8 You can see the Apache’s document root directory:
# grep -i "^documentroot" /etc/httpd/conf/httpd.conf
DocumentRoot "/var/www/html"
Display the output a document root directory is /var/www/html.
Step - 9 We need to rename the ‘index-php.html’ file:
# cd /va r/www/html/mini
# ls
# mv index-php.html index.html
Note- If you are using any other platform as your host, like jsp, asp, php, Then you need to rename respective file as shown below.
- ASP.NET as your host- index-aspx.html to index.html
- JSP as your host- index-jsp.html to index.html
- ASP as your host- index-asp.html to index.html
- PHP as your host- index-php.html to index.html
Step - 10 Open your favorite web browser any type your local server IP address:
and start testing your server speed.
That's all for your now. If you find it useful, please share on your social networks.
Cheers!
2 comments
my centOS 7 is problem:
[root@laosatulink ~]# unzip mini.zip
Archive: mini.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of mini.zip or
mini.zip.zip, and cannot find mini.zip.ZIP, period.
How to solve
Speedtest min is discontinued. Please look for any other available alternatives.