How to setup your own speedtest mini server in Linux
Speedtest mini server in Linux
This ia an article about Speedtest.net mini which is a speed testing application used for hosting speed test server. It provides with the knowledge of setting your own speed test mini server.
To install speed test mini server
Download the file “ mini.zip” from the following link.
http://www.speedtest.net/
Note: You need to register and login the speedtest.net prior to download the file
To downloaded mini.zip file, you need to unzip the archive file
Example
[root@linuxhelp Desktop]# unzip /home/user1/Downloads/mini.zip
Archive: /home/user1/Downloads/mini.zip
creating: mini/
inflating: mini/crossdomain.xml
inflating: mini/index-asp.html
inflating: mini/index-aspx.html
...
...
inflating: mini/swfobject.js
inflating: mini/speedtest/swfobject.js
To install Apache, PHP
[root@linuxhelp Desktop]# yum install httpd
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
...
...
Installed:
httpd.x86_64 0:2.2.15-47.el6.centos.3
Complete!
[root@linuxhelp Desktop]# yum install php php-mysql php-pdo php-gd php-mbstring
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
...
...
...
Installed:
php.x86_64 0:5.3.3-46.el6_7.1 php-gd.x86_64 0:5.3.3-46.el6_7.1
php-mbstring.x86_64 0:5.3.3-46.el6_7.1 php-mysql.x86_64 0:5.3.3-46.el6_7.1
php-pdo.x86_64 0:5.3.3-46.el6_7.1
Dependency Installed:
libXpm.x86_64 0:3.5.10-2.el6 php-cli.x86_64 0:5.3.3-46.el6_7.1
php-common.x86_64 0:5.3.3-46.el6_7.1
Complete!
To restart the Apache service
[root@linuxhelp Desktop]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
To check if PHP is rendering correctly or not
[root@linuxhelp Desktop]# echo " " > /var/www/html/phpinfo.php
To upload the extracted folder mini to the Apache default directory location
[root@linuxhelp Desktop]# cp -R mini /var/www/html
To rename index-php.html to index.html
[root@linuxhelp mini]# mv index-php.html index.html
To Begin test
To check the speed of Internet connection Linux command Line using speed test-cli tool
[root@linuxhelp mini]# speedtest_cli.py --mini http://127.0.0.1/mini
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Bharti Airtel (125.17.109.94)...
Hosted by Speedtest Mini (127.0.0.1) [0.00 km]: 13.413 ms
Testing download speed........................................
Download: 1720.52 Mbit/s
Testing upload speed..................................................
Upload: 438.97 Mbit/s
Tag :
Speed test
windogwow
Oct 31 2017
I used to have this running all the time on my server. but i believe they removed the free version one recently. not sure if it is still working.
I will test it out and keep update.
tnelservezeit
Jul 29 2017
ok
Q
Why aren’t there any servers in my area? #
A
Your computer’s firewall or a proxy server might be blocking communication over port 8080, which will limit the number of servers available for testing.
Q
What should I do if my internet speed is slow? #
A
Before you contact your internet service provider (ISP) or mobile carrier, check to see if you’re running any ongoing downloads or other programs like video chat that might be hogging your bandwidth. Close those and test again.
Q
I don’t find any improvement in my local speed test?
A
Check with the version installed and update it!!
Q
What is a Speedtest mini server in Linux?
A
This is an article about Speedtest.net mini which is a speed testing application used for hosting speed test server. It provides with the knowledge of setting your own speed test mini server.
Q
How to extract the downloaded mini zip file?
A
Execute the following command:
# unzip /home/user1/Downloads/mini.zip
# unzip /home/user1/Downloads/mini.zip