Index: openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml,v diff -u -r1.14 -r1.15 --- openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml 9 Nov 2003 16:36:21 -0000 1.14 +++ openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml 11 Nov 2003 10:28:29 -0000 1.15 @@ -19,9 +19,23 @@ - + + Debian + + + Debian users can install the package and add some backwards-compatibility links: + apt-get install postgresql postgresql-dev postgresql-doc +ln -s /usr/include/postgresql/ /usr/include/pgsql +ln -s /var/lib/postgres /usr/local/pgsql +ln -s /usr/include/pgsql /usr/local/pgsql/include +su postgres -c "/usr/lib/postgresql/bin/createlang plpgsql template1" + and proceed to or to the + next section. + + + Using the Red Hat RPM - Red Hat users: If you install PostGreSQL 7.3.2 from the Red Hat 9 RPM, you + Red Hat users: If you install PostGreSQL 7.3.2 from the Red Hat 9 RPM, you can skip a few steps. These shell commands add some links for compatibility with the directories from a source-based install; start the service; create a new group for web service users, and modify the postgres user's environment (more @@ -388,7 +402,7 @@ - + Tune postgres. (OPTIONAL) The default values for PostGreSQL are very conservative; we can safely change some of them and improve performance. @@ -399,7 +413,7 @@ [root@yourserver root]# echo 134217728 >/proc/sys/kernel/shmmax [root@yourserver root]# Make that change permanent by editing - emacs /etc/sysctl.conf to + /etc/sysctl.conf to add these lines at the end: # increase shared memory limit for postgres kernel.shmmax = 134217728