How to install Odoo 9 FLOSS ERP on Debian 8 “Jessie” GNU/Linux

This short tutorial aims to help everyone on how to install Odoo 9 Free / Libre and Open Source ERP Software System on Debian 8 “Jessie” GNU/Linux benefiting from the nightly packages builds.

Download and Install of Debian GNU/Linux OS netinstall

In General, a network install or netinst CD is a single CD which enables you to install the entire Debian GNU/Linux operating system. This single CD contains just the minimal amount of software to start the installation and fetch the remaining packages over the Internet.

There are three options for Debian GNU/Linux installs over the network:

This method of installing Debian GNU/Linux OS  requires a functioning Internet connection during installation. Compared to other methods you end up downloading less data as the process will be tailored to your requirements. Above all, you only download the packages that you selected for installation on your machine, which saves both time and bandwidth. On the other hand, the full CDs are more suitable when installing on more than one machine, or on machines without a free Internet connection.

As of this date, here is a quick link to download Debian 8.7.1 “Jessie” GNU/Linux netinstall minimal CD, Then you will have to either install it on real phisical machine or ona Virtual Machine (i’m using VirtualBox for creating my Virtual Machines)

Add the odoo 9 package repository source and install it

It’s clear that for you as a developer or tester to benefit from the most recent and best experience of the nightly made Odoo ERP Software Packages, you should use the Odoo nightly Software repositories. They are available for Debian (and derivative distributions like Ubuntu) as well as RedHat distributions (e.g. Centos and Fedora).

One of the advantages of using an Odoo nightly repository, is that you will be able to install and upgrade the Odoo Software Package with the help of your traditional package manager (apt on Debian derivative distributions or yum on RedHat derivatives).

  • Add the Odoo public key Signature to your OS:
$ wget -O - | apt-key add -
  • Add the Odoo nightly repository to be taken into consideration by your Software Repossitories and Package Management:
# echo "deb ./" >> /etc/apt/sources.list
  • Update the list of your software repositories and packages, and install postgresql before installing Odoo (*):
# apt-get update && apt-get install postgresql
# apt-get install odoo

NB: (*) If you plan to run the PostgreSQL cluster on the same host than the Odoo one, install PostgreSQL before. This way, Odoo will be able to create and configure its user. As it is stated in their odoo nightly instructions list web page.

Test if Odoo 9 installation was successful

Here are three quick methods to verify that your Odoo 9 installation on your Debian GNU/Linux OS has been fruitful and successful:

  • $ sudo service odoo status
  • $ sudo systemctl status odoo.service
  • Enter the URL: http://mydebianmachineIP:8069 in your web browser

it should be alright once there is no problem with on of the four methods cited above.

Or try to have a look at the logs file for odoo server, by entering this command:

# tail -f /var/log/odoo/odoo-server.log

Leave a Reply

Your email address will not be published. Required fields are marked *