File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525# Start Main Script
2626
2727# Retrieve mainline kernal update script
28- wget -O /usr/local/bin/enginescript/scripts/install/kernel/ubuntu-mainline-kernel.sh https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh
28+ wget -O /usr/local/bin/enginescript/scripts/install/kernel/ubuntu-mainline-kernel.sh https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh --no-check-certificate
2929
3030# Permissions
3131chmod +x /usr/local/bin/enginescript/scripts/install/kernel/ubuntu-mainline-kernel.sh
Original file line number Diff line number Diff line change 2626# https://developers.cloudflare.com/ssl/origin-configuration/authenticated-origin-pull/set-up/
2727
2828# Retrieve Cloudflare Origin Certificate
29- wget -O /etc/nginx/ssl/cloudflare/origin-pull-ca.pem https://developers.cloudflare.com/ssl/static/authenticated_origin_pull_ca.pem
29+ wget -O /etc/nginx/ssl/cloudflare/origin-pull-ca.pem https://developers.cloudflare.com/ssl/static/authenticated_origin_pull_ca.pem --no-check-certificate
Original file line number Diff line number Diff line change 2626
2727cd /usr/src
2828rm -rf /usr/src/nginx-${NGINX_VER}
29- wget https://nginx.org/download/nginx-${NGINX_VER} .tar.gz -O /usr/src/nginx-${NGINX_VER} .tar.gz && tar -xzvf /usr/src/nginx-${NGINX_VER} .tar.gz
30- wget https://github.com/openresty/headers-more-nginx-module/archive/v${NGINX_HEADER_VER} .tar.gz -O /usr/src/v${NGINX_HEADER_VER} .tar.gz && tar -xzf /usr/src/v${NGINX_HEADER_VER} .tar.gz
31- wget https://github.com/nginx-modules/ngx_cache_purge/archive/${NGINX_PURGE_VER} .tar.gz -O /usr/src/${NGINX_PURGE_VER} .tar.gz && tar -xzf /usr/src/${NGINX_PURGE_VER} .tar.gz
32- wget https://www.openssl.org/source/openssl-${OPENSSL_VER} .tar.gz -O /usr/src/openssl-${OPENSSL_VER} .tar.gz && tar -xzf /usr/src/openssl-${OPENSSL_VER} .tar.gz
29+ wget https://nginx.org/download/nginx-${NGINX_VER} .tar.gz -O /usr/src/nginx-${NGINX_VER} .tar.gz && tar -xzvf /usr/src/nginx-${NGINX_VER} .tar.gz --no-check-certificate
30+ wget https://github.com/openresty/headers-more-nginx-module/archive/v${NGINX_HEADER_VER} .tar.gz -O /usr/src/v${NGINX_HEADER_VER} .tar.gz && tar -xzf /usr/src/v${NGINX_HEADER_VER} .tar.gz --no-check-certificate
31+ wget https://github.com/nginx-modules/ngx_cache_purge/archive/${NGINX_PURGE_VER} .tar.gz -O /usr/src/${NGINX_PURGE_VER} .tar.gz && tar -xzf /usr/src/${NGINX_PURGE_VER} .tar.gz --no-check-certificate
32+ wget https://www.openssl.org/source/openssl-${OPENSSL_VER} .tar.gz -O /usr/src/openssl-${OPENSSL_VER} .tar.gz && tar -xzf /usr/src/openssl-${OPENSSL_VER} .tar.gz --no-check-certificate
Original file line number Diff line number Diff line change 2626
2727# Download OpenSSL
2828cd /usr/src
29- wget https://www.openssl.org/source/openssl-${OPENSSL_VER} .tar.gz
29+ wget https://www.openssl.org/source/openssl-${OPENSSL_VER} .tar.gz --no-check-certificate
3030# apt remove openssl -y
3131tar -xvzf openssl-${OPENSSL_VER} .tar.gz
3232
Original file line number Diff line number Diff line change 2626
2727# PCRE
2828cd /usr/src
29- wget https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${PCRE2_VER} /pcre2-${PCRE2_VER} .tar.gz && tar xzvf pcre2-${PCRE2_VER} .tar.gz
29+ wget https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${PCRE2_VER} /pcre2-${PCRE2_VER} .tar.gz && tar xzvf pcre2-${PCRE2_VER} .tar.gz --no-check-certificate
3030
3131# Uncomment below if you want to use the latest PCRE for the entire server.
3232# Not guaranteed to work properly.
Original file line number Diff line number Diff line change 2828
2929# Retrieve Latest Version
3030cd /usr/src
31- wget https://static.jonof.id.au/files/kenutils/pngout-${PNGOUT_VER} -linux.tar.gz
31+ wget https://static.jonof.id.au/files/kenutils/pngout-${PNGOUT_VER} -linux.tar.gz --no-check-certificate
3232tar -xf pngout-${PNGOUT_VER} -linux.tar.gz
3333
3434# Install 32-BIT or 64-BIT
Original file line number Diff line number Diff line change 2626
2727# Adminer
2828mkdir /var/www/admin/enginescript/adminer
29- wget https://www.adminer.org/latest.php -O /var/www/admin/enginescript/adminer/index.php
29+ wget https://www.adminer.org/latest.php -O /var/www/admin/enginescript/adminer/index.php --no-check-certificate
3030
3131# Set Permissons
3232chown -R www-data:www-data /var/www/admin/enginescript/adminer
Original file line number Diff line number Diff line change 2626
2727# MYSQLTuner
2828mkdir -p /usr/local/bin/mysqltuner
29- wget -O /usr/local/bin/mysqltuner/mysqltuner.pl https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl
30- wget -O /usr/local/bin/mysqltuner/basic_passwords.txt https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt
31- wget -O /usr/local/bin/mysqltuner/vulnerabilities.csv https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv
29+ wget -O /usr/local/bin/mysqltuner/mysqltuner.pl https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl --no-check-certificate
30+ wget -O /usr/local/bin/mysqltuner/basic_passwords.txt https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt --no-check-certificate
31+ wget -O /usr/local/bin/mysqltuner/vulnerabilities.csv https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv --no-check-certificate
3232chmod +x /usr/local/bin/mysqltuner/mysqltuner.pl
3333
3434echo " "
Original file line number Diff line number Diff line change 2525# Start Main Script
2626
2727# phpMyAdmin
28- wget -O /usr/local/src/phpMyAdmin-${PHPMYADMIN_VER} -all-languages.zip https://files.phpmyadmin.net/phpMyAdmin/${PHPMYADMIN_VER} /phpMyAdmin-${PHPMYADMIN_VER} -all-languages.zip
28+ wget -O /usr/local/src/phpMyAdmin-${PHPMYADMIN_VER} -all-languages.zip https://files.phpmyadmin.net/phpMyAdmin/${PHPMYADMIN_VER} /phpMyAdmin-${PHPMYADMIN_VER} -all-languages.zip --no-check-certificate
2929unzip /usr/local/src/phpMyAdmin-${PHPMYADMIN_VER} -all-languages.zip
3030mv phpMyAdmin-${PHPMYADMIN_VER} -all-languages phpmyadmin
3131mv phpmyadmin /var/www/admin/enginescript
Original file line number Diff line number Diff line change 2626
2727# Maldet Install
2828cd /usr/local/src
29- wget https://www.rfxn.com/downloads/maldetect-current.tar.gz
29+ wget https://www.rfxn.com/downloads/maldetect-current.tar.gz --no-check-certificate
3030tar -xvf maldetect-current.tar.gz
3131cd maldetect-1.6.4/
3232./install.sh
You can’t perform that action at this time.
0 commit comments