Installation of Node-Red Platform
For a long time I had wanted to try this platform called Node-red created by IBM, it was developed in nodejs, Node-RED is developed by Nick O’Leary and Dave Conway-Jones thanks for your contributions.
But what is Node-Red?
It is an open source graphic tool based on connection of nodes that contain API’S and / or services for the communication and / or connection of devices for the Internet
of things, has a friendly web interface, contains a variety of basic and complex IoT functions, there is also an online version of Node-RED called IBM Bluemix .
There are a variety of tutorials to install Node-RED on a local server, but these tutorials, although very complete, did not work correctly for me, I have decided to compile the steps to install Node-RED on Linux, in this case Lubuntu ( (Ubuntu) I hope it will be Your liking this guide.
Applications
It is not required to be a great programmer to use Node-Red, although its native language is javascript, with a few tutorials it will be very easy to make applications on Arduino or ESP8266, ESP32 or other platforms.
Currently they install Node-RED in Raspberry pi, excellent, although since I will perform tests I decided to install it in Lubuntu (Linux) for hardware robustness.
Tutorial Installing lubuntu from scratch
I have updated this post, with a new method for the installation of Node-RED in linux operating systems, or installation of virtual machines with linux over virtualbox, This new method allows to obtain the new versions of nodejs and npm, additional facilitates the configuration of Node -RED as a service, automatic start.
For the realization of tests I have previously installed a virtual machine with lubuntu, through the SSH putty client equivalent to a command terminal.
Let’s start with the Nodejs and Node-red installation
Repositories update
1 |
sudo apt-get update |
Repositories update
1 |
sudo apt-get upgrade |
install git
1 |
sudo apt-get install git |
verify version of nodejs
1 |
node -v |
verify version of npm
1 |
npm -v |
install curl
1 |
sudo apt-get install curl |
install de node js
1 |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash |
install node js
1 |
sudo apt-get install -y nodejs build-essential |
Install Node-RED
1 |
sudo npm install -g --unsafe -perm node-red |
Run node-red
1 |
sudo node-red |
Verify versions
- Nodejs Version V6.12.0
- npm Version 3.10.10
- Node-RED Version V0.17.5
Ready to have fun …..
Full Test Video
Instalar Lubuntu – Install Lubuntu (Virtualbox)
Migration to Complete to Lubuntu
References
Install lubuntu (Ubuntu) from Scratch
Bluemix cloud
Nodered.org
github.com/node-red
Nodejs.org
Youtube Channel
PDAControl
2 Replies to “Installation Node red Platform”