Wednesday, August 17, 2016

Install and configure Odoo 9 (community editon) on Ubuntu 15.10

1. installation:
   a. install Odoo

      $ sudo wget -O - | apt-key add -

      $ sudo echo "deb ./" >> /etc/apt/sources.list

      $ sudo apt-get update && apt-get install odoo

   b. install Postgresql

      $ sudo apt-get install postgresql
      $ sudo su - postgres  
      $ createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo 
      Enter password for new role: (you own password for postgres database user)
      Enter it again: (you own password for postgres database user again)  

   c. Configure Odoo

      $ sudo nano /etc/odoo/openerp-server.conf

; This is the password that allows database operations:
; admin_passwd = admin
#you need to change db host, port, user accordingly if you are using a seperate database server 
db_host = localhost
db_port = 5432
db_user = odoo
db_password = (you own password for postgres database user)
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons
  d. install wkhtmltox-0.12.1. Per Odoo, only 0.12.1 version works at this point
      Go to and download 
   d. Start Odoo service

      $ sudo service odoo restart
you now should be able to access odoo using a browser and go to: