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.23.2.1 -r1.23.2.2 --- openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml 5 Jul 2004 19:47:36 -0000 1.23.2.1 +++ openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml 15 Oct 2004 07:35:18 -0000 1.23.2.2 @@ -14,7 +14,7 @@ Skip this section if you will run only Oracle. - OpenACS &version; will run with PostgreSQL 7.3.2, 7.3.3, and 7.3.4. 7.3.4 is the recommended version of PostgreSQL. PostgreSQL 7.4 has been verified. + OpenACS &version; will run with PostgreSQL 7.3.2, 7.3.3, and 7.3.4 and 7.4.x. 7.4.5 is the recommended version of PostgreSQL. @@ -79,16 +79,16 @@ - Unpack PostgreSQL 7.3.4. + Unpack PostgreSQL 7.4.5. If you have not downloaded the postgresql tarball to - /tmp/postgresql-7.3.4.tar.gz, + /tmp/postgresql-7.4.5.tar.gz, get it. [root root]# cd /usr/local/src -[root src]# tar xzf /tmp/postgresql-7.3.4.tar.gz +[root src]# tar xzf /tmp/postgresql-7.4.5.tar.gz [root src]# cd /usr/local/src -tar xzf /tmp/postgresql-7.3.4.tar.gz +tar xzf /tmp/postgresql-7.4.5.tar.gz @@ -133,13 +133,13 @@ [root src]# groupadd web [root src]# useradd -g web -d /usr/local/pgsql postgres [root src]# mkdir -p /usr/local/pgsql -[root src]# chown -R postgres.web /usr/local/pgsql /usr/local/src/postgresql-7.3.4 +[root src]# chown -R postgres.web /usr/local/pgsql /usr/local/src/postgresql-7.4.5 [root src]# chmod 750 /usr/local/pgsql [root 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.3.4 +chown -R postgres.web /usr/local/pgsql /usr/local/src/postgresql-7.4.5 chmod 750 /usr/local/pgsql @@ -206,28 +206,28 @@ On debian woody (stable, 3.0), do ./configure --without-readline --without-zlib. [root src]# su - postgres -[postgres pgsql]$ cd /usr/local/src/postgresql-7.3.4 -[postgres postgresql-7.3.4]$ ./configure --with-includes=/sw/include/ --with-libraries=/sw/lib --enable-locale --enable-multibyte \ +[postgres pgsql]$ cd /usr/local/src/postgresql-7.4.5 +[postgres postgresql-7.4.5]$ ./configure --with-includes=/sw/include/ --with-libraries=/sw/lib --enable-locale --enable-multibyte \ --enable-syslog --enable-unicode-conversion --enable-recode 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 postgresql-7.3.4]$ make all +[postgres postgresql-7.4.5]$ make all make -C doc all -make[1]: Entering directory `/usr/local/src/postgresql-7.3.4/doc' +make[1]: Entering directory `/usr/local/src/postgresql-7.4.5/doc' (many lines omitted) -make[1]: Leaving directory `/usr/local/src/postgresql-7.3.4/src' +make[1]: Leaving directory `/usr/local/src/postgresql-7.4.5/src' All of PostgreSQL successfully made. Ready to install. -[postgres postgresql-7.3.4]$ make install +[postgres postgresql-7.4.5]$ make install make -C doc install -make[1]: Entering directory `/usr/local/src/postgresql-7.3.4/doc' +make[1]: Entering directory `/usr/local/src/postgresql-7.4.5/doc' (many lines omitted) Thank you for choosing PostgreSQL, the most advanced open source database engine. su - postgres -cd /usr/local/src/postgresql-7.3.4 +cd /usr/local/src/postgresql-7.4.5 ./configure make all make install @@ -241,15 +241,15 @@ PostgreSQL. - [postgres postgresql-7.3.4]$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data + [postgres postgresql-7.4.5]$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data The files belonging to this database system will be owned by user "postgres". This user must also own the server process. (17 lines omitted) or /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start -[postgres postgresql-7.3.4]$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l /usr/local/pgsql/data/server.log start +[postgres postgresql-7.4.5]$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l /usr/local/pgsql/data/server.log start postmaster successfully started -[postgres postgresql-7.3.4]$ +[postgres postgresql-7.4.5]$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l /usr/local/pgsql/data/server.log start @@ -266,15 +266,15 @@ databases are created. We can verify that it was created with the createlang command in list mode. - [postgres postgresql-7.3.4]$ createlang plpgsql template1 + [postgres postgresql-7.4.5]$ createlang plpgsql template1 [postgres pgsql]$ createlang -l template1 Procedural languages Name | Trusted? ---------+---------- plpgsql | t (1 row) -[postgres pgsql-7.3.4]$ +[postgres pgsql-7.4.5]$ createlang plpgsql template1 createlang -l template1