PostBooks install tutorial for Ubuntu Linux 7.10

PostBooks is an excellent cross-platform commercial open source ERP / accounting software suite. These are my old instructions from installing PostBooks in Ubuntu-7.10.

This document will give you setup instructions for installing PostBooks from scratch. Ie, no previous install of postgresql or PostBooks on the system. You will need to read between the lines if your install does not fit that description.

Download PostBooks

Download the postbooks init and postbooks-empty (or quickstart/demo) to /tmp. You can find the latest files here. Ie:

wget -P /tmp

Install PostgreSQL

sudo apt-get install postgresql postgresql-contrib

At this time I also install openssh-server mc and vim. If your more comfortable using an editor other than vim, just replace any mention of vim with your preference.

Create mfgadmin

Now to create the mfgadmin user in postgresql. The default mfgadmin password is mfgadmin. Please change this upon first connecting with the PostBooks client.

sudo -u postgres psql -U postgres -f /tmp/init-2.3.0alpha1.sql template1

Create a company

Now we create an ‘company’ database. You could create a few databases here if needed, using

sudo -u postgres createdb -h localhost -U mfgadmin mfg

Restore PostBooks to the company

sudo -u postgres pg_restore -h localhost -U mfgadmin -d mfg /tmp/postbooks_empty-2.3.0alpha1.backup -v

Allow network access to postgresql

to the following files add the indicated lines:

sudo vim /etc/postgresql/8.2/main/pg_hba.conf
host all all md5
sudo vim /etc/postgresql/8.2/main/postgresql.conf
listen_addresses = '*'

And now restart postgresql

sudo /etc/init.d/postgresql-8.2 restart


You should now be able to open the PostBooks client application and connect to the ‘mfg’ database with the username and password mfgadmin/mfgadmin

If you want to create another company just go back to the Create a company step and replace mfg with your desired company database name.

This entry was posted in Server and tagged , , , , , , . Bookmark the permalink. Both comments and trackbacks are currently closed.