How to Install Node Red

userHead t4amit 2023-06-30 14:29:08 1038 Views4 Replies

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

2023-10-30 07:58:35

Check out this post from TechExplorations where he discusses running Node-RED on Unihiker

https://techexplorations.com/blog/review/dfrobot-unihiker-computer/

 

userHeadPic Anthony M.Branscum
2023-07-03 10:57:59

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

userHeadPic jenna
2023-06-30 18:00:21

Yes, 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.

userHeadPic Yeez_B
2023-06-30 14:35:37

userHeadPic t4amit