Odoo (formerly known as OpenERP) is an open-source suite of business applications including customer relationship management (CRM), sales pipeline, project management, manufacturing, invoicing, accounting, eCommerce, and inventory tools, just to name a few. There are thirty-four main applications created by the Odoo team and more than 5,500 developed by community members, covering a wide range of business needs.

Once deployed, Odoo allows the administrator to install any module combination and configure/customize it as needed for business needs ranging from a small shop to an enterprise-level corporation. This guide covers how to install and configure Odoo in under an hour using Git source code so it will be easy to upgrade, maintain and customize.

Before You Begin

You will need a new VPS server provisioned (Linode, Digital Ocean) with Ubuntu 18.04 LTS OS installed. Before starting with the installation of Odoo the VPS will need to be set-up, secured and hardened. There are numerous guides available online but I have been using the tutorials over at Linode for many years now and they are always dead-on accurate and up to date . Check them out… Getting Started and How to Secure Your Server

Server Requirements and Recommendations

5 user site: 2 CPU server 2 GB RAM
20 user site: 4 CPU server 8 GB RAM
100+ user site: App VPS – 8 CPU server 32 GB RAM, Database Server 4 CPU server 16 GB RAM

Minimum Server Specifications
Processor: Intel (64 bit)
Number of Processors: 1
Processor Cores Available: 6
Memory: 8 GB RAM
OS: Ubuntu 18.04 LTS

Recommended Server Specifications
Processor: Intel (64 bit)
Number of Processors: 2
Processor Cores Available: 8
Memory: 16 GB RAM
OS: Ubuntu 18.04 LTS

This guide will use sudo wherever possible.

    1. Complete the Getting Started guide.
    2. Follow the Securing Your Server guide to create a standard user account, harden SSH access and remove unnecessary network services. Do not follow the Configuring a Firewall section in the Securing Your Server Guide–we will configure the firewall for an Odoo production server in the next section.
    3. Update your packages:
sudo apt update && sudo apt upgrade

Configure UFW Firewall for Odoo

Before installing Odoo, we’ll set up some basic firewall rules to allow SSH connections and access to the Odoo server. In this guide we’ll use Odoo’s default port 8069, but this could be any port you specify later in the configuration file. If you plan to run any other services, you can add their ports here as well. Refer to the Linode tutorial on how to Configure a Firewall with UFW for help with rules and settings:

sudo ufw allow ssh
sudo ufw allow 8069/tcp
sudo ufw enable

Install Python Dependencies for Odoo 12

sudo apt install git python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less

Leave a Reply