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
Comments ( 2 )