From 9f27cac1386796143739918f92a6fc007665fc73 Mon Sep 17 00:00:00 2001 From: dinger1986 Date: Thu, 17 Aug 2023 21:43:09 +0100 Subject: [PATCH] Update install.sh --- install.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 07d0682..80e590b 100644 --- a/install.sh +++ b/install.sh @@ -7,11 +7,12 @@ fi sudo apt-get install -y curl sudo > null -curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - > null -sudo apt-get update > null echo "Installing MeshCentral" -sudo apt-get install -y nodejs > null -sudo npm install -g npm > null +curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - +sudo apt update > null +sudo apt install -y gcc g++ make +sudo apt install -y nodejs +sudo npm install -g npm sudo mkdir -p /opt/meshcentral/meshcentral-data sudo chown ${USER}:${USER} -R /opt/meshcentral