SPEEDTEST.NET SERVER INSTALLATION:
STEP 1: INSTALLATION OF APACHE
It is the world’s most wildly used web server
that about more than 50% websites run on Apache web server. Following are the
steps given to install Apache web server. Open terminal using Ctrl+
alt + T, and Enter the following command.
#
apt-get install apache2
STEP 2: INSTALLATION OF PHP
Now, after installing Apache
web server , you need to install Php packages, run following command in
terminal,
#
apt-get install php5 php5-mysql php5-gd php5-mcrypt
STEP 3: DOWNLOAD SPEEDTEST MINI SERVER
Now, download the speedtest.net
mini server packages from official website.
For downloading we use wget command.
Now run the following command in terminal,
#
wget http://c.speedtest.net/mini/mini.zip
Now, we need to extract
mini.zip and copy all files into /var/www/html
#
unzip mini.zip
Now, copy folder into
/var/www/html/
#cp
-rRfv mini /var/www/html/
Now we need to assign ownership
of the files and folders to Apache’s user and group,
#
chown -R www-data:www-data /var/www/html/mini
Go to /var/www/html/mini and
edit required settings,
move index-php.html to
index.html by using mv command,
#
cd /var/www/html/mini
#
mv index-php.html index.html
Now, Restart Apache service and
mysql service,
#systemctl
restart apache2
STEP 5: INSTALLATION OF FLASHPLAYER
The flash player required foe
speedtest.net server. If flash-player is not installed in your system, install
it by using the following command,
#
apt-get install flashplugin-installer
SPEEDTEST MINI WEB INTERFACE:
Now, open your browser and open http://server_domain_name_or_IP/mini orhttp://localhost/mini
Reference : http://www.ewikitech.com/articles/linux/speedtest-net-server-install-in-ubuntu-15-04/