Wednesday, 17 April 2024

How to Install Ookla Server in Centos-7 ...!!

Step-1: I will create a directory inside the /user and there I will install the Speedtest . 


cd /usr/
mkdir ookla
cd /


yum install wget
cd /usr/ookla/
wget https://install.speedtest.net/ooklaserver/ooklaserver.sh
ls -l

chmod a+x ooklaserver.sh
./ooklaserver.sh install
./ooklaserver.sh start
./ooklaserver.sh restart

ls -l

Step-2:Once the Speedtest files will be installed I will install the HTTP server along with PHP.



cd /
yum install httpd
systemctl enable httpd.service
systemctl restart httpd.service
firewall-cmd --zone=dmz --add-port=8080/tcp --permanent
firewall-cmd --zone=public --add-port=8080/tcp
firewall-cmd --permanent --add-port=8080/tcp
firewall-cmd --reload
systemctl status httpd
firewall-cmd --list-ports

yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo

php -v
cd /var/www/html/

ls -l



cd /

firewall-cmd --zone=public --permanent --add-port=5060/udp
firewall-cmd --reload
firewall-cmd --list-ports


cd /
cd usr/ookla/
./ooklaserver.sh -h
./OoklaServer --daemon
systemctl restart httpd
./ooklaserver.sh restart


next to allow cross domain and enabling the ipv6 in the Ooklaserver properties files.Just uncomment the below lines .

Open OoklaServer.properties in a text editor

Find the line 

“# OoklaServer.useIPv6 = true”

# OoklaServer.allowedDomains = *.ookla.com, *.speedtest.net


Uncomment the line by removing the # symbol

Save the OoklaServer.properties changes



No comments:

Post a Comment