1. installation

useradd -d /data1/homes/redusr -g users -G users redusr
echo redusr:Passw0rd | chpasswd
su - redusr
bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/rpm/update-nodejs-and-nodered)
Would you like to add Node-RED port 1880 to the firewall public zone ? [y/N] ? n

This script will do an install of node.js, Node-RED and the service packages to auto-run Node-RED

Are you really sure you want to do this ? [y/N] ? y

Running nodejs and Node-RED install for user redusr at /data1/homes/redusr on "rocky"

  Stop Node-RED                       ✔
  Install Node.js LTS                 ✔   Node v14.18.1   Npm 6.14.15
  Install Node-RED core               ✔   2.1.3
  Add shortcut commands               ✔
  Update systemd script               ✔
  Not adding firewall rule            -

Any errors will be logged to   /var/log/nodered-install.log
All done.
  You can now start Node-RED with the command  node-red-start
  Then point your browser to localhost:1880 or http://{your_ip-address}:1880

Started  Wed Nov 24 20:20:33 CET 2021  -  Finished  Wed Nov 24 20:23:09 CET 2021
exit
systemctl enable --now nodered.service

2. configuration

3. references