Installing Odoo 9 community on Debian Jessie

Odoo (formerly known as OpenERP) is a full-blown ERP system for managing everything from invoices over inventory management to point-of-sale. It is completely Open-Source and can be modified and extended by writing own modules in Python.

To install Odoo on a recent Debian Jessie server follow the instructions for the package installation. Don't forget to install the newer wkhtmltox debian package from the odoo repository:

# wget https://nightly.odoo.com/extra/wkhtmltox-0.12.1.2_linux-jessie-amd64.deb
# dpkg -i wkhtmltox-0.12.1.2_linux-jessie-amd64.deb

Otherwise the PDF report generation won't work.

We will create a new postgres user for odoo with rights to create new databases. We do that to seperate other databases in this PostgreSQL instance from the odoo databases. Execute the following commands as root:

# su postgres
# createuser -d -P -S odoo

Enter a password for the new odoo database user, and set it in the odoo configuration file /etc/odoo/openerp-server.conf:

[options]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = odoo
db_password = <new password>
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons

Restart the odoo service by executing service odoo restart and navigate to http://localhost:8069 to create a new database.