From add6e62f082a2752feacd57c1924dd60db96c8b8 Mon Sep 17 00:00:00 2001 From: adminbruno Date: Thu, 22 Sep 2022 12:48:50 -0400 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'mcsetup=5Fcs9.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mcsetup_cs9.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mcsetup_cs9.sh b/mcsetup_cs9.sh index 2a891aa..60515b0 100644 --- a/mcsetup_cs9.sh +++ b/mcsetup_cs9.sh @@ -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