Installing Odoo 9 – Ubuntu

Installing Odoo 9 – Ubuntu

Installing Odoo 9 – Ubuntu, takes only 4 to 5 minutes.

 

Installing Odoo 9 - Ubuntu
Installing Odoo 9 – Ubuntu

 

We provide odoo implementation services ranging from LAN to Cloud infrastructure. – Contact us!

 

What is Odoo?

Odoo (formerly known as OpenERP and before that, TinyERP) is a suite of open core enterprise management applications. Targeting companies of all sizes, the application suite includes billing, accounting, manufacturing, purchasing, warehouse management, and project management. – Source: https://en.wikipedia.org/wiki/Odoo

 

Installation

Most simplest, shortest and reliable installation of Odoo.

I am assuming:

  1. You already know your way around Linux and terminal.
  2. You already have Ubuntu 14.04 set up on a vm or a physical machine.
  3. You have INTERNET access.

Launch Terminal and execute following commands.

$ sudo apt update && sudo apt upgrade
$ sudo -i
$ wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
$ echo "deb http://nightly.odoo.com/9.0/nightly/deb/ ./" >> /etc/apt/sources.list
$ exit
$ sudo apt update
$ sudo apt install odoo

 

Done!

Now point your favorite web browser (Firefox is recommended) to localhost:8069

 

We provide odoo implementation services ranging from LAN to Cloud infrastructure. – Contact us!

 

Optional if you are prompted with db connection error; Create db user

As of this date odoo automatically creates db user but, if you are faced db connection issue most probably your db is not configured properly.
$ sudo su - postgres

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

$ exit

Configuration File

Further there are chances that you haven’t set the configuration file properly.

The configuration file can be found at /etc/odoo/openerp-server.conf

Your file may look like as follows:

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

Update Odoo

You can then use the usual apt upgrade command to keep your installation up-to-date.

References:

https://www.odoo.com/documentation/9.0/setup/install.html#deb

https://www.odoo.com/documentation/9.0/reference/cmdline.html#reference-cmdline-config