Mise à jour de 'mcsetup_cs9.sh'
This commit is contained in:
1 parent
7b2ede28fe
commit
add6e62f08
1 file changed
+3
-1
+3
-1
@@ -1,5 +1,6 @@
|
|||||||
sudo dnf -y update
|
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
|
systemctl enable --now mongodb
|
||||||
|
|
||||||
sudo useradd -m -r -d /home/meshcentral -s /sbin/nologin meshcentral
|
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..."
|
read -n1 -r -p "Press any key to continue..."
|
||||||
nano meshcentral-data/config.json
|
nano meshcentral-data/config.json
|
||||||
echo "ctrl+c to continue after testing..."
|
echo "ctrl+c to continue after testing..."
|
||||||
|
sudo chown -R meshcentral.meshcentral /home/meshcentral
|
||||||
sudo -u meshcentral node ./node_modules/meshcentral
|
sudo -u meshcentral node ./node_modules/meshcentral
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user