How to install OpenERP (Odoo) in CentOS 7.x)

Source: Internet
Author: User

How to install OpenERP (Odoo) in CentOS 7.x)

Hello, this tutorial is about how to install Odoo in CentOS 7 (OpenERP as we know ). Are you considering installing a good ERP (Enterprise Resource Planning) software for your business? OpenERP is the best program you are looking for, because it is a free open source software that provides outstanding features for your business.

OpenERP is a free and open source traditional OpenERP (Enterprise Resource Planning ), it includes open-source CRM, website construction, e-commerce, project management, billing and accounting, POS, human resources, marketing, production, procurement management, and other modules for efficiency and sales. Applications in Odoo can be used as independent programs, and they can also be seamlessly integrated. Therefore, you can install several programs to obtain a full-featured open-source ERP.

Therefore, the following describes how to install OpenERP on your CentOS.

 

1. Install PostgreSQL

First, we need to update the software package of CentOS 7 to ensure the latest packages, patches, and security updates. To update our system, run the following command in shell.

  1. # yum clean all
  2. # yum update

Now we need to install PostgreSQL because OpenERP uses PostgreSQL as its database. To install it, run the following command.

  1. # yum install postgresql postgresql-server postgresql-libs

After the installation is complete, we need to use the following command to initialize the database.

  1. # postgresql-setup initdb

We then set PostgreSQL to enable it each time it starts up.

  1. # systemctl enable postgresql
  2. # systemctl start postgresql

Because we have not set a password for the user "postgresql", we have set it now.

  1. # su - postgres
  2. $ psql
  3. postgres=# \password postgres
  4. postgres=# \q
  5. # exit

 

2. Set Odoo Repository

After the initialization of the database is complete, we will add EPEL (an additional package for Enterprise Linux) to our CentOS. The Python runtime environment on which Odoo (or OpenERP) depends and other packages are not included in the standard repository. In this way, we need to add additional package repository support for the Enterprise Edition Linux to solve the dependencies required by Odoo. To complete the installation, run the following command.

  1. # yum install epel-release

Now, after installing EPEL, we now use yum-config-manager to add the Odoo (OpenERP) repository.

  1. # yum install yum-utils
  2. # yum-config-manager --add-repo=https://nightly.odoo.com/8.0/nightly/rpm/odoo.repo

 

3. Install Odoo 8 (OpenERP)

Add the Odoo 8 (OpenERP) repository to CentOS 7. We use the following command to install Odoo 8 (OpenERP ).

  1. # yum install -y odoo

The above command will install odoo and the necessary dependent packages.

Now we use the following command to start the Odoo service after each startup.

  1. # systemctl enable odoo
  2. # systemctl start odoo

 

4. Open the Firewall

Because Odoo uses port 8069, we need to allow remote access in the firewall. We use the following command to allow access to port 8069 in the firewall.

  1. # firewall-cmd --zone=public --add-port=8069/tcp --permanent
  2. # firewall-cmd --reload

Note: by default, only the local database can be connected. If we want to allow remote access to PostgreSQL, we need to add a line in the figure below in pg_mirror.conf.

  1. # nano /var/lib/pgsql/data/pg_hba.conf

 

5. Web Interface

We have installed the latest Odoo 8 (OpenERP) in CentOS 7. You can enterhttp://ip-address:8069To access Odoo. Next, the first thing we need to do is create a new database and a new password. Note that the master password is 'admin' by default '. Then, we can enter the user name and password in the panel.

 

Summary

Odoo 8 (OpenERP) is the world's best open-source ERP program. OpenERP is a complete ERP program composed of many modules for businesses and companies. We have installed it. Therefore, if you have any questions, suggestions, or feedback, please write them in the comment column below. Thank you! Enjoy OpenERP (Odoo 8 :-)

Install and customize OpenERP in Ubuntu 14.04

Ubuntu 12.04 + OpenERP7.0 Installation notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.