ufw update
This commit is contained in:
parent
a4b3fd2b1f
commit
d18a0645d3
|
@ -1,7 +1,7 @@
|
|||
apt update
|
||||
apt upgrade -y
|
||||
apt autoremove -y
|
||||
apt install nginx fail2ban -y;
|
||||
apt install nginx ufw fail2ban -y;
|
||||
apt install php-fpm php-cli php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath -y
|
||||
|
||||
mkdir /etc/ssl/private;
|
||||
|
@ -272,4 +272,8 @@ EOL
|
|||
|
||||
systemctl restart nginx;
|
||||
systemctl enable fail2ban
|
||||
systemctl restart fail2ban
|
||||
systemctl restart fail2ban
|
||||
ufw default allow outgoing
|
||||
ufw default deny incoming
|
||||
ufw allow 80
|
||||
ufw allow 443
|
|
@ -1,7 +1,7 @@
|
|||
apt update
|
||||
apt upgrade -y
|
||||
apt autoremove -y
|
||||
apt install nginx fail2ban -y;
|
||||
apt install nginx ufw fail2ban -y;
|
||||
apt install php-fpm php-cli php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath -y
|
||||
|
||||
mkdir /etc/ssl/private;
|
||||
|
@ -267,3 +267,7 @@ EOL
|
|||
systemctl restart nginx;
|
||||
systemctl enable fail2ban
|
||||
systemctl restart fail2ban
|
||||
ufw default allow outgoing
|
||||
ufw default deny incoming
|
||||
ufw allow 80
|
||||
ufw allow 443
|
|
@ -1,7 +1,7 @@
|
|||
apt update
|
||||
apt upgrade -y
|
||||
apt autoremove -y
|
||||
apt install nginx fail2ban -y;
|
||||
apt install nginx ufw fail2ban -y;
|
||||
apt install php-fpm php-cli php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath -y
|
||||
|
||||
mkdir /etc/ssl/private;
|
||||
|
@ -254,3 +254,7 @@ EOL
|
|||
systemctl restart nginx;
|
||||
systemctl enable fail2ban
|
||||
systemctl restart fail2ban
|
||||
ufw default allow outgoing
|
||||
ufw default deny incoming
|
||||
ufw allow 80
|
||||
ufw allow 443
|
Loading…
Reference in New Issue