Installing Odoo 9 enterprise on Ubuntu 14.04

Hi guys,

1. Introduction

In this tutorial I will learn you how to install Odoo 9 Enterprise on Ubuntu 14.04. The script that you will use is based on the code from André Schenkels but has been updated, improved and I’ve added Enterprise support. Do notice that you will need to be an official partner or that you need to have bought the Enterprise subscription from Odoo or you will have no access to the Github repository for the Enterprise code!

2. Downloading the script

The first step is to download my script from Github and to add the code in a new .sh file on your Ubuntu machine, wherever you’d like this.
For example right under /home. Open up an Ubuntu terminal and cd to the directory where you’d like to keep the script and then create the file:

If you’re curious about how the whole code looks and works you can find it on my Github account.

Now open up the file and edit the parameters to your liking:

There are some things you can configure/change to your likings at the top of the script. You can choose if you wish to install Wkhtmltopdf or not, which version you’d like, where the location is and most importantly what the master admin password is. Tip: always modify this for every Odoo you install!

3. Making the Odoo installation file executable

The next step is to make this file executable. After you’ve made it executable you can execute it and everything will be installed automatically.
do this with the following command:

4.Running the script

Now that the code is in your file and the file is executable you simply have to execute it with the following command:

You will see that the script automatically starts updates, downloads required packages, creates the user, downloads the code from Github, … Eventually you will need to give in your Github credentials to download the Enterprise code (since this is a private repository). Fill in your details and let the script continue:
Odoo 9 Enterprise authentication
Give the script a few minutes to configure and install everything and eventually you will see something like this:
Result install script

You now have a fully functional Odoo V9 Enterprise on your system! Congratulations.
Odoo V9 Enterprise

5. Extra information about Odoo 9 Enterprise

Since Odoo Enterprise uses code from both and we will separate the code with this script. This will make future upgrades easier and the code is nicely separated. This means that the default V9 code will be under /odoo/odoo-server/ and all the enterprise code will be under /odoo/enterprise/.

In the script you saw there was an option to change the Odoo port (OE_PORT). When you’d change this port number to 8070 in the install script it would be applied to /etc/your-config-file.conf and this would give you the ability to change the default port.
To apply these changes you should do the following:
Changing Odoo settings
The -c will change the configuration and memorize what you’ve changed under /etc/your-config-file.conf. Because my port was set to 8070 this is telling the Odoo that it should run on port 8070. When you would now open up your browser and navigate to http://localhost:8070/ you will see it is running there:
Odoo V9 alternative port

Has this tutorial helped you, do you have any feedback or questions? Post away!
Tutorial sponsored by Oocademy


21 thoughts on “Installing Odoo 9 enterprise on Ubuntu 14.04

  1. Alain says:

    Unfortunately, the Odoo 9 Enterprise Github repository is not available for subscribers which means your script can’t be used…
    It seems that one have to re-download the whole source files to update an Enterprise version. Not really convenient…

    • Yenthe666 says:

      Hi Alain,

      I’m not sure what you mean with the Enterprise Github repository is not available for subscribers? You need to be an associated Odoo partner before you’re granted access to this Github repository. For partners (and I also believe verified people) this script will work fine.
      If this is not the case you’ll have to manually re-download the source files to update, that is a choice of Odoo I’m afraid..

      • Alain says:

        Thanks for you reply.
        You said in your post introduction: “Do notice that you will need to be an official partner or that you need to have bought the Enterprise subscription from Odoo”.
        This leads to think that Enterprise subscribers have access to the Git Repo.
        When you refer to “verified people”, what do you mean by that?

        • Yenthe666 says:

          Hi Alain,

          At the time of writing I was actually under the assumption that people that buy the Enterprise subscription also get access to the Github repository but this is not the case so it seems? I was referring to verified people as customers. I thought they where added to Github too but apparently you guys can only download the source files from an external platform and not Github?

    • Yenthe666 says:

      That is a major downside, it will make updating painfull. In this case you can’t even use my whole installation script, only the normal V9. Sorry.

  2. Tanzil says:


    Is there anyway for developer getting the enterprise edition without buying it? or It must be bought to have the enterprise edition codes?


    • Yenthe666 says:

      Hi Tanzil,

      It must be bought to get the enterprise edition codes. Without buying it you would technically also been doing something illegal, since it is licensed. I’m afraid you will need to buy it. 🙂

    • Yenthe666 says:

      On a sidenote though: If you need a testing environment or demo environment you’re free to use the 30 day Enterprise trial (providing that you are a partner and have access to the Github repository).

  3. Ray Carnes says:


    WARNING ? openerp.addons.website_crm_score.models.sales_team: flanker not found, email validation disabled.

    This is the message I get after installing today with your script.

  4. Suyant says:

    Dear Yenthe,
    What is the postgresql password in your script or can I set one up during the installation?
    Or does it use the master password as stated in the beginning of the script? Thanks for your help


    • Yenthe666 says:

      Hi Suyant,

      The user is created without a password attached to it. You can simply run the command to reset the password and then apply a password to the PSQL user.

Leave a Reply