Note: this section is not really complete ... you may also want to check out the unofficial guides for more information on details.
Small HowtoGo to the OpenGroupware.org installation directory (with .deb packages, this defaults to /usr/lib/opengroupware.org, for .rpm packages go to /opt/opengroupware.org).
Go to the 'Database' subdir, then change to the directory matching your database (PostgreSQL). There'll you find the schema files used for the database.
Create a new database and a new database user (using 'createdb' and 'createuser' as root) and insert this schema into the database. Now change to the 'opengroupware' user and use the 'Defaults' tool to write the database configuration.
Below you see a transcript of the database installation. Just follow these steps and everything should work well for you.
|
Now configure the connection information in OGo:
|
Configuring PostgreSQL
It is important that you can connect PostgreSQL using TCP/IP because that is the only mechanism supported by the OGo database adaptor in the moment. So if you run into "cannot connect database" issues, you are probably missing some PostgreSQL configuration.
To check whether TCP/IP properly works for your installation use that:
|
The -h localhost will trigger an TCP/IP connect. If the above does
not work for you, you may need to fix ~postgres/data/postgresql.conf
and enable the tcpip_socket option and you may need to setup
authentication in ~postgres/data/pg_hba.conf.
Note that ident authentication does not work with TCP/IP!