Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to Install Speedtest.net Server In CentOS 7  (Read 1021 times)

0 Members and 1 Guest are viewing this topic.

jibinw

  • Guest
How to Install Speedtest.net Server In CentOS 7
« on: July 14, 2018, 12:47:57 pm »
Introduction

Speedtest.net is very popular speed test tool to check test Internet Bandwidth. You can configure your own speedtest.net mini server to run Internet speed.It ping several  websites via HTTP and calculate the response time and display results in GUI.

Requirements
  • CentOS 7
  • Apache and php packages.
  • Speedtest mini package.[/li
Installation

Login to your CenOS 7
   
Install httpd package

Code: [Select]
[root@localhost ~]# yum install httpd
Install php modules

[root@localhost ~]# yum install php php-mysql php-gd php-mcrypt

Download Speed.net mini server from following link

    http://c.speedtest.net/mini/mini.zip

Unzip this package and copy contents to /var/www/html

Code: [Select]
[root@localhost ~]# unzip mini.zip
Go to the installed directory.

Code: [Select]
[root@localhost ~]# cd mini/
Copy all contents to /var/www/html

Code: [Select]
[root@localhost mini]# cp -rRfv mini /var/www/html/
Go to /var/www/html/mini and edit required settings

Code: [Select]
[root@localhost mini]# cd /var/www/html/mini
Rename index-php.html to index.html

Code: [Select]
[root@localhost mini]# mv index-php.html index.html
Start httpd service

Code: [Select]
[root@localhost mini]# systemctl start httpd
Browse for mini server.

Code: [Select]
http://127.0.0.1/mini
Important:
There is possibility that Flash 8 is not installed by default , and it can show some error on browser. I got encountered with this problem. Here i will include flash installation step to complete speed test mini configuration.



Create YUM Repo for flash

Code: [Select]
[root@localhost ~]# vim /etc/yum.repos.d/adobe-linux.repo
Edit as follows:

Code: [Select]
[adobe-linux]
name=Adobe Systems Incorporated
baseurl=http://linuxdownload.adobe.com/linux/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

Update yum

Code: [Select]
[root@localhost ~]# yum update
Install required package

Code: [Select]
[root@localhost ~]#yum install flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl
It is recommended to reboot system after flash installation.

Open the browser and test your speedtest.net mini