====== OoklaServer ====== 1 apt update 2 nano /etc/ssh/sshd_config 3 systemctl restart ssh 4 apt dist-upgrade 5 apt autoremove 6 apt install update-manager-core 7 nano /etc/update-manager/release-upgrades 8 do-release-upgrade -c 9 do-release-upgrade 10 uname -a 11 uname 12 uname -h 13 uname --help 14 uname -a 15 name 16 apt-get update && apt-get upgrade 17 sync 18 sh -c 'echo "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list' 19 wget http://www.webmin.com/jcameron-key.asc 20 apt-key add jcameron-key.asc 21 apt update 22 apt install -y webmin mc 23 nano /etc/webmin/miniserv.conf 24 systemctl restart webmin 25 apt-get install -y php php-tcpdf php-cgi php-mysqli php-pear php-mbstring php-gettext libapache2-mod-php php-common php-phpseclib php-mysql 26 apt-get -y install apache2 27 apt clean 28 apt update 29 apt install wget firewalld vim fail2ban 30 wget -O /tmp/ooklaserver.sh //install.speedtest.net/ooklaserver/ooklaserver.sh 31 mkdir -p /home/ookla/server 32 sh /tmp/ooklaserver.sh --installdir /home/ookla/server install 33 pkg-config systemd –variable=systemdsystemunitdir 34 apt install pkg-config 35 pkg-config systemd –variable=systemdsystemunitdir 36 nano /lib/systemd/system/ookla-server 37 mc 38 nano /lib/systemd/system/ookla.service 39 systemctl daemon-reload 40 systemctl enable ookla.service 41 systemctl start ookla.service 42 systemctl status ookla.service 43 mc 44 firewall-cmd --zone=public --add-port=8080/tcp --permanent 45 firewall-cmd --zone=public --add-port=8000/tcp --permanent 46 sh /tmp/ooklaserver.sh --installdir /home/ookla/server install 47 mc 48 sh /tmp/ooklaserver.sh --installdir /home/ookla/server install 49 cd /tmp/ooklaserver.sh 50 nano /tmp/ooklaserver.sh 51 wget -O /tmp/ooklaserver.sh http//install.speedtest.net/ooklaserver/ooklaserver.sh 52 wget -O /tmp/ooklaserver.sh http://install.speedtest.net/ooklaserver/ooklaserver.sh 53 sh /tmp/ooklaserver.sh --installdir /home/ookla/server install 54 systemctl start ookla.service 55 systemctl status ookla.service 56 apt-get uninstall apache2 57 apt-get remove apache2 58 systemctl restart ookla.service 59 systemctl status ookla.service 60 mc 61 apt-get install apache2 62 apt-get install -y php php-tcpdf php-cgi php-mysqli php-pear php-mbstring php-gettext libapache2-mod-php php-common php-phpseclib php-mysql 63 systemctl 64 culr http://install.speedtest.net/httplegacy/http_legacy_fallback.tgz 65 wget http://install.speedtest.net/httplegacy/http_legacy_fallback.tgz 66 wget http://install.speedtest.net/httplegacy/http_legacy_fallback.zip 67 mc 68 apt-get update 69 apt-get install python-certbot-apache 70 certbot --apache -d st.lc.lviv.ua 71 certbot renew --dry-run 72 systemctl restart apache2 73 mc 74 systemctl restart ookla.service 75 systemctl status ookla.service 76 mc 77 cd /etc/letsencrypt/live/st.lc.lviv.ua/ 78 mc 79 ls /home/ookla/server/OoklaServer 80 ls /home/ookla/server/ 81 nano /home/ookla/server/OoklaServer.properties 82 /etc/letsencrypt/live/st.lc.lviv.ua/fullchain.pem 83 ls /etc/letsencrypt/live/st.lc.lviv.ua/ 84 nano /home/ookla/server/OoklaServer.properties 85 systemctl restart ookla.service 86 systemctl status ookla.service 87 systemctl stop ookla.service 88 systemctl restart ookla.service 89 systemctl status ookla.service update-ca-certificate 90 update-ca-certificates 91 systemctl status ookla.service 92 systemctl restart ookla.service 93 systemctl status ookla.service 94 certbot --apache -d st.lc.lviv.ua 95 certbot --apache -d st.lc.lviv.ua 96 apachectl restart 97 apachectl startus 98 apachectl restart 99 mc 100 apachectl restart 101 cm 102 mc 103 mc 104 systemctl restart ookla.service 105 systemctl status ookla.service 106 mc 107 systemctl restart ookla.service 108 systemctl status ookla.service 109 mc 110 systemctl restart ookla.service 111 systemctl status ookla.service 112 systemctl restart ookla.service 113 kill -9 4958 114 systemctl restart ookla.service 115 systemctl status ookla.service 116 mc 117 systemctl status ookla.service 118 systemctl restart ookla.service 119 systemctl status ookla.service 120 systemctl stop ookla.service 121 systemctl status ookla.service 122 systemctl stop ookla.service 123 kill -9 5177 124 kill -9 5188 125 systemctl status ookla.service 126 cd ../ookla/ 127 ls 128 cd server 129 ls 130 OoklaServer -- help 131 sh OoklaServer -- help 132 systemctl start ookla.service 133 systemctl status ookla.service 134 kill -9 5230 135 kill -9 5243 136 systemctl status ookla.service 137 kill -9 5230 138 kill -9 5230 139 kill -9 pid 5230 140 systemctl status ookla.service 141 pwd 142 su ooklauser -c './OoklaServer --daemon' 143 su -c './OoklaServer --daemon' 144 su -c './OoklaServer --status' 145 pgrep OoklaServer 146 kill -9 5273 147 pgrep OoklaServer 148 kill -9 29454 149 kill -9 29458 150 pgrep OoklaServe 151 su -c './OoklaServer' 152 mc 153 su -c './OoklaServer' 154 su -c './OoklaServer'] 155 su -c './OoklaServer' 156 pkill OoklaServer 157 pgrep OoklaServer 158 kill -9 7289 159 kill -9 7301 160 pgrep OoklaServer 161 su -c './OoklaServer' 162 pgrep OoklaServer 163 kill -9 7356 164 kill -9 7941 165 pgrep OoklaServer 166 kill -9 7954 167 pgrep OoklaServe 168 su -c './OoklaServer' 169 cd ../ookla/server/ 170 su -c './OoklaServer -deamon' 171 su -c './OoklaServer --deamon' 172 su -c './OoklaServer --daemon' 173 mc 174 hystory 175 history