How to Setup Odoo OpenERP on Ubuntu 15.04

Odoo is an OpenSource ERP. The former name is "Open ERP". Odoo / OpenERP is a comprehensive suite of open-source enterprise management and business applications including Sales, CRM, Project management, Warehouse management, Manufacturing, Financial management, and Human Resources etc. The short and snappy “Odoo” has the advantage of being easy to combine with the specific product names in each sector, to create solutions like Odoo CMS, Odoo Commerce and so on. It is available in the cloud or on-site and is most suited for small to mid-sized companies.

We are going install Odoo 8 (formerly OpenERP) on a Ubuntu 15.04 in this tutorial. This will shows how to install the latest Odoo version 8 from scratch using the Package Installer as Odoo provides packaged installers for Windows, deb-based distributions and RPM-based packages that automatically set up all dependencies.

Setup Ubuntu 15.04 Server with Prerequisites

First of all we will prepare the ubuntu server with its latest updates and required packages necessary to setup Odoo 8 (OpenERP). Let’s login to your server, open its command line terminal and run the below command to update your system with latest packages and security updates.

root@ubuntu-15:~# apt-get update

Before proceeding to the installation of Odoo, ensure that you are using a freshly installed Ubuntu machine. Odoo requires Python 2.7+ and PostgreSQL 9. In Ubuntu 15.04 server, Python 2.7+ is installed by default so we have to install PostgreSQL with Apache Web server and other Python supporting packages for Odoo.

1) Installing Python Liberaries

Odoo installation depends upon number of Puthon Liberaries, so run the following command to install its required Python libraries.

root@ubuntu-15:~# apt-get install -y python-decorator python-docutils python-feedparser python-imaging python-ldap python-libxslt1 python-mako python-mock python-openid python-passlib python-psutil python-pybabel

You might get the below indication while installing the Python liberaries to correct some unmet dependencies.

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
python-docutils : Depends: python-roman but it is not going to be installed
Depends: docutils-common (= 0.12+dfsg-1) but it is not going to be installed
Recommends: python-pil but it is not going to be installed
Recommends: python-pygments but it is not going to be installed
Recommends: docutils-doc (= 0.12+dfsg-1) but it is not going to be installed
python-imaging : Depends: python-pil but it is not going to be installed
python-libxslt1 : Depends: python-libxml2 but it is not going to be installed
python-mako : Depends: python-markupsafe but it is not going to be installed
python-pybabel : Depends: python-babel but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

As mentioned above let's run the command below to fix the unmet dependencies and to install the list of dependent packages.

root@ubuntu-15:~# apt-get -f install

python libraries

2) Installing PostgreSQL

To install PostgreSQL we will use Tasksel utility as it’s easier and straight-forward. Type the following command and select PostgreSQL server for installation:

Run the below command to install tasksel utility if its not already installed.

root@ubuntu-15:~# apt-get install tasksel

tasksel utility

Then run the tasksel and choose the packages that you want to install including the PostgreSQL database as shown below.

root@ubuntu-15:~# tasksel

Tasksel PostgreSQL

3) Installing Webserver

Odoo OpenERP is a web based application so you must have any web server installed and running on your server. If its not already installed on your system let's run the below command to install Apache Web server and start its services.

root@ubuntu-15:~# apt-get install apache2
root@ubuntu-15:~# service apache2 status

apache2 service

You can test the successful installation of your web server by opening the below link with your servers IP address, and make sure that the the default port of Apache Webserver is allowed in the firewall.


apache page

Installing Odoo (OpenERP)

Now we will proceed to Odoo installation. We have to download Odoo installation file first using the following command to download version 8 of Odoo for Linux or visit and enter your details to download the package in your localhos by choosing the required version for your OS.

root@ubuntu-15:~# wget

Odoo Package

Run the dpkg command to install the dowloaded debian package of Odoo.

root@ubuntu-15:~# dpkg -i odoo_8.0.latest_all.deb

Odoo Install

Configuring the Odoo OpenERP application

The default configuration file for the server is located at (/etc/odoo/openerp-server.conf) , Open this with your installed editor and configure your database password.

root@ubuntu-15:~# vim /etc/odoo/openerp-server.conf

; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = odoo123
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons


After making configuration changes restart Odoo service services and then check its status to be sure that its working active and working fine.

root@ubuntu-15:~# service odoo restart
root@ubuntu-15:~# service odoo status

odoo status

Odoo Database Management

Now open your Web browser and go to http://your_server_ip:8069, fill the input fields and click on the “Create Database” button as shown below.

Odoo DB

After the database is created, you will be redirected to the admin panel where you can change your password, manage applications, users and other settings.

Installing Local Module (Project Management) on Odoo

Now you can install the modules you wish to install on your Odoo Server, as for an example we are going to show you the installation process of one of the available Odoo Module that is "Project Management". Choose the Module and choose in the below picture and clisk on the Install button.

Odoo Modules

Click on the "Create" button to start the new project where you can organize your activities and plan your tasks etc.

New project

Then in the next window you have to provide the required details about your new project, where you will choose the New project name, your customer and the project manager with your team. Once you you have configured the details about your new project, click on the "Save" button.

Odoo new project


Hope you find this tutorial helpful, Now you can install any other modules there are more than 200 free modules available that you can choose and install with its free business model, OpenERP combines the advantages of a complete ERP system with the flexibility of an in-house solution.


Share This :

Free Linux Ebook to Download

Comments (3)

Trackback URL | Comments RSS Feed

  1. Stephan Maurice says:

    I am fallowing this tutorial to install Openerp 7 on Ubuntu server 14.04. I do not find Odoo stable an-off. stock at edit openerp-server.conf with nano=invalid path and Openerp server not starting!

  2. Kashif S says:

    Hi Stephan,

    Are you able to run the 'dpkg' command to install the debian package of Odoo. Whether it was successful or not. Can you please share the error log.


  3. Radoslaw Dziegielewski says:

    i am installing odoo 8 on ubuntu15
    got the nightly from
    dpkg says Erors were encountered while processing odoo
    dpkg.log does not list any errors

Leave a Reply

Commenting Policy:
Promotion of your products ? Comment gets deleted.
All comments are subject to moderation.