Index: openacs-4/packages/acs-core-docs/www/individual-programs.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/individual-programs.html,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-core-docs/www/individual-programs.html 28 Oct 2003 22:07:34 -0000 1.8 +++ openacs-4/packages/acs-core-docs/www/individual-programs.html 29 Oct 2003 09:01:10 -0000 1.9 @@ -93,10 +93,7 @@ supported database, not all contributed packages support all databases.
Oracle 8.1.7 (Either this or PostGreSQL is REQUIRED).�You can register and download Oracle from Oracle TechNet. You need this if you want to use an - Oracle database.
PostGreSQL 7.2.4 (Either this or Oracle is REQUIRED).�You need this if you want to use a PostGreSQL database. - PostGreSQL 7.3 is not backwards-compatible, and OpenACS - support for 7.3 has not been fully tested. If you are - not in the United States, select a closer mirror
Process Controller.�This is software that initiates other software, and + Oracle database.
PostGreSQL 7.3.4 (Either this or Oracle is REQUIRED).�You need this if you want to use a PostGreSQL database.
Process Controller.�This is software that initiates other software, and restarts that software if it fails. On Linux, we recommend using Daemontools to control AOLserver and qmail.
Daemontools 0.76, OPTIONAL.�You need this if you want AOLserver and qmail to run
"supervised," meaning that they are monitored and
Index: openacs-4/packages/acs-core-docs/www/postgres.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/postgres.html,v
diff -u -r1.14 -r1.15
--- openacs-4/packages/acs-core-docs/www/postgres.html 28 Oct 2003 22:18:47 -0000 1.14
+++ openacs-4/packages/acs-core-docs/www/postgres.html 29 Oct 2003 09:01:10 -0000 1.15
@@ -2,9 +2,8 @@
by Vinod Kurup
OpenACS docs are written by the named authors, and may be edited
by OpenACS documentation staff.
-
Skip this section if you will run only Oracle.
OpenACS 5.0.0a1 will run with PostGreSQL 7.2.x or 7.3.2. It - has not been fully tested with 7.3.2; 7.2.4 is the recommended - version of PostgreSQL to use.
Skip this section if you will run only Oracle.
OpenACS 5.0.0a1 will run with PostGreSQL 7.2.x, 7.3.2, + 7.3.3, and 7.3.4. 7.3.4 is the recommended version of PostgreSQL.
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 @@ -27,26 +26,26 @@ echo "export PATH=$PATH:/usr/local/pgsql/bin" >> ~postgres/.bash_profile groupadd web su - postgres
... and then skip to 6. Something similar may work for other binary packages as well.
Unpack PostGreSQL.�If you have not downloaded the postgresql tarball to - /tmp/postgresql-7.2.4.tar.gz, + /tmp/postgresql-7.3.4.tar.gz, get it.
[root@yourserver root]# cd /usr/local/src
-[root@yourserver src]# tar xzf /tmp/postgresql-7.2.4.tar.gz
+[root@yourserver src]# tar xzf /tmp/postgresql-7.3.4.tar.gz
[root@yourserver src]#
cd /usr/local/src
-tar xzf /tmp/postgresql-7.2.4.tar.gz
Create the Postgres user.� +tar xzf /tmp/postgresql-7.3.4.tar.gz
Create the Postgres user.� Create a user and group (if you haven't done so before) for PostgreSQL. This is the account that PostgreSQL will run as since it will not run as root. Since nobody will log in directly as that user, we'll leave the password blank.
[root@yourserver src]# groupadd web
[root@yourserver src]# useradd -g web -d /usr/local/pgsql postgres
[root@yourserver src]# mkdir -p /usr/local/pgsql
-[root@yourserver src]# chown -R postgres.web /usr/local/pgsql /usr/local/src/postgresql-7.2.4
+[root@yourserver src]# chown -R postgres.web /usr/local/pgsql /usr/local/src/postgresql-7.3.4
[root@yourserver src]# chmod 750 /usr/local/pgsql
[root@yourserver src]#
groupadd web
useradd -g web -d /usr/local/pgsql postgres
mkdir -p /usr/local/pgsql
-chown -R postgres.web /usr/local/pgsql /usr/local/src/postgresql-7.2.4
+chown -R postgres.web /usr/local/pgsql /usr/local/src/postgresql-7.3.4
chmod 750 /usr/local/pgsql
Set up postgres's environment variables.�They are necessary for the executable to find its supporting libraries. For convenience, we'll simply append the necessary lines to the postgres shell config file.
[root@yourserver src]# echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib" >> ~postgres/.bashrc @@ -63,29 +62,29 @@ Change to the postgres user and run ./configure to set the compilation options automatically. This is the point at which you can configure PostgreSQL in various ways. For example, if you want to enable - Unicode support, add the flags --enable-locale and --enable-multibyte. If you want to see what the other possibilities are, run ./configure --help. + Unicode support, add the flags --enable-locale and --enable-multibyte. If you want to see what the other possibilities are, run ./configure --help.[root@yourserver src]# su - postgres -[postgres@yourserver pgsql]$ cd /usr/local/src/postgresql-7.2.4 -[postgres@yourserver postgresql-7.2.4]$ ./configure +[postgres@yourserver pgsql]$ cd /usr/local/src/postgresql-7.3.4 +[postgres@yourserver postgresql-7.3.4]$ ./configure creating cache ./config.cache checking host system type... i686-pc-linux-gnu (many lines omitted> linking ./src/makefiles/Makefile.linux to src/Makefile.port linking ./src/backend/port/tas/dummy.s to src/backend/port/tas.s -[postgres@yourserver postgresql-7.2.4]$ make all +[postgres@yourserver postgresql-7.3.4]$ make all make -C doc all -make[1]: Entering directory `/usr/local/src/postgresql-7.2.4/doc' +make[1]: Entering directory `/usr/local/src/postgresql-7.3.4/doc' (many lines omitted) -make[1]: Leaving directory `/usr/local/src/postgresql-7.2.4/src' +make[1]: Leaving directory `/usr/local/src/postgresql-7.3.4/src' All of PostgreSQL successfully made. Ready to install. -[postgres@yourserver postgresql-7.2.4]$ make install +[postgres@yourserver postgresql-7.3.4]$ make install make -C doc install -make[1]: Entering directory `/usr/local/src/postgresql-7.2.4/doc' +make[1]: Entering directory `/usr/local/src/postgresql-7.3.4/doc' (many lines omitted) Thank you for choosing PostgreSQL, the most advanced open source database engine.su - postgres -cd /usr/local/src/postgresql-7.2.4 +cd /usr/local/src/postgresql-7.3.4 ./configure make all make install
Start PostgreSQL.�
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.11 -r1.12
--- openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml 20 Aug 2003 16:20:18 -0000 1.11
+++ openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml 29 Oct 2003 09:01:09 -0000 1.12
@@ -14,15 +14,14 @@