main
HerrHase 6 months ago
parent 4c547d2ee1
commit 07537f7744

@ -12,9 +12,13 @@ set -o nounset
apt update && apt upgrade -y && apt autoremove -y
apt remove ubuntu-advantage-tools -y
apt install -y ca-certificates curl gnupg
curl -sL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh
apt install -y nodejs git unzip curl ufw fail2ban cockpit software-properties-common
mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
apt update && apt install -y nodejs git unzip curl ca-certificates gnupg ufw fail2ban cockpit software-properties-common
systemctl start cockpit

Loading…
Cancel
Save