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.24 -r1.25
--- openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 13 Jan 2005 13:55:17 -0000 1.24
+++ openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 5 Feb 2005 18:22:17 -0000 1.25
@@ -53,16 +53,16 @@
Remember that you have to be root if you want to follow these instructions. On Mac OS X type sudo su - to become root.Alternatively use curl -L -O instead of wget (especially on Mac OS X).[root root]# cd /usr/local/src
-[root src]# wget http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl8.4.7-src.tar.gz
-[root src]# tar xfz tcl8.4.7-src.tar.gz
-[root src]# cd tcl8.4.7/unix
+[root src]# wget http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl8.4.9-src.tar.gz
+[root src]# tar xfz tcl8.4.9-src.tar.gz
+[root src]# cd tcl8.4.9/unix
[root unix]# ./configure --enable-threads
[root unix]# make install
[root root]#
cd /usr/local/src
-wget http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl8.4.7-src.tar.gz
-tar xfz tcl8.4.7-src.tar.gz
-cd tcl8.4.7/unix
+wget http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl8.4.9-src.tar.gz
+tar xfz tcl8.4.9-src.tar.gz
+cd tcl8.4.9/unix
./configure --enable-threads
make install
@@ -73,10 +73,10 @@
Download the aolserver from CVS.[root root]# cd /usr/local/src
-[root src]# mkdir aolserver40r9
-[root src]# cd aolserver40r9
+[root src]# mkdir aolserver40r10
+[root src]# cd aolserver40r10
[root aolserver]# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver login
-[root aolserver]# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co -r aolserver_v40_r9 aolserver
+[root aolserver]# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co -r aolserver_v40_r10 aolserver
[root aolserver]# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co nscache
[root aolserver]# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co nspostgres
[root aolserver]# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co nssha1
@@ -85,30 +85,30 @@
[root aolserver]# tar xvfz tDOM-0.7.8.tar.gz
[root root]#
cd /usr/local/src
-mkdir aolserver40r9
-cd aolserver40r9
-cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co -r aolserver_v40_r9 aolserver
+mkdir aolserver40r10
+cd aolserver40r10
+cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co -r aolserver_v40_r10 aolserver
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co nscache
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co nspostgres
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co nssha1
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co -r v2_7 nsoracle
-wget http://www.tdom.org/tDOM-0.7.8.tar.gz
-tar xvfz tDOM-0.7.8.tar.gz
+wget http://www.tdom.org/files/tDOM-0.8.0.tar.gz
+tar xvfz tDOM-0.8.0.tar.gz
Configure, compile and install AOLserverMany people need to run more than one version of AOLserver in parallel. This section accomodates future upgrades by installing AOLserver 4 in /usr/local/aolserver40r9.
- [root aolserver]# cd /usr/local/src/aolserver40r9/aolserver
-[root aolserver]# ./configure --prefix=/usr/local/aolserver40r9 --with-tcl=/usr/local/lib/
+ [root aolserver]# cd /usr/local/src/aolserver40r10/aolserver
+[root aolserver]# ./configure --prefix=/usr/local/aolserver40r10 --with-tcl=/usr/local/lib/
[root aolserver]# make install
-cd /usr/local/src/aolserver40r9/aolserver
-./configure --prefix=/usr/local/aolserver40r9 --with-tcl=/usr/local/lib/
+cd /usr/local/src/aolserver40r10/aolserver
+./configure --prefix=/usr/local/aolserver40r10 --with-tcl=/usr/local/lib/
make install
- If this is the only version of AOLserver in use, or is the default version, create a symlink. If not, then be sure to use /usr/local/aolserver40r9 instead of /usr/local/aolserver in future steps and check any scripts and makefiles you run to ensure they use the correct path.
- [root aolserver]# ln -s /usr/local/aolserver40r9 /usr/local/aolserver
+ If this is the only version of AOLserver in use, or is the default version, create a symlink. If not, then be sure to use /usr/local/aolserver40r10 instead of /usr/local/aolserver in future steps and check any scripts and makefiles you run to ensure they use the correct path.
+ [root aolserver]# ln -s /usr/local/aolserver40r10 /usr/local/aolserver
@@ -117,13 +117,13 @@
Install nscache
- [root aolserver]# cd /usr/local/src/aolserver40r9/nscache
-[root nscache]# make install AOLSERVER=/usr/local/aolserver40r9
+ [root aolserver]# cd /usr/local/src/aolserver40r10/nscache
+[root nscache]# make install AOLSERVER=/usr/local/aolserver40r10Install nsoracle (if you want to use Oracle)[root nscache]# cd ../nsoracle
-[root nsoracle]# make install AOLSERVER=/usr/local/aolserver40r9
+[root nsoracle]# make install AOLSERVER=/usr/local/aolserver40r10OpenACS looks for the Oracle driver at
/usr/local/aolserver/bin/ora8.so, but some versions of
@@ -133,7 +133,7 @@
Install nspostgres (if you want to use Postgres)[root nscache]# cd ../nspostgres
-[root nspostgres]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib[root nspostgres]# make install POSTGRES=LSB ACS=1 INST=/usr/local/aolserver40r9 AOLSERVER=/usr/local/aolserver40r9
+[root nspostgres]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib[root nspostgres]# make install POSTGRES=LSB ACS=1 INST=/usr/local/aolserver40r10 AOLSERVER=/usr/local/aolserver40r10If you get errors like:nspostgres.c: In function `Ns_PgTableList':
@@ -162,7 +162,7 @@
[root nspostgres]# cd ../nssha1
[root nssha1]#
Now install nssha1:
- [root nssha1]# make install AOLSERVER=/usr/local/aolserver40r9
+ [root nssha1]# make install AOLSERVER=/usr/local/aolserver40r10If the make fails you will have to edit nssha1.c. Comment out the following 2 lines (lines 139-140): // typedef unsigned int u_int32_t;
// typedef unsigned char u_int8_t;
@@ -172,7 +172,7 @@
[root nssha1]# cd ../tDOM-0.7.8/unixEdit the CONFIG file. Uncomment the instructions meant for AOLserver 4, but edit it to look like this:../configure --enable-threads --disable-tdomalloc
- --prefix=/usr/local/aolserver40r9 --with-tcl=/usr/local/lib
+ --prefix=/usr/local/aolserver40r10 --with-tcl=/usr/local/libNow you can compile and configure tDOM[root unix]# sh CONFIG
[root unix]# make install
@@ -207,17 +207,17 @@
[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/aolserver40r9/bin
+cd /usr/local/aolserver40r10/bin
cp /var/tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
chmod 750 nsd-oraclePostgreSQL
- [root aolserver]# cd /usr/local/aolserver40r9/bin
+ [root aolserver]# cd /usr/local/aolserver40r10/bin
[root bin]# cp /var/tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
[root bin]# chmod 755 nsd-postgres
[root bin]#
-cd /usr/local/aolserver40r9/bin
+cd /usr/local/aolserver40r10/bin
cp /var/tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
chmod 755 nsd-postgres
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.30 -r1.31
--- openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml 13 Jan 2005 13:55:17 -0000 1.30
+++ openacs-4/packages/acs-core-docs/www/xml/install-guide/postgres.xml 5 Feb 2005 18:22:17 -0000 1.31
@@ -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 and 7.4.x. 7.4.5 is the recommended version of PostgreSQL.
+ OpenACS &version; will run with PostgreSQL 7.3.2, 7.3.3, and 7.3.4 and 7.4.x. 7.4.7 is the recommended version of PostgreSQL.
@@ -90,29 +90,29 @@
- Unpack PostgreSQL 7.4.5.
+ Unpack PostgreSQL 7.4.7.If you have not downloaded the postgresql tarball to
- /var/tmp/postgresql-7.4.5.tar.gz,
+ /var/tmp/postgresql-7.4.7.tar.gz,
get it.[root root]# cd /usr/local/src
-[root src]# tar xzf /var/tmp/postgresql-7.4.5.tar.gz
+[root src]# tar xzf /var/tmp/postgresql-7.4.7.tar.gz
[root src]#
cd /usr/local/src
-tar xzf /var/tmp/postgresql-7.4.5.tar.gz
+tar xzf /var/tmp/postgresql-7.4.7.tar.gz
- ALTERNATIVE: Unpack PostgreSQL 7.4.5
+ ALTERNATIVE: Unpack PostgreSQL 7.4.7If you have not downloaded the postgresql tarball to
- /var/tmp/postgresql-7.4.5.tar.bz2,
+ /var/tmp/postgresql-7.4.7.tar.bz2,
get it.[root root]# cd /usr/local/src
-[root src]# tar xfj /var/tmp/postgresql-7.4.5.tar.bz2
+[root src]# tar xfj /var/tmp/postgresql-7.4.7.tar.bz2
[root src]#
cd /usr/local/src
-tar xfj /var/tmp/postgresql-7.4.5.tar.bz2
+tar xfj /var/tmp/postgresql-7.4.7.tar.bz2
@@ -131,13 +131,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.4.5
+[root src]# chown -R postgres.web /usr/local/pgsql /usr/local/src/postgresql-7.4.7
[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.4.5
+chown -R postgres.web /usr/local/pgsql /usr/local/src/postgresql-7.4.7
chmod 750 /usr/local/pgsql
@@ -160,7 +160,7 @@
sudo niutil -createprop / /users/$OPENACS_SERVICE_NAME gid 201
sudo niutil -createprop / /users/$OPENACS_SERVICE_NAME uid 201
mkdir -p /usr/local/pgsql
-chown -R postgres:web /usr/local/pgsql /usr/local/src/postgresql-7.4.5
+chown -R postgres:web /usr/local/pgsql /usr/local/src/postgresql-7.4.7
chmod 750 /usr/local/pgsql
@@ -172,13 +172,13 @@
[root src]# mkdir -p /usr/local/pgsql
[root src]# pw groupadd -n web
[root src]# pw useradd -n postgres -g web -d /usr/local/pgsql -s /bin/bash
-[root src]# chown -R postgres:web /usr/local/pgsql /usr/local/src/postgresql-7.4.5
+[root src]# chown -R postgres:web /usr/local/pgsql /usr/local/src/postgresql-7.4.7
[root src]# chmod -R 750 /usr/local/pgsql
[root src]#
mkdir -p /usr/local/pgsql
pw groupadd -n web
pw useradd -n postgres -g web -d /usr/local/pgsql -s /bin/bash
-chown -R postgres:web /usr/local/pgsql /usr/local/src/postgresql-7.4.5
+chown -R postgres:web /usr/local/pgsql /usr/local/src/postgresql-7.4.7
chmod -R 750 /usr/local/pgsql
@@ -220,27 +220,27 @@
On debian woody (stable, 3.0), do ./configure --without-readline --without-zlib.[root src]# su - postgres
-[postgres pgsql]$ cd /usr/local/src/postgresql-7.4.5
-[postgres postgresql-7.4.5]$ ./configure
+[postgres pgsql]$ cd /usr/local/src/postgresql-7.4.7
+[postgres postgresql-7.4.7]$ ./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 postgresql-7.4.5]$ make all
+[postgres postgresql-7.4.7]$ make all
make -C doc all
-make[1]: Entering directory `/usr/local/src/postgresql-7.4.5/doc'
+make[1]: Entering directory `/usr/local/src/postgresql-7.4.7/doc'
(many lines omitted)
-make[1]: Leaving directory `/usr/local/src/postgresql-7.4.5/src'
+make[1]: Leaving directory `/usr/local/src/postgresql-7.4.7/src'
All of PostgreSQL successfully made. Ready to install.
-[postgres postgresql-7.4.5]$ make install
+[postgres postgresql-7.4.7]$ make install
make -C doc install
-make[1]: Entering directory `/usr/local/src/postgresql-7.4.5/doc'
+make[1]: Entering directory `/usr/local/src/postgresql-7.4.7/doc'
(many lines omitted)
Thank you for choosing PostgreSQL, the most advanced open source database
engine.
su - postgres
-cd /usr/local/src/postgresql-7.4.5
+cd /usr/local/src/postgresql-7.4.7
./configure
make all
make install
@@ -255,15 +255,15 @@
Tuning PostgreSQL (below).
- [postgres postgresql-7.4.5]$ /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
+ [postgres postgresql-7.4.7]$ /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.4.5]$ /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l /usr/local/pgsql/data/server.log start
+[postgres postgresql-7.4.7]$ /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.4.5]$
+[postgres postgresql-7.4.7]$
/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
@@ -280,15 +280,15 @@
databases are created. We can verify that it was created
with the createlang command in list mode.
- [postgres postgresql-7.4.5]$ createlang plpgsql template1
+ [postgres postgresql-7.4.7]$ createlang plpgsql template1
[postgres pgsql]$ createlang -l template1
Procedural languages
Name | Trusted?
---------+----------
plpgsql | t
(1 row)
-[postgres pgsql-7.4.5]$
+[postgres pgsql-7.4.7]$
createlang plpgsql template1
createlang -l template1