Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

To install OpenERP in CentOS

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "the steps to install OpenERP in CentOS". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

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

OpenERP is a free and open source traditional OpenERP (Enterprise Resource Planning), which includes open source CRM, website construction, e-commerce, project management, billing, POS, human resources, marketing, production, purchasing management and other modules to improve efficiency and sales. Applications in Odoo can be used as stand-alone programs, and they can be seamlessly integrated, so you can install several programs to get a full-featured open source ERP.

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

1. Install PostgreSQL

First of all, we need to update the CentOS 7 package to make sure it is the latest packages, patches and security updates. To update our system, we need to run the following command under shell.

The code is as follows:

# yum clean all

# yum update

Now we are 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 enable it to boot every time.

The code is as follows:

# systemctl enable postgresql

# systemctl start postgresql

Because we haven't set the password for the user "postgresql" yet, we do now.

The code is as follows:

# su-postgres

$psql

Postgres=#\ password postgres

Postgres=#\ Q

# exit

two。 Set up the Odoo warehouse

After the initialization of the database is complete, we will add EPEL (the amount of outsourcing for the enterprise version of Linux) to our CentOS. The Python runtime environment that Odoo (or OpenERP) depends on and other packages are not included in the standard repository. In this way, we need to add additional package repository support for the enterprise version of Linux to address the dependencies needed 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 the repository of Odoo (OpenERP).

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. Install Odoo 8 (OpenERP)

After adding the warehouse of Odoo 8 (OpenERP) 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 odoo and the necessary dependent packages.

Now let's use the following command to start the Odoo service after each startup.

The code is as follows:

# systemctl enable odoo

# systemctl start odoo

4. Turn on 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.

The code is as follows:

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

# firewall-cmd-reload

Note: by default, only local connections to the database are allowed. If we want to allow remote access to PostgreSQL, we need to add a line in the following picture to pg_hba.conf

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 type http://ip-address:8069 in our browser to access Odoo. Next, the first thing we need to do is create a new database and a new password. Notice that the master password defaults to 'admin'. Next, we can enter the user name and password in the panel.

Summary

Odoo 8 (OpenERP) is the best open source ERP program in the world. OpenERP is a complete ERP program for business and companies made up of many modules, and we have installed it.

This is the end of the "steps to install OpenERP in CentOS". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report