From 07537f77442c4e1f8c694a5b4e0dc5b015e128eb Mon Sep 17 00:00:00 2001 From: HerrHase Date: Thu, 9 Nov 2023 17:23:37 +0100 Subject: [PATCH] adding --- install.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 469a98f..f86fd32 100644 --- a/install.sh +++ b/install.sh @@ -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