2016年6月18日 星期六

[OOKLA]Installation Guild - Speedtest.net by Ookla

0. Prepare
Make sure the system install apache & php & flash.
Fill the form will appear a hyperlink which can download netgaugedemo.zip from ookla.

NetGauge Trial

netgaugedemo.zip have include readme.pdf.
Please read it carefully will find out the step about how to use ookla.

1. Install Ookla server
There two method can install ookla server.
I choose download script and execute it to install it automatically.
The other way is manually to setup the sever.

Install script can download from this webpage.
Using a Shell Script (Linux/Unix only)

Open the web browser (127.0.0.1:8080) will see following string.
OoklaServer
It worked!
Or use the command line confirm Ookla Net server is running.
ps -ef | grep OoklaServer


2. netgaugedemo.zip decompress under /srv/http (the apache under archlinux) as client.

Find out where is settings.xml.
Following string change to another like below.
<server name="NetGauge Server" id="1"   >
  <method type="tcp" host="speedtest.mycompany.com:8080" />
</server>

<server name="NetGauge Server" id="1"   >
<!-- This is meaning where is the location of server. 
     When webpage start to run speedtest will find following server at the first.
-->
  <method type="tcp" host="192.168.50.107:8080" />
</server>

Now open web browser to browse the 192.168.50.107 will see flash at the center of screen. No need to append :8080 after the ip address.



This one can modify or not.
I modify 100 to 200 to extend the timeout value.
Because some situation need more time to test the speed,so I extend the timeout value.
functions_v3.js:12: setTimeout("flashCall(\'" + jsmethod + "\', \'" + args + "\')", 100);

functions_v3.js:12: setTimeout("flashCall(\'" + jsmethod + "\', \'" + args + "\')", 200);

3. Let start to test the speed.
Now open the web browser and type 192.168.50.107 (my local ip address).
That start to run will see the result.

Reference:

0 意見:

張貼留言