How to Install Odoo on CentOS 7

r00t June 4, 2018

Install Odoo on CentOS 7

In this tutorial well learn how to install Odoo on CentOS 7. We will also install and configure its prerequisites. Odoo (previously called OpenERP) is a suite of web-based enterprise management software. It’s among the most popular and successful Open Source ERP business software dependent on the Python programming language.

Odoo’s business programs are organized into 6 classes: front-end programs, revenue management software, business operations applications, marketing applicationsand human resources and productivity programs. They can be utilized as stand-alone applications and they can be incorporated seamlessly so you can find a full-featured Open Source ERP.

I recommend to use a minimal CentOS server setup as a basis for the tutorial, that can be a virtual or a root server image with an CentOS 7 minimal install from a web hosting company or you use our minimal server tutorial to install a server from scratch.

Install Odoo on CentOS 7

Step 1. First, ensure your system and apt package lists are fully up-to-date by running the following:

yum -y install epel-release
yum -y update

Step 2. Installing and Configure PostgreSQL.

Install PostgreSQL:

yum install postgresql-server fontconfig libpng libX11 libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi wkhtmltopdf yum-utils

Initialize PostgreSQL database:

postgresql-setup initdb

Enable the PostgreSQL to start on boot and also start the service:

sytemctl enable postgresql
systemctl start postgresql

Step 3. Installing configure Odoo on Ubuntu 18.04.

First, add the Odoo repository:

yum-config-manager --add-repo=

Update the package index and install Odoo 11:

yum update
yum install odoo

Start Odoo and set it to start automatically when the system boots:

systemctl enable odoo
systemctl start odoo

Step 4. Configuration Odoo.

The configuration file Odoo can be found at /etc/odoo/odoo.conf, open it and uncomment admin_passwd line and set a new master password:

[root@myvpsource ~]# nano /etc/odoo/odoo.conf
; This is the password that allows database operations:
admin_passwd = your_new_admin_password
[root@myvpsource ~]# systemctl restart odoo

Step 5. Configure Firewall for Odoo.

Modify the firewall rules to allow users to access Odoo via port 8069:

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

Step 6. Access Odoo 11.

Now you can proceed with the further setup of Odoo by accessing http://yourdomainname:8069 or http://yourserverIPaddress:8069 in your favorite web browser.

Congratulation’s! You have successfully install Odoo on your CentOS 7 server. Thanks for using this tutorial for installing Odoo web-based enterprise management software on CentOS 7 system.

The Tags:

Leave a Comment

Comments are closed.