Index: openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml,v
diff -u -r1.1.2.4 -r1.1.2.5
--- openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 4 Jan 2004 09:45:17 -0000 1.1.2.4
+++ openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 6 Jan 2004 14:07:11 -0000 1.1.2.5
@@ -108,7 +108,7 @@
Install nspostgres (if you want to use Postgres)[root nsrewrite]# cd ../nspostgres
-[root nspostgres]# sudo make install POSTGRES=/usr/local/pgsql ACS=1
+[root nspostgres]# sudo make install POSTGRES=/usr/local/pgsql ACS=1 INST=/usr/local/aolserver If you run into problems with libpq.a do the following (and repeat the step above)[root nspostgres]# sudo ranlib /usr/local/pgsql/lib/libpq.aIf you run into problems with the linker, edit the Makefile. Add -lnsdb to the MODLIBS var.
@@ -138,6 +138,39 @@
+
+
+ Add a database-specific wrapper script.
+This script
+ sets database environment variables before starting
+ AOLserver; this allows the AOLserver instance can
+ communicate with the database. There is one script each for
+ Oracle and PostgreSQL. They don't conflict, so if you plan
+ to use both databases, install both.
+
+
+
+ Oracle
+ [root aolserver]# cd /usr/local/aolserver/bin
+[root bin]# cp /tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
+[root bin]# chmod 750 nsd-oracle
+[root bin]#
+cd /usr/local/aolserver/bin
+cp /tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
+chmod 750 nsd-oracle
+
+
+ PostgreSQL
+ [root aolserver]# cd /usr/local/aolserver/bin
+[root bin]# cp /tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
+[root bin]# chmod 755 nsd-postgres
+[root bin]#
+cd /usr/local/aolserver/bin
+cp /tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
+chmod 755 nsd-postgres
+
+
+ Test AOLserver.