|
|
@ -78,9 +78,8 @@ apt-get install -y sudo &>/dev/null
|
|
|
|
msg_ok "Installed Dependencies"
|
|
|
|
msg_ok "Installed Dependencies"
|
|
|
|
|
|
|
|
|
|
|
|
msg_info "Installing Node-Red"
|
|
|
|
msg_info "Installing Node-Red"
|
|
|
|
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --confirm-root --confirm-install --skip-pi &>/dev/nul
|
|
|
|
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) --confirm-root --confirm-install --skip-pi --node18 --no-init &>/dev/nul
|
|
|
|
sudo systemctl enable nodered.service &>/dev/null
|
|
|
|
systemctl enable --now nodered.service &>/dev/null
|
|
|
|
sudo systemctl start nodered.service &>/dev/null
|
|
|
|
|
|
|
|
msg_ok "Installed Node-Red"
|
|
|
|
msg_ok "Installed Node-Red"
|
|
|
|
|
|
|
|
|
|
|
|
PASS=$(grep -w "root" /etc/shadow | cut -b6);
|
|
|
|
PASS=$(grep -w "root" /etc/shadow | cut -b6);
|
|
|
|