Advertisement
Guest User

Untitled

a guest
May 4th, 2017
587
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  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. 1. Creating the database
  13.  
  14. # su - postgres -c "createdb -q --encoding=UNICODE openerp"
  15.  
  16. 2. Creating the database user
  17.  
  18. # su - postgres -c "createuser -q --createdb --adduser openerp"
  19.  
  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.
  23.  
  24. 4. Initializing the database
  25.  
  26. # /usr/bin/openerp-server --init=all
  27.  
  28. 5. Restarting openerp-server
  29.  
  30. # /etc/init.d/openerp-server restart
  31.  
  32. Now, you're finish. Please be aware of the following things:
  33.  
  34. * openerp-server has by default two accounts:
  35. - User: admin; password: admin
  36. - User: demo; password; demo
  37.  
  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
  40. 'port = <your port>'.
  41.  
  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>'.
  47.  
  48. -- Daniel Baumann <daniel@debian.org> Fri, 1 Jun 2007 12:00:00 +0200
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement