Installation of Speedtest under Ubuntu

Source: Internet
Author: User

To install speedtest, you need to install Apache first, see the "Installation of Apache under Ubuntu" article, and then install Lamp server, see the article "Fast installation of lamp server under Ubuntu", and finally install Speedtest.

First, open the Ubuntu virtual machine, terminal open root: "Sudo-s".

First, install Speedtest Netgauge

(1) Download

Http://files.netgauge.ookla.com/releases/netgaugedemo.zip

(2) Decompression

After extracting the folder named Speedtest

(3) placing

Place the Speedtest folder under the "/usr/local/apache/htdocs/" path, where the final path is "/usr/local/apache/htdocs/speedtest/*.*".

* If using lamp installed Apache, the path should be "/var/www/html/speedtest/*.*".

(4) Modify permissions

Change the permissions of the Speedtest folder and all files inside it to 777.

#chmod 777 Speedtest

#chmod 777 speedtest/*

(5) Modify the settings file

<1> Change Reason

Other IPs need to call local Speedtest

<2> Modification Methods

/usr/local/apache/htdocs/speedtest/setting.xml file

Change "host= 127.0.0.1:8080" to "host= Ubuntu ip:8080"

Second, installation ooklaserver.sh

(1) Download

#curl-O http://install.speedtest.net/ooklaserver/ooklaserver.sh

(2) Modify permissions to allow installation

#chmod a+x ooklaserver.sh

(3) Installation

#./ooklaserver.sh Install

* (4) To view ooklaserver.sh's Help file

#./ooklaserver.sh-h

* Third, close Ubuntu firewall

(1) View the status of the current firewall

#service UFW Status

(2) shutting down the firewall

#service UFW Stop

(3) Setting boot does not start the firewall

#ufw Disable

Iv. final use of speedtest is also a sign of the success of the test installation

(1) Start Apache

#/usr/local/apache/bin/apachectl start

(2) Start ooklaserver.sh

#/usr/local/apache/htdocs/speedtest/ooklaserver.sh start

(3) Check whether the installation is successful

Open Browser Input url "Ubuntu virtual machine IP address/speedtest/" on other IP side

The successful Start page will display: Speedtest of the graphical interface

(4) You can test the network directly by clicking the "Test" button.

  

Installation of Speedtest under Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.