Home Linux DistributionsCentOS Install your own speed test server with Speedtest.net Mini In CentOS 7

Install your own speed test server with Speedtest.net Mini In CentOS 7

By sk
155 Views

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.

  1. ASP.NET as your host- index-aspx.html to index.html
  2. JSP as your host- index-jsp.html to index.html
  3. ASP as your host- index-asp.html to index.html
  4. 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.

Speedtest

That's all for your now. If you find it useful, please share on your social networks.

Cheers!

You May Also Like

2 comments

Xay December 15, 2019 - 2:30 pm

my centOS 7 is problem:
[[email protected] ~]# 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

Reply
sk December 16, 2019 - 1:48 pm

Speedtest min is discontinued. Please look for any other available alternatives.

Reply

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More