Mise à jour de 'mcsetup_cs9.sh'

This commit is contained in:
adminbruno committed 2022-09-22 12:48:50 -04:00
1 parent 7b2ede28fe
commit add6e62f08
1 file changed
+3 -1
+3 -1
View File
@@ -1,5 +1,6 @@
sudo dnf -y update
sudo dnf -y in nano nodejs npm mongodb
sudo dnf -y in nano nodejs npm
#sudo dnf -i in mongodb
systemctl enable --now mongodb
sudo useradd -m -r -d /home/meshcentral -s /sbin/nologin meshcentral
@@ -36,6 +37,7 @@ sudo npm install meshcentral
read -n1 -r -p "Press any key to continue..."
nano meshcentral-data/config.json
echo "ctrl+c to continue after testing..."
sudo chown -R meshcentral.meshcentral /home/meshcentral
sudo -u meshcentral node ./node_modules/meshcentral