- make raspberry pi run processes (like node.js servers) automatically on startup and have them monitored by a process monitor
- get node running on the pi
- install the raspbian OS on an sd card and boot the pi up and login over ssh
- after cloning the stuff in setup.sh you'll have to make and make install everything manually. node will take hours to compile
- put mongroup.conf in /home/pi/mongroup.conf
- put mongroup-startup.conf in /etc/init/mongroup.conf
- install upstart with
apt-get install upstart
and ignore the warnings - remove the secure_path statement from /etc/sudoers so
sudo
gets your users PATH - you can add new lines to ~/mongroup.conf to configure new things that should always be running when the raspi is on
- if you do the raspi-config sd card expand thing it may cause your next restart to take a lonnnggg time
when I try to compile node on my pi w/this I consistently get:
Illegal instruction
make[1]: *** [/home/pi/src/node/out/Release/obj.target/v8_snapshot/geni/snapshot.cc] Error 132
make[1]: Leaving directory `/home/pi/src/node/out'
make: *** [node] Error 2
I have the 256mb version is yours the 512mb? Having a bitch of a time trying to get a recent node version to run on it. Thoughts?