CentOS 7.2 安装 odoo 10.0

未分类

yum install yum-utils

RPM

Warning

with RHEL-based distributions (RHEL, CentOS, Scientific Linux), EPEL must be added to the distribution’s repositories for all of Odoo’s dependencies to be available. For CentOS:

$ sudo yum install -y epel-release

For other RHEL-based distribution, see the EPEL documentation.

Community

Execute the following commands to install Odoo 10.0 Community on your server:

$ sudo yum install -y postgresql-server
$ sudo postgresql-setup initdb
$ sudo systemctl enable postgresql
$ sudo systemctl start postgresql
$ sudo yum-config-manager --add-repo=https://nightly.odoo.com/10.0/nightly/rpm/odoo.repo
$ sudo yum install -y odoo
$ sudo systemctl enable odoo
$ sudo systemctl start odoo

Enterprise

For Odoo 10.0 Enterprise, get the package from the Download page. Then run:

$ sudo yum install -y postgresql-server
$ sudo postgresql-setup initdb
$ sudo systemctl enable postgresql
$ sudo systemctl start postgresql
$ sudo yum localinstall odoo_10.0.latest.noarch.rpm
$ sudo systemctl enable odoo
$ sudo systemctl start odoo

Danger

to print PDF reports, you must install wkhtmltopdf yourself: the version of wkhtmltopdfavailable in Fedora/CentOS repositories does not support headers and footers so it can not be installed automatically. Use the version available on the wkhtmltopdf download page.

Configuration

The configuration file can be found at /etc/odoo/odoo.conf

When the configuration file is edited, Odoo must be restarted via SystemD:

$ sudo systemctl restart odoo

fuck\fuck\(\)\[\]\\\/\fuck”\\$1″fuck\/script>’)} fuck

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注