|
|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|