How to Install Node Red
Dear Sir,
I have buy Unihiker python single board computer and i start that i want to use Node Red in this so i just open the browser and enter this URL http://10.1.2.3:1880 but nothing is displaying it seems node red not installed .please tell me the step to install node red i am using this product .
Thanks & Regards,
Amit Tiwar
Check out this post from TechExplorations where he discusses running Node-RED on Unihiker
https://techexplorations.com/blog/review/dfrobot-unihiker-computer/
Anthony M.Branscum
You can refer to these installation commands. We will write a tutorial later.
wget https://nodejs.org/dist/v18.15.0/node-v18.15.0-linux-arm64.tar.xzVERSION=v18.15.0DISTRO=linux-arm64
mkdir -p /usr/local/lib/nodejs
tar -xJvf node-$VERSION-$DISTRO.tar.xz -C /usr/local/lib/nodejs
ln -s /usr/local/lib/nodejs/node-$VERSION-$DISTRO/bin/node /usr/bin/node
ln -s /usr/local/lib/nodejs/node-$VERSION-$DISTRO/bin/npm /usr/bin/npm
ln -s /usr/local/lib/nodejs/node-$VERSION-$DISTRO/bin/npx /usr/bin/npx
node -v
npm version
npx -v
npm install -g --unsafe-perm node-red
cd /usr/local/lib/nodejs
nano node-red
##!/bin/bashnode /usr/local/lib/nodejs/node-v18.15.0-linux-arm64/lib/node_modules/node-red/red.js
chmod -R -x node-red
ln -s "/usr/local/lib/nodejs/node-v18.15.0-linux-arm64/lib/node_modules/node-red/red.js" "/usr/bin/node-red"node-red
jennaYes, the node red doesnot pre-install on the Unihiker. And I have not try it either.
Maybe you could refer to this Github address. And ssh to the Unihiker to install the Node red.
https://github.com/node-red/linux-installers
Cuz Unihiker is a Debian PC after all, so I think this might work.
Yeez_B