OpenERP 7 Installation from deb file

This is probably the easiest way to install and run OpenERP on a local machine.

Installation Steps:

Install PostgreSQL database (version 9.1)

> sudo apt-get install postgresql
> sudo apt-get install pgadmin3

Download OpenERP Installer (.deb package), i.e., openerp_7.0-latest-1_all.deb, from

$ wget
  • Install the package for the first time,
> sudo dpkg -i openerp_7.0-latest-1_all.deb
  • This will not go through, as error will show error msg. This is because required libraries are not met. But is ok, linux will remember it, then we can run following command to get them all at once.
> sudo apt-get install -f

DONE, Start using it @ http://localhost:8069.

For the first use, user will need to create database.


Post Installation

OpenERP start up service

With this method, the startup service (openerp) will be located at /etc/init.d/openerp, we can start or stop service as following,

> cd /etc/init.d
> sudo ./openerp start
> sudo ./openerp stop
> sudo ./openerp restart

Changing PostgreSQL’s user/password (Optional)

During installation, a new db_user = openerp with no password. This configuration is stored in openerp-server.conf file,


  • As we want to change password, we will first edit the pg_hba.conf to allow connection from other client (i.e., terminal)
> sudo nano /etc/postgresql/9.1/main/pg_hba.conf
  • Change line: local all postgres peer to: local all postgres trust
  • Restart Server and Alter the user openerp‘s password to openerppwd
> sudo service postgresql restart
> psql -U postgres
postgres=# ALTER USER openerp with password 'openerppwd';
  • We can now change db_password in openerp-server.conf and restart OpenERP server accordingly.