X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=debian%2Fopenerp-server.README.Debian;h=af298134af8e0351786a92129c96af30ef26648b;hb=4ac9cc76f05202adcdaead15d700f981567324ea;hp=1b83104b36643b15718c412b965689639ee769cd;hpb=77935e0e11eaf0be35e81c0a5645466a56c1cf64;p=odoo%2Fodoo.git diff --git a/debian/openerp-server.README.Debian b/debian/openerp-server.README.Debian index 1b83104..af29813 100644 --- a/debian/openerp-server.README.Debian +++ b/debian/openerp-server.README.Debian @@ -1,7 +1,7 @@ openerp-server for Debian ------------------------- -OpenERP uses a PostgreSQL database to store its data. With the first generation +Open ERP uses a PostgreSQL database to store its data. With the first generation of packages, you have to setup this database manually. Here is a short explanation how to achieve this (you need to execute all commands as root): @@ -13,25 +13,22 @@ explanation how to achieve this (you need to execute all commands as root): the above syvinit script could also be named postgresql-VERSION (whereas 'VERSION' needs to be replace with a version number). - 1. Creating the database + 1. Creating the database user - # su - postgres -c "createdb -q --encoding=UNICODE openerp" + # su - postgres -c "createuser --createdb --no-createrole --pwprompt openerp" - 2. Creating the database user + Note: If you want to run the database as another user than 'openerp', you + need to replace 'openerp' above with the user you want instead, and you + need to adjust 'db_user = openerp' in /etc/openerp-server.conf too. - # su - postgres -c "createuser -q --createdb --adduser openerp" + 3. Restarting openerp-server - Note: If you want to run the database as another user than 'openerp', you need - to replace 'openerp' above with the user you want instead, and you need to - adjust 'db_user = openerp' in /etc/openerp-server.conf too. - - 4. Initializing the database + # /etc/init.d/openerp-server restart - # su - postgres -c "/usr/sbin/openerp-server --init=all" - 5. Restarting openerp-server + 4. Initializing the database - # /etc/init.d/openerp-server restart + Now you can connect with Open ERP client to the database and initialize it. Now, you're finish. Please be aware of the following things: @@ -39,8 +36,8 @@ Now, you're finish. Please be aware of the following things: - User: admin; password: admin - User: demo; password; demo - * openerp-server listens by default on port 8069. If you need to change this, - edit /etc/openerp-server.conf and replace 'port = 8069' with + * openerp-server listens by default on port 8070. If you need to change this, + edit /etc/openerp-server.conf and replace 'port = 8070' with 'port = '. * openerp-server in the upstreams configuration listens by default to *all*