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.12 -r1.13 --- openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml 29 Oct 2003 09:01:09 -0000 1.12 +++ openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml 5 Nov 2003 11:48:12 -0000 1.13 @@ -21,15 +21,15 @@ Using the Red Hat RPM - Red Hat users: If you install PostGreSQL 7.3.4 from the Red Hat 9 RPM, you - can skip a few steps. These shell commands add a link so that the - data directory appears to be in the same place as in a source - install; start the service; create a new group for web service + 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 information): - [root@yourserver root]# ln -s /var/lib/pgsql/data /usr/local/pgsql/data + [root@yourserver root]# ln -s /usr/lib/pgsql/ /var/lib/pgsql/lib +[root@yourserver root]# ln -s /var/lib/pgsql /usr/local/pgsql +[root@yourserver root]# ln -s /etc/init.d/postgresql /etc/init.d/postgres [root@yourserver root]# service postgresql start Initializing database: [ OK ] @@ -40,7 +40,8 @@ [root@yourserver root]# su - postgres -bash-2.05b$ -ln -s /var/lib/pgsql/data /usr/local/pgsql/data +ln -s /usr/lib/pgsql/ /var/lib/pgsql/lib +ln -s /var/lib/pgsql /usr/local/pgsql service postgresql start echo "export LD_LIBRARY_PATH=/usr/local/pgsql/lib" >> ~postgres/.bash_profile echo "export PATH=$PATH:/usr/local/pgsql/bin" >> ~postgres/.bash_profile