温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Linux系统怎样安装ERP系统

发布时间:2022-01-25 09:39:45 来源:亿速云 阅读:255 作者:小新 栏目:开发技术

这篇文章给大家分享的是有关Linux系统怎样安装ERP系统的内容。小编觉得挺实用的,因此分享给大家做个参考,一起跟随小编过来看看吧。

Odoo 是一个现代化的商业应用套件,使用 AGPL 许可证,并具有客户关系管理(CRM),人力资源,销售,采购,以及众多社区模块。

Linux系统怎样安装ERP系统

ERP系统(odoo)简介:

Odoo是一套非常强大的开源ERP系统, 用户可以在上面灵活地选择安装各种业务模块来满足自身业务的需求.其本身构建在名为openobject的web框架上, 数据库使用postgres.

传统行业的erp,大多是运行在单机上的C/S软件,有很多缺点 1 费用贵 版权贵 2 维护成本高 部署实施麻烦 3 升级慢 不能满足当今的业务发展需要

现在,大多数企业的业务都走向云端, B/S的开源Odoo ERP更能满足当今的时代需要.

Linux系统上部署ERP系统(odoo)具体步骤:

一、所有服务器关闭防火墙:

setenforce 0

systemctl stop firewalld

systemctl disable firewalld

sed -i ‘s/enforcing/disabled/g’ /etc/selinux/config

二、CentOS 7 系统安装 PostgreSQL 12服务

  • PostgreSQL数据库,默认是只接受本地访问连接。如果想在其他主机访问,只需要修改data目录下的pg_hba.conf和postgresql.conf文件配置。

    1.CentOS 7 系统安装 PostgreSQL 12
    [root@localhost ~]# yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
    # 软件库安装成功后,安装 PostgreSQL:
    [root@localhost ~]# yum install postgresql12 postgresql12-server
    # 数据库安装成功后,初始化数据库实例、设置开机启动并启动 PostgreSQL 数据库:
    [root@localhost ~]# /usr/pgsql-12/bin/postgresql-12-setup initdb
    Initializing database … OK
    [root@localhost ~]# systemctl enable postgresql-12.service
    Created symlink from /etc/systemd/system/multi-user.target.wants/postgresql-12.service to /usr/lib/systemd/system/postgresql-12.service.
    [root@localhost ~]# systemctl start  postgresql-12.service
    # 数据库启动成功后,服务器设置管理密码:
    [root@localhost ~]# su – postgres
    -bash-4.2$ psql
    psql (12.3)
    输入 “help” 来获取帮助信息.

    # 注意odoo用户名用双引号
    postgres=# create user “odoo13” with password ‘odoo13’ createdb;
    postgres=# \q
    -bash-4.2$ exit
    登出
    [root@localhost ~]# vim /var/lib/pgsql/12/data/pg_hba.conf
    # 修改配置文件,按照如下格式

    local all all trust

    host all 127.0.0.1/32 trust

    [root@localhost ~]# systemctl restart  postgresql-12.service
    [root@localhost ~]# systemctl status  postgresql-12.service


    • pg_hba.conf:配置对数据库的访问权限;

    • postgresql.conf:配置PostgreSQL数据库服务器的相应的参数

    • https://nightly.odoocdn.com/

三、CentOS 7 安装 Odoo 13 server

[root@localhost ~]#wget https://nightly.odoo.com/13.0/nightly/rpm/odoo_13.0.latest.noarch.rpm[root@localhost ~]#yum localinstall odoo_13.0.latest.noarch.rpm

vim /etc/odoo/odoo.conf

# 修改配置文件中的用户和密码

[options]

; This is the password that allows database operations:

; admin_passwd = admin

db_host = False

db_port = False

db_user = odoo13

db_password = odoo13

addons_path = /usr/lib/python2.7/site-packages/odoo/addons

启动:

# 防火墙添加8069端口
firewall-cmd –zone=public –add-port=8069/tcp –permanent
firewall-cmd –reload
# 查看是否生效
firewall-cmd –list-all
# enable设置odoo开机启动
systemctl enable odoo
systemctl restart odoo

systemctl status odoo

四、CentOS 7 安装 wkhtmltopdf

[root@localhost ~]#yum install wkhtmltopdf
# 安装中文字体
[root@localhost ~]#yum install wqy-microhei-fonts wqy-zenhei-fonts[root@localhost ~]# systemctl restart  postgresql-12.service

Linux系统怎样安装ERP系统

Linux系统怎样安装ERP系统

感谢各位的阅读!关于“Linux系统怎样安装ERP系统”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,让大家可以学到更多知识,如果觉得文章不错,可以把它分享出去让更多的人看到吧!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI