Raspberry Pi - web2py


Install Web2py di Pi


wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh
chmod +x setup-web2py-ubuntu.sh
sudo ./setup-web2py-ubuntu.sh

Install Pygal. for Pi
slow but works.
apt-get install python-pip
apt-get install libxml2-dev libxslt1-dev gcc
apt-get install python2.7-dev
pip install pygal

Client ntpdate
sudo apt-get install ntpdate

bisa sync waktu dengan command:
ntpdate -u id.pool.ntp.org

Untuk crontab.
crontab -e
0/15 0 0 0 0 sudo ntpdate -u id.pool.ntp.org
@reboot root ntpdate -u id.pool.ntp.org