1 openerp-server for Debian
2 -------------------------
4 OpenERP uses a PostgreSQL database to store its data. With the first generation
5 of packages, you have to setup this database manually. Here is a short
6 explanation how to achieve this (you need to execute all commands as root):
8 0. Making sure, PostgreSQL is running
10 # /etc/init.d/postgresql* restart
12 1. Creating the database
14 # su - postgres -c "createdb -q --encoding=UNICODE openerp"
16 2. Creating the database user
18 # su - postgres -c "createuser -q --createdb --adduser openerp"
20 Note: If you want to run the database as another user than 'openerp', you need
21 to replace 'openerp' above with the user you want instead, and you need to
22 adjust 'db_user = openerp' in /etc/openerp-server.conf too.
24 4. Initializing the database
26 # /usr/bin/openerp-server --init=all
28 5. Restarting openerp-server
30 # /etc/init.d/openerp-server restart
32 Now, you're finish. Please be aware of the following things:
34 * openerp-server has by default two accounts:
35 - User: admin; password: admin
36 - User: demo; password; demo
38 * openerp-server listens by default on port 8069. If you need to change this,
39 edit /etc/openerp-server.conf and replace 'port = 8069' with
42 * openerp-server in the upstreams configuration listens by default to *all*
43 interfaces. For security reasons, we do restrict it in the Debian packages
44 to listen only on localhost. If you need to change this, edit
45 /etc/openerp-server.conf and replace 'interface = localhost' with
46 'interface = <your ip>'.
48 -- Daniel Baumann <daniel@debian.org> Fri, 1 Jun 2007 12:00:00 +0200