TinyERP
From Organic Design wiki
First install TinyERP and Postgres from root user,
apt-get install tinyerp-server apt-get install postgresql postgresql-client apt-get install python2.4 python2.4-psycopg python2.4-libxml2 python2.4-xml python2.4-libxslt1 python-reportlab python2.4-imaging python-pyparsing graphviz python-tz
The Debian apt-get got postgres client and server sets up the postgres user and sets the data location up in a directory called main in the same location as the directory of the running binary. Set the password for the postgres user while still logged in as root. The postgres data location must be initialised first by logging back in as the postgres user and then initialise the data directory (see pgdocs), eg:
/usr/lib/postgresql/7.4/bin/initdb -D /usr/lib/postgresql/7.4/main /etc/init.d/postgresql-7.4 restart
If this succeeds you can create the tinyerp db and user as follows (see SetupAPostgresqlUserAndDatabase). This operation must still be done from the postgres user.
createuser -U postgres --no-createdb --no-adduser -P terp createdb -U postgres -O terp --encoding=UNICODE terp-no-createdb --no-adduser -P terp
TinyERP should now be able to run, try restarting it with the following:
/etc/init.d/tinyerp-server restart