diff --git a/installer-debian.sh b/installer-debian.sh index d4988de..06349b7 100644 --- a/installer-debian.sh +++ b/installer-debian.sh @@ -122,7 +122,6 @@ sleep 15s sudo DEBIAN_FRONTEND=noninteractive apt-get update sudo DEBIAN_FRONTEND=noninteractive apt-get upgrade -sudo apt-get remove --purge ssh-askpass ssh-askpass-gnome # Add Ondrej's repo source and signing key along with dependencies sudo apt install apt-transport-https @@ -748,7 +747,7 @@ EOF crontab $TASK systemctl restart nginx.service sudo rpl -i -w "#PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config -sudo rpl -i -w "# PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config +sudo rpl -i -w "#PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config sudo rpl -i -w "PasswordAuthentication no" "PasswordAuthentication yes" /etc/ssh/sshd_config sudo rpl -i -w "PermitRootLogin yes" "PermitRootLogin no" /etc/ssh/sshd_config service sshd restart diff --git a/installer-ubuntu.sh b/installer-ubuntu.sh index 9156e87..1d714dd 100644 --- a/installer-ubuntu.sh +++ b/installer-ubuntu.sh @@ -253,7 +253,7 @@ echo "Fail2ban Firewall setup..." echo "${reset}" sleep 5s -apt-get -y install fail2ban +sudo apt-get -y install fail2ban JAIL=/etc/fail2ban/jail.local sudo unlink JAIL sudo touch $JAIL @@ -457,7 +457,7 @@ sleep 10s # PHP EXTRA -sudo DEBIAN_FRONTEND=noninteractive apt-get -y install php-dev php-pear +sudo apt-get -y install php-dev php-pear @@ -547,7 +547,7 @@ server { error_page 404 /index.php; location ~ \.php$ { include snippets/fastcgi-php.conf; - fastcgi_pass unix:/var/run/php/php8.0-fpm.sock; + fastcgi_pass unix:/var/run/php/php8.3-fpm.sock; } location ~ /\.(?!well-known).* { deny all; @@ -570,7 +570,7 @@ echo "${reset}" sleep 5s -sudo DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server +sudo apt-get install -y mysql-server SECURE_MYSQL=$(expect -c " set timeout 10 spawn mysql_secure_installation @@ -747,7 +747,7 @@ EOF crontab $TASK systemctl restart nginx.service sudo rpl -i -w "#PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config -sudo rpl -i -w "# PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config +sudo rpl -i -w "#PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config sudo rpl -i -w "PasswordAuthentication no" "PasswordAuthentication yes" /etc/ssh/sshd_config sudo rpl -i -w "PermitRootLogin yes" "PermitRootLogin no" /etc/ssh/sshd_config service sshd restart diff --git a/storage/app/linkpanel/setup-debian.sh b/storage/app/linkpanel/setup-debian.sh index 1e3d751..06349b7 100644 --- a/storage/app/linkpanel/setup-debian.sh +++ b/storage/app/linkpanel/setup-debian.sh @@ -747,7 +747,7 @@ EOF crontab $TASK systemctl restart nginx.service sudo rpl -i -w "#PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config -sudo rpl -i -w "# PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config +sudo rpl -i -w "#PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config sudo rpl -i -w "PasswordAuthentication no" "PasswordAuthentication yes" /etc/ssh/sshd_config sudo rpl -i -w "PermitRootLogin yes" "PermitRootLogin no" /etc/ssh/sshd_config service sshd restart diff --git a/storage/app/linkpanel/setup-ubuntu.sh b/storage/app/linkpanel/setup-ubuntu.sh index 9156e87..5a71707 100644 --- a/storage/app/linkpanel/setup-ubuntu.sh +++ b/storage/app/linkpanel/setup-ubuntu.sh @@ -747,7 +747,7 @@ EOF crontab $TASK systemctl restart nginx.service sudo rpl -i -w "#PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config -sudo rpl -i -w "# PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config +sudo rpl -i -w "#PasswordAuthentication" "PasswordAuthentication" /etc/ssh/sshd_config sudo rpl -i -w "PasswordAuthentication no" "PasswordAuthentication yes" /etc/ssh/sshd_config sudo rpl -i -w "PermitRootLogin yes" "PermitRootLogin no" /etc/ssh/sshd_config service sshd restart