~0k.io/ocb-server/usability-and-fix-on-res-partner-1

« back to all changes in this revision

Viewing changes to debian/openerp-server.README.Debian

Merge commit 'c18f2a7474c9' into mdv-gpl3-py26

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
openerp-server for Debian
 
2
-------------------------
 
3
 
 
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):
 
7
 
 
8
  0. Making sure, PostgreSQL is running
 
9
 
 
10
     # /etc/init.d/postgresql restart
 
11
 
 
12
     Note that depending on the version of PostgreSQL installed on your system,
 
13
     the above syvinit script could also be named postgresql-VERSION (whereas
 
14
     'VERSION' needs to be replace with a version number).
 
15
 
 
16
  1. Creating the database
 
17
 
 
18
     # su - postgres -c "createdb -q --encoding=UNICODE openerp"
 
19
 
 
20
  2. Creating the database user
 
21
 
 
22
     # su - postgres -c "createuser -q --createdb --adduser openerp"
 
23
 
 
24
     Note: If you want to run the database as another user than 'openerp', you
 
25
     need to replace 'openerp' above with the user you want instead, and you
 
26
     need to adjust 'db_user = openerp' in /etc/openerp-server.conf too.
 
27
 
 
28
  4. Initializing the database
 
29
 
 
30
     # su - postgres -c "/usr/bin/openerp-server --init=all \
 
31
        --config=/etc/openerp-server.conf --stop-after-init"
 
32
 
 
33
  5. Restarting openerp-server
 
34
 
 
35
     # /etc/init.d/openerp-server restart
 
36
 
 
37
Now, you're finish. Please be aware of the following things:
 
38
 
 
39
  * openerp-server has by default two accounts:
 
40
    - User: admin; password: admin
 
41
    - User: demo; password; demo
 
42
 
 
43
  * openerp-server listens by default on port 8070. If you need to change this,
 
44
    edit /etc/openerp-server.conf and replace 'port = 8070' with
 
45
    'port = <your port>'.
 
46
 
 
47
  * openerp-server in the upstreams configuration listens by default to *all*
 
48
    interfaces. For security reasons, we do restrict it in the Debian packages
 
49
    to listen only on localhost. If you need to change this, edit
 
50
    /etc/openerp-server.conf and replace 'interface = localhost' with
 
51
    'interface = <your ip>'.
 
52
 
 
53
 -- Daniel Baumann <daniel@debian.org>  Fri,  1 Jun 2007 12:00:00 +0200