Odoo installation on CentOs 7/RHEL 7



Odoo is an open source ERP business software written in Python Programming Language. It is one of the most popular and well-used application in the market. It is a web based application with rich features like Open-source CRM, HR Management, POS, Billing and Account Management, Order Tracking etc. In this article, we will be known about the installation of Odoo 10 community edition on CentOs and RHEL.

Before going to install the Odoo, make sure that system is up to date.

#yum -y update

Now install and configure PostgreSQL server as follows

#yum -y install postgresql-server
#postgresql-setup initdb
#systemctl start postgresql
#systemctl enable postgresql

Then install EPEL repository by using the following command

#yum -y install epel-release

Odoo is not available in the regular Centos repositories, so we have to add Odoo 10 repository by using the following command.

#yum-config-manager --add-repo=https://nightly.odoo.com/10.0/nightly/rpm/odoo.repo
Loaded plugins: fastestmirror, langpacks
adding repo from: https://nightly.odoo.com/10.0/nightly/rpm/odoo.repo
grabbing file https://nightly.odoo.com/10.0/nightly/rpm/odoo.repo to /etc/yum.repos.d/odoo.repo
repo saved to /etc/yum.repos.d/odoo.repo

Now install it by using following command

#yum -y install odoo

Once the installation completes enable and start the odoo service.

#systemctl start odoo
#systemctl enable odoo

Modify the firewall rules to allow odoo service through firewalld

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

Now access odoo by using the address http://ip-address:8069 in your favourite browser

It asks for the new database creation. fill the details and click on create database to create new one or you can restore existing database by using restore a database option. These Email id and password acts as username and password to login admin dashboard. The app screen will be opened as follows

from here we can choose the app that required for our business like CRM, E-Commerce, website Builder, Point of sale, Live chat, Purchase management, Blogs, Online events, Attendance, leave management etc.

Here I choose the website builder.click on install button. Once the installation completes it will ask for the installation of theme.

Choose the theme and click on install.Once the theme installation completes the home page will be opened.

By clicking on the edit option on the top right corner, we can customize the design of the site.

by using these option we can build the site very easily. similarly, we can build not only website also create many applications like CRM, Invoice etc. Explore all the options to learn more about the Odoo.