diff options
| author | Antony Lesuisse <al@openerp.com> | 2011-09-26 02:54:44 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2011-09-26 02:54:44 +0200 |
| commit | d1e40a55aff988007d33fccff401e9e31caaf768 (patch) | |
| tree | 2626d04b8577a3bfd419823ca817909eb21b6713 /install | |
| parent | 371366702bffa4933b817bff3d3b5b262d7429f5 (diff) | |
[IMP] directory cleanups, moved historical cruft into history
bzr revid: al@openerp.com-20110926005444-a7vqjb05vep7xbvj
Diffstat (limited to 'install')
| -rw-r--r-- | install/openerp-header.bmp | bin | 0 -> 19038 bytes | |||
| -rw-r--r-- | install/openerp-header.png | bin | 0 -> 12843 bytes | |||
| -rw-r--r-- | install/openerp-icon.ico | bin | 0 -> 2238 bytes | |||
| -rw-r--r-- | install/openerp-icon.png | bin | 0 -> 1663 bytes | |||
| -rw-r--r-- | install/openerp-server.1 | 229 | ||||
| -rw-r--r-- | install/openerp-server.conf | 34 | ||||
| -rw-r--r-- | install/openerp-server.init | 147 | ||||
| -rw-r--r-- | install/openerp-server.logrotate | 5 | ||||
| -rw-r--r-- | install/openerp.ico | bin | 0 -> 4286 bytes | |||
| -rw-r--r-- | install/openerp.png | bin | 0 -> 14108 bytes | |||
| -rw-r--r-- | install/openerp_serverrc.5 | 113 | ||||
| -rw-r--r-- | install/ssl-cert.cfg | 89 |
12 files changed, 617 insertions, 0 deletions
diff --git a/install/openerp-header.bmp b/install/openerp-header.bmp Binary files differnew file mode 100644 index 00000000000..61226b99ad7 --- /dev/null +++ b/install/openerp-header.bmp diff --git a/install/openerp-header.png b/install/openerp-header.png Binary files differnew file mode 100644 index 00000000000..22c1df45aee --- /dev/null +++ b/install/openerp-header.png diff --git a/install/openerp-icon.ico b/install/openerp-icon.ico Binary files differnew file mode 100644 index 00000000000..89ed393f7cc --- /dev/null +++ b/install/openerp-icon.ico diff --git a/install/openerp-icon.png b/install/openerp-icon.png Binary files differnew file mode 100644 index 00000000000..9057d12d51e --- /dev/null +++ b/install/openerp-icon.png diff --git a/install/openerp-server.1 b/install/openerp-server.1 new file mode 100644 index 00000000000..58ac6f324f1 --- /dev/null +++ b/install/openerp-server.1 @@ -0,0 +1,229 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36. +.TH OPENERP "1" "December 2010" "OpenERP Server 6.0.0-rc1" "User Commands" +.SH NAME +OpenERP \- manual page for OpenERP Server 6.0.0-rc1 +.SH SYNOPSIS +.B openerp-server.py +[\fIoptions\fR] +.SH OPTIONS +.TP +\fB\-\-version\fR +show program's version number and exit +.TP +\fB\-h\fR, \fB\-\-help\fR +show this help message and exit +.TP +\fB\-c\fR CONFIG, \fB\-\-config\fR=\fICONFIG\fR +specify alternate config file +.TP +\fB\-s\fR, \fB\-\-save\fR +save configuration to ~/.openerp_serverrc +.TP +\fB\-\-pidfile\fR=\fIPIDFILE\fR +file where the server pid will be stored +.TP +\fB\-i\fR INIT, \fB\-\-init\fR=\fIINIT\fR +init a module (use "all" for all modules) +.TP +\fB\-\-without\-demo\fR=\fIWITHOUT_DEMO\fR +load demo data for a module (use "all" for all +modules) +.TP +\fB\-u\fR UPDATE, \fB\-\-update\fR=\fIUPDATE\fR +update a module (use "all" for all modules) +.TP +\fB\-\-cache\-timeout\fR=\fICACHE_TIMEOUT\fR +set the timeout for the cache system +.TP +\fB\-t\fR TIMEZONE, \fB\-\-timezone\fR=\fITIMEZONE\fR +specify reference timezone for the server (e.g. +Europe/Brussels +.TP +\fB\-\-stop\-after\-init\fR +stop the server after it initializes +.TP +\fB\-\-debug\fR +enable debug mode +.TP +\fB\-\-assert\-exit\-level\fR=\fIASSERT_EXIT_LEVEL\fR +specify the level at which a failed assertion will +stop the server. Accepted values: ['info', +\&'debug_rpc', 'warn', 'test', 'critical', 'debug_sql', +\&'error', 'debug', 'debug_rpc_answer', 'notset'] +.IP +XML\-RPC Configuration: +.TP +\fB\-\-xmlrpc\-interface\fR=\fIXMLRPC_INTERFACE\fR +specify the TCP IP address for the XML\-RPC protocol +.TP +\fB\-\-xmlrpc\-port\fR=\fIXMLRPC_PORT\fR +specify the TCP port for the XML\-RPC protocol +.TP +\fB\-\-no\-xmlrpc\fR +disable the XML\-RPC protocol +.IP +XML\-RPC Secure Configuration: +.TP +\fB\-\-xmlrpcs\-interface\fR=\fIXMLRPCS_INTERFACE\fR +specify the TCP IP address for the XML\-RPC Secure +protocol +.TP +\fB\-\-xmlrpcs\-port\fR=\fIXMLRPCS_PORT\fR +specify the TCP port for the XML\-RPC Secure protocol +.TP +\fB\-\-no\-xmlrpcs\fR +disable the XML\-RPC Secure protocol +.TP +\fB\-\-cert\-file\fR=\fISECURE_CERT_FILE\fR +specify the certificate file for the SSL connection +.TP +\fB\-\-pkey\-file\fR=\fISECURE_PKEY_FILE\fR +specify the private key file for the SSL connection +.IP +NET\-RPC Configuration: +.TP +\fB\-\-netrpc\-interface\fR=\fINETRPC_INTERFACE\fR +specify the TCP IP address for the NETRPC protocol +.TP +\fB\-\-netrpc\-port\fR=\fINETRPC_PORT\fR +specify the TCP port for the NETRPC protocol +.TP +\fB\-\-no\-netrpc\fR +disable the NETRPC protocol +.IP +Static HTTP service: +.TP +\fB\-\-static\-http\-enable\fR +enable static HTTP service for serving plain HTML +files +.TP +\fB\-\-static\-http\-document\-root\fR=\fISTATIC_HTTP_DOCUMENT_ROOT\fR +specify the directory containing your static HTML +files (e.g '/var/www/') +.TP +\fB\-\-static\-http\-url\-prefix\fR=\fISTATIC_HTTP_URL_PREFIX\fR +specify the URL root prefix where you want web +browsers to access your static HTML files (e.g '/') +.IP +Testing Configuration: +.TP +\fB\-\-test\-file\fR=\fITEST_FILE\fR +Launch a YML test file. +.TP +\fB\-\-test\-report\-directory\fR=\fITEST_REPORT_DIRECTORY\fR +If set, will save sample of all reports in this +directory. +.TP +\fB\-\-test\-disable\fR +Disable loading test files. +.TP +\fB\-\-test\-commit\fR +Commit database changes performed by tests. +.IP +Logging Configuration: +.TP +\fB\-\-logfile\fR=\fILOGFILE\fR +file where the server log will be stored +.TP +\fB\-\-no\-logrotate\fR +do not rotate the logfile +.TP +\fB\-\-syslog\fR +Send the log to the syslog server +.TP +\fB\-\-log\-level\fR=\fILOG_LEVEL\fR +specify the level of the logging. Accepted values: +['info', 'debug_rpc', 'warn', 'test', 'critical', +\&'debug_sql', 'error', 'debug', 'debug_rpc_answer', +\&'notset'] +.IP +SMTP Configuration: +.TP +\fB\-\-email\-from\fR=\fIEMAIL_FROM\fR +specify the SMTP email address for sending email +.TP +\fB\-\-smtp\fR=\fISMTP_SERVER\fR +specify the SMTP server for sending email +.TP +\fB\-\-smtp\-port\fR=\fISMTP_PORT\fR +specify the SMTP port +.TP +\fB\-\-smtp\-ssl\fR +specify the SMTP server support SSL or not +.TP +\fB\-\-smtp\-user\fR=\fISMTP_USER\fR +specify the SMTP username for sending email +.TP +\fB\-\-smtp\-password\fR=\fISMTP_PASSWORD\fR +specify the SMTP password for sending email +.IP +Database related options: +.TP +\fB\-d\fR DB_NAME, \fB\-\-database\fR=\fIDB_NAME\fR +specify the database name +.TP +\fB\-r\fR DB_USER, \fB\-\-db_user\fR=\fIDB_USER\fR +specify the database user name +.TP +\fB\-w\fR DB_PASSWORD, \fB\-\-db_password\fR=\fIDB_PASSWORD\fR +specify the database password +.TP +\fB\-\-pg_path\fR=\fIPG_PATH\fR +specify the pg executable path +.TP +\fB\-\-db_host\fR=\fIDB_HOST\fR +specify the database host +.TP +\fB\-\-db_port\fR=\fIDB_PORT\fR +specify the database port +.TP +\fB\-\-db_maxconn\fR=\fIDB_MAXCONN\fR +specify the the maximum number of physical connections +to posgresql +.TP +\fB\-P\fR IMPORT_PARTIAL, \fB\-\-import\-partial\fR=\fIIMPORT_PARTIAL\fR +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. +.IP +Internationalisation options: +.IP +Use these options to translate OpenERP to another language.See i18n +section of the user manual. Option '\-d' is mandatory.Option '\-l' is +mandatory in case of importation +.TP +\fB\-l\fR LANGUAGE, \fB\-\-language\fR=\fILANGUAGE\fR +specify the language of the translation file. Use it +with \fB\-\-i18n\-export\fR or \fB\-\-i18n\-import\fR +.TP +\fB\-\-i18n\-export\fR=\fITRANSLATE_OUT\fR +export all sentences to be translated to a CSV file, a +PO file or a TGZ archive and exit +.TP +\fB\-\-i18n\-import\fR=\fITRANSLATE_IN\fR +import a CSV or a PO file with translations and exit. +The '\-l' option is required. +.TP +\fB\-\-modules\fR=\fITRANSLATE_MODULES\fR +specify modules to export. Use in combination with +\fB\-\-i18n\-export\fR +.TP +\fB\-\-addons\-path\fR=\fIADDONS_PATH\fR +specify an alternative addons path. +.IP +Security\-related options: +.TP +\fB\-\-no\-database\-list\fR +disable the ability to return the list of databases +.SH "SEE ALSO" +The full documentation for +.B OpenERP +is maintained as a Texinfo manual. If the +.B info +and +.B OpenERP +programs are properly installed at your site, the command +.IP +.B info OpenERP +.PP +should give you access to the complete manual. diff --git a/install/openerp-server.conf b/install/openerp-server.conf new file mode 100644 index 00000000000..4f13c8a45c2 --- /dev/null +++ b/install/openerp-server.conf @@ -0,0 +1,34 @@ +[options] +without_demo = True +; This is the password that allows database operations: +; admin_passwd = admin +upgrade = False +verbose = False +netrpc = True +; netrpc_interface = +; netrpc_port = +xmlrpc = True +; xmlrpc_interface = +xmlrpc_port = 8069 +db_host = False +db_port = False +; Please uncomment the following line *after* you have created the +; database. It activates the auto module check on startup. +; db_name = terp +db_user = openerp +db_password = False +; Uncomment these for xml-rpc over SSL +; secure = True +; secure_cert_file = /etc/openerp/server.cert +; secure_pkey_file = /etc/openerp/server.key +root_path = None +soap = False +translate_modules = ['all'] +demo = {} +addons_path = None +reportgz = False + +; Static http parameters +static_http_enable = False +static_http_document_root = /var/www/html +static_http_url_prefix = /
\ No newline at end of file diff --git a/install/openerp-server.init b/install/openerp-server.init new file mode 100644 index 00000000000..41efb5c35ce --- /dev/null +++ b/install/openerp-server.init @@ -0,0 +1,147 @@ +#!/bin/bash +# openerp-server This shell script takes care of starting and stopping +# OpenERP server +# +# chkconfig: 345 95 05 +# description: OpenERP server +# +# pidfile: /var/run/openerp-server.pid +# config: /etc/openerp-server.conf + +### BEGIN INIT INFO +# Provides: openerp-server +# Required-Start: postgresql +# Required-Stop: postgresql +# Should-Start: $network harddrake +# Default-Start: 345 +# Short-Description: Launches the OpenERP server. +# Description: This startup script launches the OpenERP server. +### END INIT INFO + +# Source function library. +. /etc/rc.d/init.d/functions + +PIDFILE=/var/run/openerp/openerp-server.pid +LOCKFILE=/var/lock/subsys/openerp-server +LOGFILE=/var/log/openerp/openerp-server.log + +OPTS="--pidfile=$PIDFILE --logfile=$LOGFILE" + +prog="openerp-server" +desc="OpenERP Server Daemon" + +# check if the openerp-server conf file is present, then use it +if [ -f /etc/openerp-server.conf ]; then + OPTS="$OPTS -c /etc/openerp-server.conf" +fi + +# Source function library +if [ -f /etc/init.d/functions ] ; then + . /etc/init.d/functions +elif [ -f /etc/rc.d/init.d/functions ] ; then + . /etc/rc.d/init.d/functions +else + exit 0 +fi + +# check the existence of the openerp-server script +[ -z "/usr/bin/openerp-server" ] && exit 0 + +RETVAL=0 + +start() { + if [ -d /etc/openerp/start.d ] ; then + echo -n $"Preparing $desc: " + run-parts --exit-on-error /etc/openerp/start.d + RETVAL=$? + echo + [ $RETVAL -ne 0 ] && return $RETVAL + fi + + echo -n $"Starting $desc ($prog): " + daemon --user openerp --check openerp-server \ + "/usr/bin/setsid /usr/bin/openerp-server \ + -c /etc/openerp-server.conf \ + --pidfile=$PIDFILE \ + --logfile=$LOGFILE &" + + RETVAL=$? + echo + [ $RETVAL -eq 0 ] && touch $LOCKFILE + return $RETVAL +} + +stop() { + echo -n $"Stopping $desc ($prog): " + kill -TERM `cat $PIDFILE` > /dev/null 2>&1 + RETVAL=$? + if [ $RETVAL -eq 0 ] ; then + rm -f $LOCKFILE + + echo_success + echo + else + echo_failure + echo + fi + if [ -d /etc/openerp/stop.d ] ; then + echo -n $"Clearing $desc: " + run-parts /etc/openerp/stop.d + echo + fi + return $RETVAL +} + +restart() { + stop + start +} + +condrestart() { + [ -e $LOCKFILE ] && restart || : +} + +status() { + if [ -f $PIDFILE ] ; then + checkpid `cat $PIDFILE` + RETVAL=$? + if [ $RETVAL -eq 0 ] ; then + echo $"$prog is running..." + else + echo $"$prog is stopped" + fi + else + echo $"$prog is stopped" + fi + return $RETVAL +} + +case "$1" in +start) + start + ;; + +stop) + stop + ;; + +restart|reload) + restart + ;; + +condrestart) + condrestart + ;; + +status) + status + ;; + +probe) + exit 0 + ;; + +*) + echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}" + exit 1 +esac diff --git a/install/openerp-server.logrotate b/install/openerp-server.logrotate new file mode 100644 index 00000000000..e1f7f803a7d --- /dev/null +++ b/install/openerp-server.logrotate @@ -0,0 +1,5 @@ +/var/log/openerp/*.log { + copytruncate + missingok + notifempty +} diff --git a/install/openerp.ico b/install/openerp.ico Binary files differnew file mode 100644 index 00000000000..cde3e961e79 --- /dev/null +++ b/install/openerp.ico diff --git a/install/openerp.png b/install/openerp.png Binary files differnew file mode 100644 index 00000000000..20da496413b --- /dev/null +++ b/install/openerp.png diff --git a/install/openerp_serverrc.5 b/install/openerp_serverrc.5 new file mode 100644 index 00000000000..e43f9b5a668 --- /dev/null +++ b/install/openerp_serverrc.5 @@ -0,0 +1,113 @@ +.TH openerp_serverrc 5 + +.SH NAME +openerp_serverrc \- configuration file for OpenERP + +.SH SYNOPSIS +[options] +.br +$option\ =\ " someValue " +.br + ... + +.SH DESCRIPTION +A setup file consists of a section, lead by a "[options]" header, +.br +and followed by "option_name = value" entries, with continuations and such in +.br +the style of RFC 822. + +.SH OPTIONS +.TP +.IR verbose +Enable the debugging mode +.br +(default False) +.TP +.IR pidfile +The file where the server pid will be stored +.br +(default False) +.TP +.IR logfile +The file where the server log will be stored +.br +(default False) +.TP +.IR interface +The IP address on which the server will bind. +.br +If empty, it will bind on all interfaces (default empty) +.TP +.IR port +The TCP port on which the server will listen. +.br +(default 8069) +.TP +.IR debug_mode +Enable debug mode +.br +(default False) +.TP +.IR secure +Launch server over https instead of http. +.br +(default False) +.TP +.IR smtp_server +Specify the SMTP server for sending email. +.br +(default localhost) +.TP +.IR smtp_user +Specify the SMTP user for sending email. +.br +(default False) +.TP +.IR smtp_password +Specify the SMTP password for sending email. +.br +(default False) +.TP +.IR db_name +Specify the database name. +.TP +.IR db_user +Specify the database user name. +.br +(default None) +.TP +.IR db_password +Specify the database password for db_user. +.br +(default None) +.TP +.IR pg_path +Specify the PostgreSQL executable path. +.br +(default None) +.TP +.IR db_host +Specify the database host. +.br +(default localhost) +.TP +.IR db_port +Specify the database port. +.br +(default None) +.TP +.IR price_accuracy +Specify the price accuracy. +.br + +.SH AUTHORS + +OpenERP is a product of \fBTiny.be\fR (\fIhttp://www.tiny.be\fR) + +.SH SEE ALSO +openerp-server(1) +.br +\fIhttp://www.openerp.com\fR : Open ERP official website +.br +\fIhttp://doc.openerp.com\fR : Open ERP documentation diff --git a/install/ssl-cert.cfg b/install/ssl-cert.cfg new file mode 100644 index 00000000000..08ca7b5757e --- /dev/null +++ b/install/ssl-cert.cfg @@ -0,0 +1,89 @@ +# X.509 Certificate options +# +# DN options + +# The organization of the subject. +organization = "Some organization." + +# The organizational unit of the subject. +unit = "ERP dept." + +# The locality of the subject. +# locality = + +# The state of the certificate owner. +state = "State" + +# The country of the subject. Two letter code. +country = BE + +# The common name of the certificate owner. +cn = "Some company" + +# A user id of the certificate owner. +#uid = "clauper" + +# If the supported DN OIDs are not adequate you can set +# any OID here. +# For example set the X.520 Title and the X.520 Pseudonym +# by using OID and string pairs. +#dn_oid = "2.5.4.12" "Dr." "2.5.4.65" "jackal" + +# This is deprecated and should not be used in new +# certificates. +# pkcs9_email = "none@none.org" + +# The serial number of the certificate +serial = 001 + +# In how many days, counting from today, this certificate will expire. +expiration_days = 700 + +# X.509 v3 extensions + +# A dnsname in case of a WWW server. +#dns_name = "www.none.org" +#dns_name = "www.morethanone.org" + +# An IP address in case of a server. +#ip_address = "192.168.1.1" + +# An email in case of a person +email = "none@none.org" + +# An URL that has CRLs (certificate revocation lists) +# available. Needed in CA certificates. +#crl_dist_points = "http://www.getcrl.crl/getcrl/" + +# Whether this is a CA certificate or not +#ca + +# Whether this certificate will be used for a TLS client +#tls_www_client + +# Whether this certificate will be used for a TLS server +tls_www_server + +# Whether this certificate will be used to sign data (needed +# in TLS DHE ciphersuites). +#signing_key + +# Whether this certificate will be used to encrypt data (needed +# in TLS RSA ciphersuites). Note that it is prefered to use different +# keys for encryption and signing. +encryption_key + +# Whether this key will be used to sign other certificates. +#cert_signing_key + +# Whether this key will be used to sign CRLs. +#crl_signing_key + +# Whether this key will be used to sign code. +#code_signing_key + +# Whether this key will be used to sign OCSP data. +#ocsp_signing_key + +# Whether this key will be used for time stamping. +#time_stamping_key |
