My colleague Andrew Paverd, a doctoral student at The University of Oxford, has installed webinos on his Raspberry Pi.  It turned out to be remarkably simple, so check out these instructions to try it yourself.

Pre-requisites

We’re going to assume you have the following things:

  1. A Raspberry Pi.  We used a Model B revision 1.0 with 256MB RAM, with an attached screen, keyboard, mouse and connected to an internal wired network.
  2. A 4GB SD card as the main storage device (we used about 65% of the full capacity).
  3. The latest Raspbian “wheezy” distribution (2012-11 or later).  This is the recommended default operating system.
  4. An internet connection

Steps

Install the required Debian packages:

sudo apt-get update
sudo apt-get upgrade-all
sudo apt-get install git gyp libssl-dev libavahi-compat-libdnssd-dev /
bluetooth libbluetooth-dev gnome-keyring libgnome-keyring-dev obexftp

Install node.js and npm from the Raspian package repository

sudo apt-get install nodejs npm

Make a symlink to the node executable

sudo ln -s /usr/bin/nodejs /usr/bin/node

Globally install of the the node.js tools

sudo npm update
sudo npm install -g grunt
sudo npm install -g node-gyp

Download the webinos source code from GitHub

git clone https://github.com/webinos/Webinos-Platform.git
cd Webinos-Platform

Install webinos

npm install

Install additional packages (you may not need to do this)

npm install passport passport-openid passport-google passport-yahoo /
cookie-signature pause now express bytes debug send buffer-crc32 /
methods fresh range-parsercookie qs crc formidable

(for the PZH) Start the PZH

sudo ./webinos_pzh.js

(for the PZP) Start the X window environment

startx

(for the PZP) Follow subsequent instructions on the developer portal for ‘running webinos’.

To rebuild a modified version of webinos:

node-gyp configure
node-gyp build
grunt

What can I do with it?

The Raspberry Pi works well as a client device (using the webinos personal zone proxy) for running applications, or can act as a home gateway (a webinos personal zone hub) if you have a static IP address.  Using the Pi as your own home gateway can help to keep your personal data under your own control, as we’ve talked about before.  It can also provide access to all of your personal devices from wherever you happen to be.

Also – don’t forget about our ongoing App Challenge contest.  Build an exciting webinos app on Raspberry Pi or any other supported platform, check the rules and the submission process at http://webinos.org/appchallenge, and you will have the chance to win some great prizes and publicity. First prize is an €800 Amazon Voucher.