This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
raspberrypi [2013/08/28 20:55] jap [HA Software] |
raspberrypi [2014/01/12 22:39] jap |
||
---|---|---|---|
Line 18: | Line 18: | ||
===== HA Software ===== | ===== HA Software ===== | ||
+ | === Node.js === | ||
+ | |||
+ | Installation instructions: [[http://blog.rueedlinger.ch/2013/03/raspberry-pi-and-nodejs-basic-setup/]]. Notice, the instruction is referring to version 0.10.2. Check for the latest one. I did installed 0.10.22. | ||
+ | |||
+ | Notice also this: | ||
+ | //When you want to use ‘npm’ or ‘node’ as root with sudo you have to add the ‘-i’ option, so that the root user’s environment is acquired. For example when you want to install the package ‘forever’ globally with ‘npm’.// | ||
+ | |||
+ | sudo -i npm install forever -g | ||
+ | |||
+ | ==== Modbus ==== | ||
+ | |||
+ | Dependencies | ||
+ | |||
+ | sudo apt-get install build-essential autoreconf | ||
+ | | ||
+ | Node.js module | ||
+ | |||
+ | npm install modbus | ||
=== Database === | === Database === | ||
Line 23: | Line 41: | ||
** MongoDB ** | ** MongoDB ** | ||
- | At the moment, MongoDB is not available as an rpm package for Raspbian. Here are [[http://mongopi.wordpress.com/2012/11/25/installation/|instructions]] how to build it locally. The build process takes ~8 hours altogether. It may be convenient to run the shell in screen. Notice that 8GB or bigger memory card is needed. | + | At the moment, MongoDB is not available as an rpm package for Raspbian. Here are [[http://mongopi.wordpress.com/2012/11/25/installation/|instructions]] how to build it locally. In my system, the build process took more than 12 hours altogether. It may be convenient to run the shell in screen. Notice that 8GB or bigger memory card is needed. |
sudo apt-get install git-core build-essential scons libpcre++-dev xulrunner-dev libboost-dev libboost-program-options-dev libboost-thread-dev libboost-filesystem-dev | sudo apt-get install git-core build-essential scons libpcre++-dev xulrunner-dev libboost-dev libboost-program-options-dev libboost-thread-dev libboost-filesystem-dev |