Clone GitHub库的程序

sudo apt-get install git-core

安装 web.py

git clone git://github.com/webpy/webpy.git
ln -s `pwd`/webpy/web
cd /root/webpy
sudo python setup.py install

安装 python-lxml

sudo apt-get install python-lxml

安装 python-memcache

sudo apt-get install python-memcache

安装RPI.GPIO

(首先需要安装RPi.GPIO所需的Python Development toolkit)

sudo apt-get install python-dev
sudo apt-get install python-pip
sudo pip install rpi.gpio

重装vi编辑器

sudo apt-get removevim-common
sudo apt-get install vim