-
Notifications
You must be signed in to change notification settings - Fork 2
Server Install: Raspberry Pi
peterbrittain edited this page Sep 15, 2013
·
3 revisions
This page explains how to install the OS dependencies for the Pi conga server on a Raspberry Pi.
The Pi comes pre-installed with Python 2.7 if you use NOOBS to install Raspbian (as recommended for new users). We therefore only need to install pip as follows.
- sudo apt-get install python-setuptools
- sudo easy_install pip
If you want to run the production server on the Pi, you will also need to install the postgresql database as follows.
- sudo apt-get install postgresql-9.1 postgresql-server-dev-9.1
- vi /etc/postgresql/9.1/main/pg_hba.conf
- (Change all authentication mechanisms from ident to md5)
- /etc/init.d/postgresql reload
- sudo su - postgres
- psql
- create user piconga with password 'piconga';
- create database piconga owner=piconga;
- \q
- exit
- psql
- sudo apt-get install python-psycopg2
WARNING: Note that this appears to install Python2.6... Might not work yet!
Once you have installed the database, you will also need to install the web server for the production server. You can do that as follows.
- sudo apt-get install apache2 libapache2-mod-wsgi