Wednesday, August 17, 2016

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

1. installation:
   a. install Odoo


      $ sudo wget -O - https://nightly.odoo.com/odoo.key | apt-key add -

      $ sudo echo "deb http://nightly.odoo.com/9.0/nightly/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

[options]
; 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  http://download.gna.org/wkhtmltopdf/0.12/0.12.1/ and download 
         wkhtmltox-0.12.1_linux-precise-amd64.deb  
   d. Start Odoo service

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

No comments:

Post a Comment