2008-09-10 08:46:40 +00:00
|
|
|
OpenERP Quick Installation Guide
|
2006-12-07 13:41:40 +00:00
|
|
|
---------------------------------
|
|
|
|
|
2008-09-10 08:46:40 +00:00
|
|
|
This file contains a quick guide to configure and install the OpenERP server.
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
Required dependencies:
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
You need the following software installed:
|
|
|
|
|
2010-03-02 13:12:57 +00:00
|
|
|
* Python 2.5 or 2.6
|
2009-01-29 23:41:16 +00:00
|
|
|
* Postgresql 8.2 or above
|
|
|
|
* Psycopg2 python module
|
|
|
|
* Reportlab pdf generation library for python
|
|
|
|
* lxml python module
|
|
|
|
* pytz python module
|
2010-12-22 13:50:05 +00:00
|
|
|
* PyYaml python module (install with: easy_install PyYaml)
|
2006-12-07 13:41:40 +00:00
|
|
|
|
|
|
|
Some dependencies are only required for specific purposes:
|
|
|
|
|
|
|
|
for rendering workflows graphs, you need:
|
2007-08-13 07:50:03 +00:00
|
|
|
* graphviz
|
|
|
|
* pyparsing
|
2006-12-07 13:41:40 +00:00
|
|
|
|
2010-10-28 09:48:26 +00:00
|
|
|
For Luxembourg localization, you also need:
|
|
|
|
* pdftk (http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/)
|
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
for generating reports using non .jpg images, you need:
|
2009-01-29 23:41:16 +00:00
|
|
|
* Python Imaging Library for python
|
2007-08-13 07:50:03 +00:00
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
For Debian-based distributions, the required packages can be installed with the
|
2009-01-29 23:41:16 +00:00
|
|
|
following command:
|
2006-12-27 11:56:48 +00:00
|
|
|
|
2010-03-02 13:12:57 +00:00
|
|
|
#> apt-get install -y postgresql graphviz python-psycopg2 python-lxml python-tz python-imaging
|
2006-12-27 11:56:48 +00:00
|
|
|
|
2006-12-07 13:41:40 +00:00
|
|
|
For Fedora
|
|
|
|
if they are not installed, install:
|
|
|
|
python and postgresql
|
|
|
|
|
|
|
|
uses yum or you can recover required packages on fedora web site in "core" or "extra" repository :
|
2009-01-29 23:41:16 +00:00
|
|
|
postgresql-python
|
|
|
|
python-lxml
|
2006-12-07 13:41:40 +00:00
|
|
|
python-imaging
|
2009-01-29 23:41:16 +00:00
|
|
|
python-psycopg2
|
2006-12-07 13:41:40 +00:00
|
|
|
python-reportlab
|
|
|
|
graphviz
|
|
|
|
You can find pyparsing at http://pyparsing.sourceforge.net/
|
|
|
|
|
|
|
|
1. Check that all the required dependencies are installed.
|
|
|
|
|
2008-09-10 08:46:40 +00:00
|
|
|
2. Launch the program "python ./bin/openerp-server.py -r db_user -w db_password --db_host 127.0.0.1".
|
2007-08-13 07:50:03 +00:00
|
|
|
See the man page for more information about options.
|
2006-12-07 13:41:40 +00:00
|
|
|
|
2007-08-13 07:50:03 +00:00
|
|
|
3. Connect to the server using the GUI client. And follow the instructions to create a new database.
|
2006-12-07 13:41:40 +00:00
|
|
|
|