Some parameters that Odoo needs to configure as a service

Source: Internet
Author: User

1 After you configure Odoo as a system service:

Odoo Log directory:/var/log/odoo

Odoo configuration file directory:/etc/odoo/openerp-server.conf

Odoo Initialization file directory:/etc/init.d/odoo

2 Update Odoo profile to be more adaptable to system services, here are the items to note:

  • Addons_path: Add the path to the custom module here
  • Xmlrpc_port: Listening port, default 8069
  • Log_level: Log at the info level by default, and change to DEBUG_RPC
  • ADMIN_PASSWD: The total administrator password, must be changed to a safe
  • Logrotate=true: This will separate the log files for one day and the longest logs for the last one months
  • Data_dir: This is an attachment save directory, need to be backed up regularly
  • Without_demo=true: Settings in the production environment so that the database does not contain presentation data

3 If using a reverse proxy like Nginx, the following parameters need to be set:

  • Proxy_mode=true
  • Xmlrpc-interface: Here to set the listening address, by default, listen to 0.0.0.0, in the case of using reverse proxy can be changed to 127.0.0.1 in order to respond only to a local requirement.
  • Workers: Set multicore, generally not, not fine research.

Some parameters that Odoo needs to configure as a service

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.