How To Install Odoo on Ubuntu 14



Welcome to the latest and very popular odoo installation

The New release of odoo has a major upgrade and great features to work with.Odoo has existing features and also customize and add our very new features.Odoo has a huge scope in Business like CMS,ECOMMERCE,POINT OF SALE,and many more…
So that was all about what odoo provides to its users,to install this manually on your ubuntu.Just follow this basic step.

STEP 1 :-
Make sure that you have the updated version and patches

apt-get update

apt-get install aptitude

STEP 2 :-

Install and configure the database server, PostgreSQL and create the odoo user that will own and run the application

aptitude  install postgresql

sudo su – postgres

createuser –createdb –username postgres –no-createrole –no-superuser –pwprompt odoo

Enter password for new role: odoo

Enter it again: odoo

once you are done creating user and role,exit from postgres using exit command.

STEP 3 :-

1. Adding ubuntu user

  • To Add user use useradd odoo 

2. Setting up Python

aptitude install python-psycopg2 python-lxml python-setuptools python-libxslt1 python-matplotlib python-pydot python-egenix-mxdatetime python-pychart python-imaging python-imaging-tk python-dev python-yaml libyaml-dev python-reportlab python-babel

 Step 4 :- Install the necessary Python libraries for the server

sudo apt-get install python-dateutil python-feedparser python-gdata \python-ldap python-libxslt1 python-lxml python-mako python-openid python-psycopg2 \python-pybabel python-pychart python-pydot python-pyparsing python-reportlab \python-simplejson python-tz python-vatnumber python-vobject python-webdav \python-werkzeug python-xlwt python-yaml python-zsi python-unittest2 python-mock python-docutils python-jinja2 python-decorator python-simplejson python-pyPdf

sudo apt-get install python-passlib

Step 5 :- 

Installing odoo server 

  1. goto cd /opt
  2. To download the latest odoo version simply type this command  wget
  3. to untar the zip file tar -zxvf

Step 6 :-

Configure Odoo server

  1. To configure odoo server ,edit the file nano /etc/openerp-server.conf
  2. Once the file is opened you can simply copy and paste this in .conf file


This is the password that allows database operations:

admin_passwd = admin

db_host = False

db_port = False

db_user = odooo

db_password = False

xmlrpcs_port = 8071

netrpc_port = 8070

xmlrpc_port = 8069

logfile = /var/log/openerp-server.log

addons_path=/opt/odoo8/openerp/, /opt/odoo8/openerp/addons

4. creates a new file to manage the logs  touch /var/log/openerp-server.log

5. create a new file .sh to run file nano /opt/

6. Paste the below line inside .sh file


sh /opt/ &


7. create another file to configure your log path,odoo user nano /opt/

8.Paste the below line in .sh file


su openerp -c “python /opt/odoo/openerp-server -c /etc/openerp-server.conf > /var/log/openerp-server.log”


9. Edit the rc.local file so that whenever the system reboots it identify the odoo server and keep running the odoo nano /etc/rc.local.

10.Paste the below line before exit line sh /opt/

11. once you finish with your configuration you can run the sh file

sh /opt/

12. Check the log file using

tail -f /var/log/openerp-server.log

Yes thats it!!!!! Now you are ready to play with ODOO.

Jayesh Joshi


For more odoo related Integration,customization visit us now