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.11 -r1.12
--- openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 11 Jun 2004 10:13:01 -0000 1.11
+++ openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 12 Jun 2004 11:04:21 -0000 1.12
@@ -42,42 +42,44 @@
Download the aolserver from CVS.[root root]# cd /usr/local/src
-[root src]# mkdir aolserver40r2
-[root src]# cd aolserver40r2
+[root src]# mkdir aolserver40r5
+[root src]# cd aolserver40r5
[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_r2 aolserver
+[root aolserver]# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co -r aolserver_v40_r5 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
[root aolserver]# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co nsoracle
+[root aolserver]# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co nsxml
[root aolserver]# wget http://www.tdom.org/tDOM-0.7.8.tar.gz
[root aolserver]# tar xvfz tDOM-0.7.8.tar.gz
[root root]#
cd /usr/local/src
-mkdir aolserver40r2
-cd aolserver40r2
-cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co -r aolserver_v40_r2 aolserver
+mkdir aolserver40r5
+cd aolserver40r5
+cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co -r aolserver_v40_r5 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 nsoracle
+cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/aolserver co nsxml
wget http://www.tdom.org/tDOM-0.7.8.tar.gz
tar xvfz tDOM-0.7.8.tar.gzConfigure, compile and install AOLserver
- Many people need to run more than one version of AOLserver in parallel. This section accomodates future upgrades by installing AOLserver 4 in /usr/local/aolserver40r2.
+ Many people need to run more than one version of AOLserver in parallel. This section accomodates future upgrades by installing AOLserver 4 in /usr/local/aolserver40r5.
- [root aolserver]# cd /usr/local/src/aolserver40r2/aolserver
-[root aolserver]# ./configure --prefix=/usr/local/aolserver40r2 --with-tcl=/usr/local/lib/
+ [root aolserver]# cd /usr/local/src/aolserver40r5/aolserver
+[root aolserver]# ./configure --prefix=/usr/local/aolserver40r5 --with-tcl=/usr/local/lib/
[root aolserver]# make install
- cd /usr/local/src/aolserver40r2/aolserver
-./configure --prefix=/usr/local/aolserver40r2 --with-tcl=/usr/local/lib/
+cd /usr/local/src/aolserver40r5/aolserver
+./configure --prefix=/usr/local/aolserver40r5 --with-tcl=/usr/local/lib/
make install
-ln -s /usr/local/aolserver40r2 /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/aolserver40r2 instead of /usr/local/aolserver in future steps.
- [root aolserver]# ln -s /usr/local/aolserver40r2 /usr/local/aolserver
+ln -s /usr/local/aolserver40r5 /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/aolserver40r5 instead of /usr/local/aolserver in future steps.
+ [root aolserver]# ln -s /usr/local/aolserver40r5 /usr/local/aolserver
@@ -86,7 +88,7 @@
Install nscache
- [root aolserver]# cd /usr/local/src/aolserver40r2/nscache
+ [root aolserver]# cd /usr/local/src/aolserver40r5/nscache
[root nscache]# make install
@@ -97,7 +99,7 @@
Install nspostgres (if you want to use Postgres)[root nsrewrite]# cd ../nspostgres
-[root nspostgres]# make install POSTGRES=LSB ACS=1 INST=/usr/local/aolserver40r2
+[root nspostgres]# make install POSTGRES=LSB ACS=1 INST=/usr/local/aolserver40r5 If you get errors like:nspostgres.c: In function `Ns_PgTableList':
nspostgres.c:679: warning: passing arg 3 of `Tcl_DStringAppend' as signed due to prototype
@@ -134,7 +136,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/aolserver40r2 --with-tcl=/usr/local/lib
+ --prefix=/usr/local/aolserver40r5 --with-tcl=/usr/local/lib
Now you can compile and configure tDOM[root unix]# sh CONFIG
[root unix]# make install
@@ -156,21 +158,21 @@
Oracle
- [root aolserver]# cd /usr/local/aolserver40r2/bin
+ [root aolserver]# cd /usr/local/aolserver40r5/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/aolserver40r2/bin
+cd /usr/local/aolserver40r5/bin
cp /tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
chmod 750 nsd-oraclePostgreSQL
- [root aolserver]# cd /usr/local/aolserver40r2/bin
+ [root aolserver]# cd /usr/local/aolserver40r5/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/aolserver40r2/bin
+cd /usr/local/aolserver40r5/bin
cp /tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
chmod 755 nsd-postgres
@@ -181,7 +183,7 @@
Change startup script (optional).
- If you want to run AOLserver on a port below 1024 (normally, for a webserver you will use 80), you will have to change the /var/lib/aolserver/$OPENACS_SERVICE_NAME/etc/daemontools/run script according to the documentation found there (namely: Add the -b yourip:yourport switch)
+ If you want to run AOLserver on a port below 1024 (normally, for a webserver you will use 80), you will have to change the /var/lib/aolserver/service0/etc/daemontools/run script according to the documentation found there (namely: Add the -b yourip:yourport switch)Test AOLserver.