Download speedtest Mini Server from the link below. You need to Login before you can download. If you don’t have an account, register first.
- 首先就是下载文件 具体下载地址http://c.speedtest.net/mini/mini.zip
mini.zip file, you need to unzip the archive file.
Now you need to determine on which server you want to host the application. You can choose any of the following as your hosting server – PHP, ASP, ASP.NET and JSP. Here we will be using PHP and Apache as Server to host.
Let’s install Apache, PHP and all needed PHP modules using the following commands. 配置环境，这里可以参阅本站centos lnmp的建议安装方法，英文给的是很多很多系统的环境配置咯
After installing Apache and PHP with all required modules, restart the Apache service as shown below.
Next, create a
phpinfo.php file under Apache default directory, that we will use to check if PHP is rendering correctly or not.
Note: The default Apache root directory may be /var/www/ or /var/www/html/, please check the path before moving forward…
Now we will be uploading the extracted folder
mini to the Apache default directory location.
We need to rename a file hence Long list the contents of directory that was uploaded to the Apache directory/var/www/ or /var/www/html.
Contents of Mini Server
index.html only and leave other files untouched.
Rename Index File
Note: If you’re using any other platform as your host, you need to rename respective file as shown below.
- Rename index-aspx.html to index.html, if you are using ASP.NET as your host.
- Rename index-jsp.html to index.html, if you are using JSP as your host.
- Rename index-asp.html to index.html, if you are using ASP as your host.
- Rename index-php.html to index.html, if you are using PHP as your host.
Now point your web browser to your local server IP address, which typically in my case is:
Speedtest Mini Server Testing
Click Begin test and it start testing the speed Locally.
Test Internet Speed Locally
Now If you want to run the mini server over internet you need to forward your port in the firewall as well as in the router. You may like to refer to the below article to get a brief of how-to on the above topic.
- Create Your Own Web Server to Host Website
If everything goes fine you can check your bandwidth speed using mini server. But if the mini server and machine to be tested are on the same network you might need a proxy server like (kproxy.com), to test.
Test Internet Speed on Same Network
Also you can check the speed of Internet connection on headless server or Linux command Line using
Check Internet Speed Using Speetest-Cli
Note: If you are on different network, you are supposed to use public ip address in web browser as well as command-line.
Furthermore, SYSAdmins can schedule the speedtest to run periodically in production, after setting up mini server.