Update install.sh

This commit is contained in:
dinger1986
2023-08-17 21:43:09 +01:00
committed by GitHub
parent 9ca7a2c730
commit 9f27cac138

View File

@@ -7,11 +7,12 @@ fi
sudo apt-get install -y curl sudo > null 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" echo "Installing MeshCentral"
sudo apt-get install -y nodejs > null curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo npm install -g npm > null 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 mkdir -p /opt/meshcentral/meshcentral-data
sudo chown ${USER}:${USER} -R /opt/meshcentral sudo chown ${USER}:${USER} -R /opt/meshcentral