OpenERP 7中 openerp-server.conf 的解释
服务器启动配置 – 通用项
程序代码: [选择]
# Admin password for creating, restoring and backing up databases
admin_passwd = admin # default CSV separator for import and export
csv_internal_sep = , # to compress reports
reportgz = False # disable loading demo data for modules to be installed (comma-separated, use "all" for all modules)
without_demo = False # Use this for big data importation, if it crashes you will be able to continue at the current state. Provide a filename to store intermediate importation states.
import_partial = # file where the server pid will be stored
pidfile = None # specify additional addons paths (separated by commas)
addons_path = /full/path/to/addons # Comma-separated list of server-wide modules default=web
server_wide_modules = None XML-RPC / HTTP – XML-RPC 配置
程序代码: [选择]
# disable the XML-RPC protocol
xmlrpc = True # Specify the TCP IP address for the XML-RPC protocol. The empty string binds to all interfaces.
xmlrpc_interface = # specify the TCP port for the XML-RPC protocol
xmlrpc_port = 8069 # Enable correct behavior when behind a reverse proxy
proxy_mode = False XML-RPC / HTTPS – XML-RPC 安全配置
程序代码: [选择]
# disable the XML-RPC Secure protocol
xmlrpcs = True # Specify the TCP IP address for the XML-RPC Secure protocol. The empty string binds to all interfaces.
xmlrpcs_interface = # specify the TCP port for the XML-RPC Secure protocol
xmlrpcs_port = 8071 # specify the certificate file for the SSL connection
secure_cert_file = server.cert # specify the private key file for the SSL connection
secure_pkey_file = server.pkey NET-RPC – NET-RPC 配置
程序代码: [选择]
# enable the NETRPC protocol
netrpc = False # specify the TCP IP address for the NETRPC protocol
netrpc_interface = # specify the TCP port for the NETRPC protocol
netrpc_port = 8070 WEB – Web 接口配置
程序代码: [选择]
# Filter listed database REGEXP
dbfilter = .* 测试群组 - 测试配置
程序代码: [选择]
# Launch a YML test file.
test_file = False # If set, will save sample of all reports in this directory.
test_report_directory = False # Enable YAML and unit tests.
test_enable = False # Commit database changes performed by YAML or XML tests.
test_commit = False 日志群组 - 日志配置
程序代码: [选择]
# file where the server log will be stored
logfile = None # do not rotate the logfile
logrotate = True # Send the log to the syslog server
syslog = False # setup a handler at LEVEL for a given PREFIX. An empty PREFIX indicates the root logger. This option can be repeated. Example: "openerp.orm:DEBUG" or "werkzeug:CRITICAL" (default: ":INFO")
log_handler = [':INFO'] # specify the level of the logging. Accepted values: info, debug_rpc, warn, test, critical, debug_sql, error, debug, debug_rpc_answer, notset
log_level = info SMTP Group – SMTP 配置
程序代码: [选择]
# specify the SMTP email address for sending email
email_from = False # specify the SMTP server for sending email
smtp_server = localhost # specify the SMTP port
smtp_port = 25 # specify the SMTP server support SSL or not
smtp_ssl = False # specify the SMTP username for sending email
smtp_user = False # specify the SMTP password for sending email
smtp_password = False 数据库相关配置
程序代码: [选择]
# specify the database name
db_name = False # specify the database user name
db_user = openerp # specify the database password
db_password = False # specify the pg executable path
pg_path = None # specify the database host
db_host = False # specify the database port
db_port = False # specify the the maximum number of physical connections to posgresql
db_maxconn = 64 # specify a custom database template to create a new database
db_template = template1 国际化选项
程序代码: [选择]
translate_modules = ['all'] 安全相关选项
程序代码: [选择]
# disable the ability to return the list of databases
list_db = True 高级选项
程序代码: [选择]
# enable debug mode
debug_mode = False # specify reference timezone for the server (e.g. Europe/Brussels")
timezone = False # Force a limit on the maximum number of records kept in the virtual osv_memory tables. The default is False, which means no count-based limit.
osv_memory_count_limit = False # Force a limit on the maximum age of records kept in the virtual osv_memory tables. This is a decimal value expressed in hours, and the default is 1 hour.
osv_memory_age_limit = 1.0 # Maximum number of threads processing concurrently cron jobs (default 2)
max_cron_threads = 2 # Use the unaccent function provided by the database when available.
unaccent = False 多处理选项
程序代码: [选择]
# Specify the number of workers, 0 disable prefork mode.
workers = 0 # Maximum allowed virtual memory per worker, when reached the worker be reset after the current request (default 671088640 aka 640MB)
limit_memory_soft = 671088640 # Maximum allowed virtual memory per worker, when reached, any memory allocation will fail (default 805306368 aka 768MB)
limit_memory_hard = 805306368 # Maximum allowed CPU time per request (default 60)
limit_time_cpu = 60 # Maximum allowed Real time per request (default 120)
limit_time_real = 120 # Maximum number of request to be processed per worker (default 8192)
limit_request = 8192 更多选项
程序代码: [选择]
server/openerp/tools/config.py
OpenERP 7中 openerp-server.conf 的解释的更多相关文章
- tomcat的配置文件server.conf中的元素的理解
tomcat的配置文件server.conf中的元素的理解 tomcat作为一个servlet服务器本身的配置文件是tomcat_home/conf/server.conf,这个配置文件中有很多元素, ...
- 使用xml-rpc调试openerp模块中的函数
运行openerp模块中的函数 有很多方式, 可以在视图中加个按钮然后点击它, 也可以在集成开发环境中强制执行它. 不过, 用python写个小脚本,xml-rpc调用直接执行它, 无疑是最简便的方法 ...
- vue-cli脚手架build目录中的karma.conf.js配置文件
本文系统讲解vue-cli脚手架build目录中的karma.conf.js配置文件 这个配置文件是命令 npm run unit 的入口配置文件,主要用于单元测试 这条命令的内容如下 "c ...
- /etc/sysctl.conf参数解释
/etc/sysctl.conf参数解释: fs.file max = 999999 #表示进程(例如一个worker进程)可能同时打开的最大句柄数,直接限制最大并发连接数 net.ipv4.tcp_ ...
- tomcat配置文件server.xml具体解释
元素名 属性 解释 server port 指定一个port,这个port负责监听关闭tomcat 的请求 shutdown 指定向port发送的命令字符串 service name 指定servic ...
- SQL Server错误代码及解释(留着备用)
原文:SQL Server错误代码及解释(留着备用) 转自:http://www.ajia.me/Article/193.html Code Error Message 0 操作成功完成. 1 功能 ...
- Java进阶(十五)Java中设置session的详细解释
Java中设置session的详细解释 简单通俗的讲session就是象一个临时的容器,用来存放临时的东西.从你登陆开始就保存在session里,当然你可以自己设置它的有效时间和页面,举个简单的例子: ...
- 修改tomcat的Response Hearder 头中的Server信息
如图: Server: Apache-Coyote/1.1 这个信息给入侵者提供了一定的指示作用.为了安全起见,要求更改这个信息.那么我们就来修改一下试试,非常简单,只要在Connector中添加se ...
- 使用clr 调用C#编写的dll中的方法的全解释
使用clr 调用C#编写的dll中的方法的全解释1.数据库初始化:将下面这段代码直接在运行就可以初始化数据库了exec sp_configure 'show advanced options', '1 ...
- SQL Server 存储过程具体解释
SQL Server 存储过程具体解释 存储过程的优缺点 ◆长处: 运行速度更快. 存储过程仅仅在创造时进行编译,而一般SQL语句每运行一次就编译一次,所以使用存储过程运行速度更快. 存储过程用于处理 ...
随机推荐
- Java并发编程的艺术(十三)——锁优化
自旋锁 背景:互斥同步对性能最大的影响是阻塞,挂起和恢复线程都需要转入内核态中完成:并且通常情况下,共享数据的锁定状态只持续很短的一段时间,为了这很短的一段时间进行上下文切换并不值得. 原理:当一条线 ...
- 《成神之路-基础篇》JVM——Java内存模型(已完结)
Java内存模型 本文是<成神之路系列文章>的第一篇,主要是关于JVM的一些介绍. 持续更新中 Java内存模型 JVM内存结构 VS Java内存模型 VS Java对象模型(Holli ...
- [转]Android开发环境搭建(图文教程)
转自:http://www.cnblogs.com/yxwkf/p/3853046.html 昨天又搭建了一次Android的开发环境,尝试了好几种方式,也遇到了一些问题,在此分享一下. 注意:官网公 ...
- go语言之进阶篇JSON处理
一.JSON处理 JSON (JavaScript Object Notation)是一种比XML更轻量级的数据交换格式,在易于人们阅读和编写的同时,也易于程序解析和生成.尽管JSON是JavaScr ...
- 如何修改Windows上某块网卡的MTU的值
先用如下命令查看所有的网卡以及他们的MTU的值. netsh interface ipv4 show interfaces 使用如下的命令修改他们的MTU为9000. netsh int ...
- Spring Boot集成JasperReports生成PDF文档
由于工作需要,要实现后端根据模板动态填充数据生成PDF文档,通过技术选型,使用Ireport5.6来设计模板,结合JasperReports5.6工具库来调用渲染生成PDF文档.本人文采欠缺,写作能力 ...
- laravel 开启sql调试
打开app\Providers\AppServiceProvider.PHP,在boot方法中添加如下内容 public function boot() { //sql调试 $sql_debug = ...
- 条件随机场 (CRF) 分词序列谈之一(转)
http://langiner.blog.51cto.com/1989264/379166 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 .作者信息和本声明.否则将追究法律责任.ht ...
- (转)思考:矩阵及变换,以及矩阵在DirectX和OpenGL中的运用问题:左乘/右乘,行优先/列优先,...
转自:http://www.cnblogs.com/soroman/archive/2008/03/21/1115571.html 思考:矩阵及变换,以及矩阵在DirectX和OpenGL中的运用1. ...
- 机器学习之深入理解SVM
在浏览本篇博客之前,最好先查看一下我写的还有一篇文章机器学习之初识SVM(点击可查阅哦).这样能够更好地为了结以下内容做铺垫! 支持向量机学习方法包括构建由简至繁的模型:线性可分支持向量机.线性支持向 ...