From 5c0bb512bc546cf6a8623af09ba79e22256f11ea Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 21 Dec 2006 07:21:31 +1300 Subject: [PATCH] Following suggestions on the forums. --- docs/website/installation.php | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/docs/website/installation.php b/docs/website/installation.php index cdba956e..545718cd 100644 --- a/docs/website/installation.php +++ b/docs/website/installation.php @@ -25,12 +25,18 @@ sudo apt-key advanced --keyserver subkeys.pgp.net --recv-keys CCA377BD77494424B0

Other Linux Users

+

Please write something up about your experiences in the Wiki, adding distribution specific +notes to pages somewhere under here: + http://rscds.sourceforge.net/moin/InstallationStuff

RPM Packages of RSCDS

We have created RPM packages of RSCDS and libawl-php from the .deb packages using "alien". I don't know how well these work, so would appreciate feedback about your success with them.

+

SuSE Linux

+

On SuSE Linux you may need to look in /var/lib/pgsql/data/ for the pg_hba.conf file.

+

Gentoo, Slackware, BSD and the rest

You will need to download the latest versions of the rscds and awl packages @@ -141,6 +147,17 @@ web application) will have rights to connect to the RSCDS database as the 'general' user. It will not allow remote access, or access as any user other than 'general'.

+

If you want to connect to the database over TCP/IP rather than +unix sockets, the line in the pg_hba.conf file should look something +like:

+ +
+host rscds general 127.0.0.1/32 trust"
+
+ +

If the webserver is on a different machine to the database, that +IP address will need to change to the webserver's IP address.

+

If you want greater security, or if you want to have the database on a different server, you should read the PostgreSQL documentation on pg_hba.conf @@ -203,8 +220,8 @@ and is a regular PHP file which sets (or overrides) some specific variables.

// $c->enable_row_links = true; // $c->default_locale = en_NZ.UTF-8; -// $c->pg_connect[] = 'dbname=caldav port=5433 user=general'; - $c->pg_connect[] = 'dbname=caldav port=5432 user=general'; +// $c->pg_connect[] = 'dbname=rscds port=5433 user=general'; + $c->pg_connect[] = 'dbname=rscds port=5432 user=general'; ?>