Armbian, Pine64, and node red

117 views
Skip to first unread message

hello world

unread,
Jan 20, 2017, 10:25:39 PM1/20/17
to Node-RED
Hey all,

I just received a pine64+ (2gb) model and this is how I got, the awesome, node-red up and running.  I'm using Armbian_5.24_Pine64_Debian_jessie_3.10.104 (legacy)

The script "update-nodejs-and-nodered" failed on the node.js install.

I created the user "pi" for future script compatibility.

As "pi":

1a) Download "node-v6.9.4-linux-arm64.tar.xz" and place it in your home pi directory.
1b) cd ~

2) sudo tar -xf node-v6.9.4-linux-arm64.tar.xz --strip-components=1 -C /usr

3) sudo wget https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/nodered.service -O /lib/systemd/system/nodered.service

4) sudo wget https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/node-red-start -O /usr/bin/node-red-start

5) sudo wget https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/node-red-stop -O /usr/bin/node-red-stop

6) sudo chmod +x /usr/bin/node-red-st*

7) Optional:
nano /lib/systemd/system/nodered.service
change this line to -> Environment="NODE_OPTIONS=--max-old-space-size=256"

8) sudo systemctl enable nodered.service

9) sudo systemctl daemon-reload

10) sudo reboot

The pine64+ cpu is cold to the touch, no heatsink here!  The install was very fast!

-Cheers!





Reply all
Reply to author
Forward
0 new messages