tutorial on installing OpenERP in CentOS

Source: Internet
Author: User
Tags postgresql centos firewall

Hello, everyone, this tutorial is about how to install Odoo in CentOS 7 (the openerp we know). Are you considering installing a good ERP (Enterprise resource planning) software for your business? So OpenERP is the best program you're looking for, because it's a free open-source software that delivers outstanding features to your business.

OpenERP is a free and open source traditional openerp (Enterprise resource planning) that includes open source CRM, Web site Building, E-commerce, project management, billing, POS, human resources, marketing, production, procurement management, and other modules for increased efficiency and sales. Applications in Odoo can be used as stand-alone programs, they can be seamlessly integrated together, so you can install several programs to get a fully functional open source ERP.

So here are the steps to install OpenERP on your centos.

1. Install PostgreSQL

First, we need to update the CentOS 7 package to ensure that the latest packages, patches, and security updates are available. To update our system, we want to run the following command under the shell.

The code is as follows:

# Yum Clean All

# Yum Update

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

The code is as follows:

# yum Install PostgreSQL postgresql-server postgresql-libs

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

The code is as follows:

# Postgresql-setup Initdb

We then set up PostgreSQL to make it boot every time.

The code is as follows:

# Systemctl Enable PostgreSQL

# Systemctl Start PostgreSQL

Since we have not set the password for the user "PostgreSQL", we now set.

The code is as follows:

# Su-postgres

$ psql

postgres=# Password Postgres

postgres=# Q

# exit

2. Set up Odoo Warehouse

After initializing the database initialization, we will add Epel (Enterprise Linux additional package) to our CentOS. Odoo (or OpenERP)-dependent Python run-time environments and other packages are not included in the standard warehouse. This allows us to add additional package warehouse support to the enterprise version of Linux to address the dependencies required by Odoo. To complete the installation, we need to run the following command.

The code is as follows:

# yum Install Epel-release

Now, after installing Epel, we now use Yum-config-manager to add a Odoo (OpenERP) warehouse.

The code is as follows:

# yum Install Yum-utils

# Yum-config-manager--add-repo=https://nightly.odoo.com/8.0/nightly/rpm/odoo.repo

3. Installation Odoo 8 (OpenERP)

After adding the Odoo 8 (OpenERP) warehouse in CentOS 7. We use the following command to install Odoo 8 (OpenERP).

The code is as follows:

# yum Install-y Odoo

The above command installs the Odoo and the necessary dependent packages.

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

The code is as follows:

# Systemctl Enable Odoo

# 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 8069 port access in the firewall.

The code is as follows:

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

# Firewall-cmd--reload

Note: The database is not allowed to connect by default only locally. If we want to allow PostgreSQL remote access, we need to add a line in the pg_hba.conf below

The code is as follows:

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

5. Web interface

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

Summarize

Odoo 8 (OpenERP) is the best open source ERP program in the world. OpenERP is a complete ERP program for businesses and companies made up of many modules that we have installed. Therefore, if you have any questions, suggestions, feedback, please write down in the comments section below. Thank you! Enjoy OpenERP (Odoo 8):-)

Related Article

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.