Homepage

Mostrando las entradas con la etiqueta ubuntu. Mostrar todas las entradas
Mostrando las entradas con la etiqueta ubuntu. Mostrar todas las entradas

lunes, 17 de octubre de 2016

Installation Node red Platform


Installing Node-Red Platform

Longtime had wanted to try this platform called Node-red created by IBM, was developed in nodejs, Node red is developed by Nick O'Leary and Dave Conway-Jones thanks for their contributions.
But that is Node-red ?
It is an open source graphical tool based connection nodes containing API'S and / or services for communication and / or connecting devices to the Internet
of things, has a friendly web interface contains a variety of basic and complex functions IoT, there is also an online version of node red called IBM bluemix.
There are many tutorials to install Node-red on a local server, but these tutorials although very complete I did not work properly, I decided collect the steps to install Node-red in Linux, in this case Lubuntu (Ubuntu) I hope you will his liking this guide.
Applications
No need to be a great programmer to use Node-red, although his native language is javascript with a few tutorials will be very easy to make applications Arduino or ESP8266 or other platforms.
Currently installed Node red on Raspberry pi, excellent, although effected, since testing I decided to install it on Lubuntu (Linux) by hardware capacity.
Tutorial Install lubuntu


For testing I have previously installed a virtual machine with lubuntu, through the SSH client PuTTY equivalent to a command terminal.

Let's start with the nodejs and Node-red installation

Repository Update
sudo apt-get update

Install nodejs.
sudo apt-get install node.js -y
sudo apt-get install nodejs-legacy

Install git
sudo apt-get install git -y

Clone repository with source code on github Node-red
git clone https://github.com/node-red/node-red.git

Enter node red  folder
cd node-red

Install npm
sudo apt-get install npm -y

Install dependencies Node-red
npm install

Top folder
cd ..

Install grunt-cli globally
sudo npm install -g grunt-cli

Enter node red  folder
cd node-red

build and run Node-red application
grunt build 
 node red 


Ready to have fun .....

Video Complete

Install lubuntu (Ubuntu) from Scratch


I decided to create my desktop a virtual machine in VirtualBox with Lubuntu (Linux) combination LXDE and Ubuntu, the purpose of this virtual machine is testing the Platform IoT Node-Red Interconnect devices like Arduino and ESP8266 among others .
Official Pages lubuntu.net & lubuntu.me


VirtualBox is installed on Windows, download the latest version of lubuntu in this case lubuntu-14.04.5-desktop-i386.iso for later installation.
Architecture


Clarifying that current and commonly Node-Red is installed on the platform Raspberry pi, a very practical and excellent use for this great device, but I decided to virtualize Lubuntu Linux for practicality, lightness and stability of hardware, there are also other current platforms excellent virtualization as docker among others, I hope this tutorial is taken as an introduction to those who do not conecen linux and a reminder to those already familiar with this powerful operating system and .. have fun.


Complete video 


Advantages in this case
-Restoration fast image copies virtualbox in case of errors.
-Size Image virtualbox approx 4GB
-Hardware -stability

References

More Information

Youtube channel
PDAControl