18th July, 2016 | Tutorials |

How to Install Odoo ERP on CentOS 7

Want your very own server? Get our 1GB memory, Xeon V4, 25GB SSD VPS for £10.00 / month.

Get a Cloud Server

Odoo is a very popular open source suite for enterprise management applications. It is useful for companies of all sizes, the application includes Customer Relationship Management (CRM), Sales Pipeline, Project Management, Manufacturing, Invoicing, Accounting, eCommerce and Inventory. Odoo was formerly known as OpenERP. It was created by Belgium based Odoo S.A. Odoo officially have about 30 core modules which are also called official modules and more than 4500 community created modules. Odoo is licenced under GNU General Public License.

Odoo Features

Although Odoo comes with thousands of features but few notable features are.


In this tutorial we are going to install latest version of Odoo which is currently 9.0 on CentOS 7.x. Odoo does not require any special minimum hardware requirements but the hardware resources should be increased according to the usability of the application and number of users. You will need a fresh installation of CentOS 7.x.

In this tutorial we will use non root account to execute the commands, if you are logged in as root user, omit using sudo commands before all the commands.


The dependencies required by Odoo do not comes with default YUM repository of CentOS, thus you will need to add EPEL repository into your system. Run the following command to do so.

    sudo yum install -y epel-release

Now update the installed packages of your system using the following command.

    sudo yum -y update

Odoo uses PostgreSQL database to store it's data, you can install PostgreSQL using the following command.

    sudo yum install -y postgresql-server

Now initialize the databases using the following command.

    sudo postgresql-setup initdb

Now start your PostgreSQL server and enable the server to start at system startup using the following command.

    sudo systemctl start postgresql
    sudo systemctl enable postgresql

Now add Odoo repository into your system using the following command.

    sudo yum-config-manager --add-repo=

If you see any error like -bash: yum-config-manager:: command not found you will need to install yum-util package using the following command.

    yum install -y yum-utils

Now try running the command for adding repository for once again. You should see following output.

    adding repo from:
    grabbing file to /etc/yum.repos.d/odoo.repo

odoo.repo | 155 B 00:00 repo saved to /etc/yum.repos.d/odoo.repo

Now you can install Odoo using the following command.

    sudo yum install -y odoo

Now you can start and enable odoo to start at boot time using the following command.

    sudo systemctl start odoo
    sudo systemctl enable odoo

As we now have Odoo installed, you can access it by browsing it using the following URL through browser.


If you can not access the page then probably your firewall is blocking the remote access to the port number 8069. To allow user to connecting to port number 8069 run the following commands.

    sudo firewall-cmd --permanent --zone=public --add-port=8069/tcp
    sudo firewall-cmd --reload

Now you will be able to access the interface to create for Odoo Apps. Once you browse Odoo through browser at port 8069 you will see following interface.

HP_NO_IMG/data/uploads/users/2a78e75d-343a-47ce-9d84-14a6ba54abbc/1691457822.png" alt="" />

Enter a name for your database you wish to create. Enter the administrator email and password for Odoo management panel. Select your preferred language and country. Select load demonstration data to install the apps using test data, so that you can evaluate the app. If you are installing Odoo for production, please do not select it. Click on Create database and it create a database and user for your Odoo installation. Now login to your administrative management panel where you can install apps as per your requirement.

HP_NO_IMG/data/uploads/users/2a78e75d-343a-47ce-9d84-14a6ba54abbc/1247188917.png" alt="" />

Enter your recently created user's email and password and click on Log in button, you will see following dashboard.

HP_NO_IMG/data/uploads/users/2a78e75d-343a-47ce-9d84-14a6ba54abbc/1882630752.png" alt="" />

It is very important that you secure your databases with a master password. To secure your database, log out from the dashboard and click on Manage Databases link from login screen. You will see a list of database you have created with Odoo.

HP_NO_IMG/data/uploads/users/2a78e75d-343a-47ce-9d84-14a6ba54abbc/697260125.png" alt="" />

Now click on Set Master Password button. You will see a prompt to enter your master password.

HP_NO_IMG/data/uploads/users/2a78e75d-343a-47ce-9d84-14a6ba54abbc/1688252659.png" alt="" />

Once master password has been set, your databases are secured from unauthorised access. Now you can login back to the management dashboard and install any application according to your choice. You can always restart Odoo using following command.

    sudo systemctl restart odoo


In this tutorial we have installed Odoo 9.0 on CentOS 7.x. You can now successfully deploy Odoo ERP in your server to increase the productivity of your company at no extra cost, as Odoo ERP contains almost every essential tool to run a business.

Want your very own server? Get our 1GB memory, Xeon V4, 25GB SSD VPS for £10.00 / month.

Get a Cloud Server