Index: openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml,v diff -u -r1.5.2.5 -r1.5.2.6 --- openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml 15 Dec 2003 14:03:51 -0000 1.5.2.5 +++ openacs-4/packages/acs-core-docs/www/xml/releasing-openacs.xml 16 Dec 2003 11:15:53 -0000 1.5.2.6 @@ -143,4 +143,5 @@ release script missing + ($Id$) Index: openacs-4/packages/acs-core-docs/www/xml/developers-guide/cvs.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/developers-guide/cvs.xml,v diff -u -r1.4.2.3 -r1.4.2.4 --- openacs-4/packages/acs-core-docs/www/xml/developers-guide/cvs.xml 15 Dec 2003 14:18:48 -0000 1.4.2.3 +++ openacs-4/packages/acs-core-docs/www/xml/developers-guide/cvs.xml 16 Dec 2003 11:15:53 -0000 1.4.2.4 @@ -16,14 +16,14 @@ cvs setup - These steps take an existing OpenACS directory and add + These steps take an existing OpenACS directory and add it to a CVS - repository. - - - - Create and set permissions on a subdirectory in the local cvs repository. - [root root]# mkdir /cvsroot/service0 + repository. + + + + Create and set permissions on a subdirectory in the local cvs repository. + [root root]# mkdir /cvsroot/service0 [root root]# chown service0.web /cvsroot/service0 [root root]# mkdir /cvsroot/service0 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.2 -r1.1.2.3 --- openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 15 Dec 2003 14:03:52 -0000 1.1.2.2 +++ openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 16 Dec 2003 11:15:53 -0000 1.1.2.3 @@ -41,35 +41,36 @@ wget http://www.tdom.org/tDOM-0.7.8.tar.gz tar xvfz tDOM-0.7.8.tar.gz - - -Configure, compile and install AOLserver -[root aolserver]# cd aolserver + + + Configure, compile and install AOLserver + [root aolserver]# cd aolserver [root aolserver]# cd aolserver [root aolserver]# ./configure --with-tcl=/usr/local/lib/ -[root aolserver]# make install - - - - - Configure, compile and install the modules - - - Install nscache - [root /usr/local/src/aolserver/aolserver]# cd ../nscache +[root aolserver]# make install + + + + + Configure, compile and install the modules + + + + Install nscache + [root /usr/local/src/aolserver/aolserver]# cd ../nscache [root /usr/local/src/aolserver/nscache]# make install - - - Install nsrewrite - [root /usr/local/src/aolserver/nscache]# cd ../nsrewrite + + + Install nsrewrite + [root /usr/local/src/aolserver/nscache]# cd ../nsrewrite [root /usr/local/src/aolserver/nsrewrite]# make install - - - Install nsoracle (if you want to use Oracle) - [root /usr/local/src/aolserver/nscache]# cd ../nsoracle + + + Install nsoracle (if you want to use Oracle) + [root /usr/local/src/aolserver/nscache]# cd ../nsoracle [root /usr/local/src/aolserver/nsrewrite]# make install - Steps so far - cd /usr/local/src/aolserver/ + Steps so far + cd /usr/local/src/aolserver/ ./configure --with-tcl=/usr/local/lib/ make install cd ../nscache @@ -78,44 +79,45 @@ make install cd ../nsoracle make install - - - Install nspostgres (if you want to use Postgres) - [root nsrewrite]# cd ../nspostgres + + + Install nspostgres (if you want to use Postgres) + [root nsrewrite]# cd ../nspostgres [root nspostgres]# sudo make install POSTGRES=/usr/local/pgsql ACS=1 - 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.a - If you run into problems with the linker, edit the Makefile. Add -lnsdb to the MODLIBS var. - MODLIBS = -L$(PGLIB) -lpq -lnsdb - - - Install nssha1 - [root nsrewrite]# cd ../nssha1 + 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.a + If you run into problems with the linker, edit the Makefile. Add -lnsdb to the MODLIBS var. + MODLIBS = -L$(PGLIB) -lpq -lnsdb + + + Install nssha1 + [root nsrewrite]# cd ../nssha1 [root nssha1]# make - If 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; + If 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; - Now install nssha1: - [root nssha1]# make install - - - Install tDOM - [root nssha1]# cd ../tDOM-0.7.8/unix - Edit the CONFIG file. Uncomment the instructions meant for AOLserver 4, but edit it to look like this: - ../configure --enable-threads --disable-tdomalloc + Now install nssha1: + [root nssha1]# make install + + + Install tDOM + [root nssha1]# cd ../tDOM-0.7.8/unix + Edit 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/aolserver --with-tcl=/usr/local/lib - Now you can compile and configure tDOM - [root unix]# sh CONFIG + Now you can compile and configure tDOM + [root unix]# sh CONFIG [root unix]# make install - - - - - - Test AOLserver. - - - + + + + + + + Test AOLserver. + + + ($Id$) Index: openacs-4/packages/acs-core-docs/www/xml/install-guide/recovery.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/install-guide/recovery.xml,v diff -u -r1.6.2.8 -r1.6.2.9 --- openacs-4/packages/acs-core-docs/www/xml/install-guide/recovery.xml 15 Dec 2003 16:29:01 -0000 1.6.2.8 +++ openacs-4/packages/acs-core-docs/www/xml/install-guide/recovery.xml 16 Dec 2003 11:15:53 -0000 1.6.2.9 @@ -5,11 +5,20 @@ %myvars; ]> - Backup and Recovery - - By Don Baccus with additions + Backup and Recovery + + By Don Baccus with additions by Joel Aufrecht + We will cover some basic backup and recovery strategies. These are intended to + be robust but simple enough to set up. For a large scale production site you would + probably need to create your own backup strategies (in particular full dumps from + oracle, while easy to set up, are far from the best solution). + + + There are three basic things which need to be backed up, the database data, the server + source tree, and the acs-content-repository (which is in the server source tree). + Backup Strategy @@ -386,9 +395,9 @@ [service0 service0]$ cd /var/lib/aolserver/service0 [service0 service0]$ cvs up -r current [service0 service0]$ exit -su - service0 +su - service0 cd /var/lib/aolserver/service0 cvs up -r current - ($Id$) + ($Id$)