2008-09-23 15:59:59 +00:00
|
|
|
Installation Steps
|
|
|
|
------------------
|
|
|
|
|
|
|
|
1. Check that all the required dependencies are installed.
|
|
|
|
|
|
|
|
2. Create a postgresql database.
|
|
|
|
|
|
|
|
The default database name is "terp". If you want to use another name, you
|
|
|
|
will need to provide it when launching the server (by using the commandline
|
|
|
|
option --database).
|
|
|
|
|
|
|
|
To create a postgresql database named "terp" using the following command:
|
|
|
|
$ createdb --encoding=UNICODE terp
|
|
|
|
|
|
|
|
If it is the first time you use postgresql you might need to create a new user
|
|
|
|
to the postgres system using the following commands (where myusername is your
|
|
|
|
unix user name):
|
|
|
|
|
|
|
|
$ su -
|
|
|
|
# su - postgres
|
2009-06-13 15:15:59 +00:00
|
|
|
$ createuser openerp
|
2008-09-23 15:59:59 +00:00
|
|
|
Shall the new user be allowed to create databases? (y/n) y
|
|
|
|
Shall the new user be allowed to create more new users? (y/n) y
|
|
|
|
CREATE USER
|
|
|
|
$ logout
|
|
|
|
# logout
|
|
|
|
|
2008-09-23 16:01:56 +00:00
|
|
|
3. Launch service daemon by "service openerp-server start".
|
2008-09-23 15:59:59 +00:00
|
|
|
|
|
|
|
The first time it is run, the server will initialise the database with all the default values.
|
|
|
|
|
|
|
|
4. Connect to the server using the GUI client.
|
|
|
|
|
|
|
|
There are two accounts by default:
|
|
|
|
* login: admin, password:admin
|
|
|
|
* login: demo, password:demo
|