OpenERP是欧洲开发的一款开源ERP软件,OpenERP发展的初衷是为了提供SAP、Microsoft Dynamics等商业ERP软件的开源替代产品。

它使用Python语言开发,数据库采用开源的PostgreSQL,系统以GNU GPL开 源协议发布。 [1]  OpenERP作为跨平台的应用系统,支持在Windows、Linux等多种操作系统上运行,还支持通过Andriod、iPhone等手机移动终端接入访问


实验环境

centos7_x64


实验软件

odoo_8.0.20170101.noarch.rpm 


软件安装

yum install -y /root/odoo_8.0.20170101.noarch.rpm 

yum install -y yum-utils  postgresql postgresql-server postgresql-libs


postgresql-setup initdb

su - postgres

-bash-4.2$ psql

postgres=# \password postgres

Enter new password: 

Enter it again: 

postgres=# \l   查看数据库

                                  List of databases

   Name    |  Owner   | Encoding |   Collate   |    Ctype    |   Access privileges   

-----------+----------+----------+-------------+-------------+-----------------------

 postgres  | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | 

 template0 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +

           |          |          |             |             | postgres=CTc/postgres

 template1 | postgres | UTF8     | en_US.UTF-8 | en_US.UTF-8 | =c/postgres          +

           |          |          |             |             | postgres=CTc/postgres

(3 rows)

postgres=# \q

exit


cp -pv /var/lib/pgsql/data/pg_hba.conf /var/lib/pgsql/data/pg_hba.conf.bak

tail -n1 /var/lib/pgsql/data/pg_hba.conf

host     all             all             0.0.0.0/0               md5  添加配置


systemctl enable postgresql && systemctl start postgresql

systemctl enable odoo && systemctl start odoo


netstat -tuplna | grep 8069

tcp        0      0 0.0.0.0:8069            0.0.0.0:*               LISTEN      5173/python 

netstat -tuplna | grep postgres

tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      3648/postgres       

udp        0      0 127.0.0.1:57711         127.0.0.1:57711         ESTABLISHED 3648/postgres 


http://serverip:8069/web/database/manager

openerp_第1张图片