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.
# yum clean all
# yum update
Now we need to install PostgreSQL because OpenERP uses PostgreSQL as its database. To install it, run the following command.
# yum install postgresql postgresql-server postgresql-libs
After the installation is complete, we need to use the following command to initialize the database.
# postgresql-setup initdb
We then set PostgreSQL to enable it each time it starts up.
# systemctl enable postgresql
# systemctl start postgresql
Because we have not set a password for the user "postgresql", we have set it now.
# su - postgres
$ psql
postgres=# \password postgres
postgres=# \q
# 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.
# yum install epel-release
Now, after installing EPEL, we now use yum-config-manager to add the Odoo (OpenERP) repository.
# yum install yum-utils
# 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 ).
# 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.
# 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 access to port 8069 in the firewall.
# firewall-cmd --zone=public --add-port=8069/tcp --permanent
# 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.
# 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:8069
To 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