pkg install webmin apache24 certbot mkdir -p /usr/local/ooklaserver cd /usr/local/ooklaserver fetch --no-verify-peer https://install.speedtest.net/ooklaserver/ooklaserver.sh chmod +X ooklaserver.sh ooklaserver.sh ./ooklaserver.sh 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 cd /usr/local/ooklaserver fetch --no-verify-peer https://install.speedtest.net/ooklaserver/stable/OoklaServer-freebsd64.tgz tar zxvf OoklaServer-freebsd64.tgz pkg install mc-light tar zxvf OoklaServer-freebsd64.tgz rm OoklaServer-freebsd64.tgz chmod a+x ooklaserver.sh cp OoklaServer.properties.default OoklaServer.properties mcedit OoklaServer.properties ./OoklaServer --daemon cd /usr/local/www fetch --no-verify-peer http://install.speedtest.net/httplegacy/http_legacy_fallback.zip unzip http_legacy_fallback.zip rm http_legacy_fallback.zip echo 'WITH_PKGNG="yes"' >> /etc/make.conf echo 'daily_backup_pkgdb_enable="NO"' >> /etc/periodic.conf cp /usr/local/etc/pkg.conf.sample /usr/local/etc/pkg.conf pkg update -f sysrc apache24_enable=yes echo /sbin/kldload accf_http >> /etc/rc.local /sbin/kldload accf_http ee /usr/local/etc/apache24/Includes/httpd.conf ee /usr/local/etc/apache24/httpd.conf pkg install www/mod_php73 ee /usr/local/etc/apache24/Includes/httpd.conf ee /usr/local/etc/apache24/Includes/php-application.conf pkg install www/mod_php73 php73 php73-extensions cp /usr/local/etc/php.ini-production /usr/local/etc/php.ini chmod u+w /usr/local/etc/php.ini ee /usr/local/etc/php.ini ee /usr/local/etc/apache24/Includes/speedtest.conf service apache24 restart cp ./crossdomain.xml ./apache24/data/ fetch --no-verify-peer https://support.ookla.com/hc/article_attachments/115002321892/index.html ee ./index.html cp ./index.html ./apache24/data/ cp ./index.html ./speedtest/ service apache24 restart cd /usr/local/ooklaserver/ ee OoklaServer.properties sh ./ooklaserver.sh restart mkdir /usr/local/ooklaserver/tmp/ mkdir /var/log/ookla/ sh ./ooklaserver.sh restart pkg install py36-speedtest-cli pkg install ca_root_nss speedtest --list speedtest --server 21900 speedtest --server 26293