How to install Odoo 9 on Ubuntu 14.04 – Digital Ocean

Digital Ocean is a very good cloud hosting provider considering the cost and simplicity. It provides some click to install apps too for the easy installation. But Odoo (formerly OpenERP) is not one of them. That’s OK. It is very easy to install Odoo with required modules.

Note: This tutorial is applicable to any VPS providers, not only Digital Ocean

Droplet/VPS setup

This tutorial considers that you’ve already setup a droplet with Ubuntu 14.04 LTS. If not please refer this tutorial: How to setup your first droplet.

Now we have to get inside the VPS, you have three different options to login to a remote server:

  1. Use SSH to connect to droplet
  2. Use PuTTy to login for windows
  3. Use the console in Digital Ocean dashboard


Now you are in the server. Lets download the script for installing Odoo. This script also installs many dependencies with it. So it is very easy. First download the script. Enter the droplet password when asks.

Now edit the script to change some settings.

The first section contains settings like where to install, port, admin password etc.. Following is the first part of shell script.

Default settings – changes

In the settings, only two things matters for us right now.

The OE_PORT variable is the port which is going to use for accessing Odoo. The default value is 8069, that means your Odoo address will be http://ip-address-of-vps:8069. This can be changed as per your requirement.

OE_SUPERADMIN is variable storing the password of the super admin user. This user will manage the installation and setup of various apps in Odoo. The default username and password is “admin”.
Both of these settings can be changed even after installation, so don’t worry if you are confused.

Let’s make the script executable.

Then install the script and it will take some minutes to complete.

After installation, following output will print i screen.

You can check it by visiting http://ip-address:8069/. If you have changed the default port, you should use that instead of 8069. First screen will be to create the database. Give a name to your database, and enter username and password. Congratulations, you’re seeing the dashboard of Odoo. Go to apps to install applications.

Odoo database naming