https://kbhost.nl/knowledgebase/ookla-speedtest-server-install/
https://blog.remontti.com.br/2725
 
ifconfig_ix0="inet XX.XX.XX.XX netmask 255.255.255.224"
ifconfig_ix0="-rxcsum -txcsum -tso4" # -lro"
>> rc.conf
 
 
pkg update -f
 
echo autoboot_delay=\"-1\" > /boot/loader.conf
echo beastie_disable=\"YES\" >> /boot/loader.conf
echo 'WITHOUT_X11="yes"' >> /etc/make.conf
echo 'WITHOUT_GUI="yes"' >> /etc/make.conf
 
pkg install mc perl5 apache24
 
ln -s /usr/local/bin/perl /usr/bin/perl > /dev/null
 
sysrc apache24_enable=yes
echo /sbin/kldload accf_http >> /etc/rc.local
/sbin/kldload accf_http
 
ee /usr/local/etc/apache24/Includes/httpd.conf
 
##LoadModule cgi_module libexec/apache24/mod_cgi.so
ServerName 0.0.0.0:80
 
service apache24 start
 
pkg install sysutils/webmin
/usr/local/lib/webmin/setup.sh
 
 
sysrc webmin_enable=YES
service webmin start
 
pkg install phpMyAdmin-php72 www/mod_php72
 
ee /usr/local/etc/apache24/Includes/httpd.conf
ee /usr/local/etc/apache24/Includes/php-application.conf
 
cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini
chmod u+w /usr/local/etc/php.ini
 
ee /usr/local/etc/apache24/Includes/phpmyadmin.conf
service apache24 restart
 
pkg install -g libidn2 ca_root_nss
 
https://support.ookla.com/hc/en-us/articles/234578548
 
mkdir -p /home/ookla/server
cd /home/ookla/server/
fetch http://install.speedtest.net/ooklaserver/ooklaserver.sh
sh ooklaserver.sh --installdir /home/ookla/server install
chmod a+x ooklaserver.sh
 
./ooklaserver.sh start
 
echo "/bin/sh  /usr/home/ookla/server/ooklaserver.sh start" >> /etc/rc.local
 
https://www.ookla.com/host-tester