Introduction
Requirements
Installing with `install`
* install server
* install client
* install web
Starting & Stopping
Other Information
openERP installation files
* server.sh
* client.sh
* web.sh
init-files
* openerp-server
* openerp-server.cfg
* openerp-web
To-do List
Install OpenERP software (Server, Client and Web) on your Ubuntu system. Currently installs OpenERP 6.0.3
These install files are not intended to be elegant, merely functional.
The impetus for writing these files was the sheer number of manual steps required in this link.
The installation resulting from these files would be good for a demo or proof-of-concept environment but would not be recommended for production.
These scripts are maintained at the Github repo. They are released under a GNU General Public License. If you have improvements, please contribute via github.
For more information, please visit http://gainroot.co/solutions/openerp
I tested with two fairly vanilla Ubuntu 10.04 LTS installations.
2.6.32-28-generic-pae #55-Ubuntu SMP Mon Jan 10 22:34:08 UTC 2011 i686 GNU/Linux
2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:54:21 UTC 2011 i686 GNU/Linux
Check yours with uname -rvmo
Your mileage may vary.
While some of the scripts are useful individually, all are accessible through install
Usage: install [server|client|web]
Installs PostgreSQL and the OpenERP Server on your host. Creates a Postgres
superuser openerp
with password of postgres
to get you
started.
These settings (db_user
, db_password
and db_host
) are added as options
to the OpenERP Server rc file, .openerp_serverrc
and also
to /etc/openerp-server.cfg
Creates a system user openerp
to run the openerp-server
Adds openERP Server to the boot sequence as a managed service.
Creates a log file in your home directory. You can watch it by typing:
tail -f ~/openERP_server_install.log
Installs the OpenERP Client on your host. One of the first things needed will be to create a database:
File -> Databases -> New database
Creates a log file in your home directory. You can watch it by typing:
tail -f ~/openERP_client_install.log
Install the OpenERP Web client/server on your host. (It acts like a client to the OpenERP Server and yet it serves web pages.)
Adds openERP Web to the boot sequence as a managed service.
Creates a log file in your home directory. You can watch it by typing:
tail -f ~/openERP_web_install.log
Usage: sudo /etc/init.d/openerp-server start|stop|restart
Config file: /etc/openerp-server.cfg
Log file: /var/log/openerp/openerp-server.log
Usage: /usr/local/bin/openerp-client
Config file: ~/.openerprc
Log file: unknown
Notes: Make certain you're connected to a windowing environment (X11, etc.) before starting this process. One of the first things needed will be to create a database:
File -> Databases -> New database
Usage: sudo /etc/init.d/openerp-web start|stop|restart
Config file: /etc/openerp-web.cfg`
Log file: /var/log/openerp/web-access.log
`/var/log/openerp/web-error.log`
The files in the openERP
directory are called by install
to do the
actual installation.
Corresponds to ./install server
but does NOT call code to install
/etc/init.d/openerp-server
Corresponds to ./install client
Corresponds to ./install web
but does NOT call code to install
/etc/init.d/openerp-web
The following files are installed by install
to add openerp-server
and openerp-web
to the boot sequence as managed services.
Gets installed as: /etc/init.d/openerp-server
Depends on PostgreSQL
Usage: sudo /etc/init.d/openerp-server start|stop|restart
Gets installed as: /etc/openerp-server.cfg
Used by /etc/init.d/openerp-server
Gets installed as: /etc/init.d/openerp-web
Depends on openerp-server
Usage: sudo /etc/init.d/openerp-web start|stop|restart
Gets installed as: /etc/openerp-web.cfg
Used by /etc/init.d/openerp-web
-
Each install file spits all output (stderr and stout) to a named logfile
-
OpenERP Server and OpenERP Web log files are properly stored, rotated & maintained
-
Make it possible to specify passwords to use rather than accepting the defaults
=== END