Index: openacs-4/packages/acs-core-docs/www/aolserver.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/aolserver.html,v diff -u -r1.8.2.4 -r1.8.2.5 --- openacs-4/packages/acs-core-docs/www/aolserver.html 30 Mar 2003 06:04:04 -0000 1.8.2.4 +++ openacs-4/packages/acs-core-docs/www/aolserver.html 7 Apr 2003 16:59:25 -0000 1.8.2.5 @@ -4,35 +4,34 @@ OpenACS docs are written by the named authors, but may be edited by OpenACS documentation staff.

This page assumes you have downloaded aolserver to to -/tmp/aolserver3.3ad13-oacs1-beta-src.tar.gz. If not, +/tmp/aolserver3.3oacs1.tar.gz. If not, get it. It also assumes you are following the 4.6.2-P or 4.6.2-O Reference Platform installation, using Red Hat 8.0. Places where other systems are different are noted.

  1. As root, untar - aolserver3.3ad13-oacs1-beta-src.tar.gz + aolserver3.3oacs1.tar.gz into /usr/local/src.

    [root@yourserver root]# cd /usr/local/src
    -[root@yourserver src]# tar xzf /tmp/aolserver3.3ad13-oacs1-beta-src.tar.gz
    +[root@yourserver src]# tar xzf /tmp/aolserver3.3oacs1.tar.gz
     [root@yourserver src]#
     
    cd /usr/local/src
    -tar xzf /tmp/aolserver3.3ad13-oacs1-beta-src.tar.gz
  2. Compile and install AOLserver. First, prepare the installation directory and the source code. The message about BUILD-MODULES can be ignored.

    root@yourserver root]# mkdir -p /usr/local/aolserver
    +tar xzf /tmp/aolserver3.3oacs1.tar.gz
  3. Compile and install AOLserver. First, prepare the installation directory and the source code. The message about BUILD-MODULES can be ignored.

    root@yourserver root]# mkdir -p /usr/local/aolserver
     [root@yourserver root]# cd /usr/local/src/aolserver
     [root@yourserver aolserver]# ./conf-clean
     cat: BUILD-MODULES: No such file or directory
     Done.
     [root@yourserver aolserver]#
    mkdir -p /usr/local/aolserver
     cd /usr/local/src/aolserver
     ./conf-clean

    - Put the name of the driver(s) that you want into - conf-db. This can be - postgresql, - oracle, or the word + If you are using Oracle, edit + conf-db and change + postgresql to + oracle, or to the word both if you want both drivers installed. -

    [root@yourserver aolserver]# echo "postgresql" > conf-db
    -[root@yourserver aolserver]#

    conf-inst should contain the - location where AOLserver is to be installed. This defaults to - /usr/local/aolserver, so we - don't need to change it.

    conf-make should contain the +

    conf-inst should contain the + location where AOLserver is to be installed. Overwrite the + tarball's default value with our default value, /usr/local/aolserver:

    [root@yourserver aolserver]# echo "/usr/local/aolserver" > conf-inst
    +[root@yourserver aolserver]#

    conf-make should contain the name of the GNU Make command on your system. It defaults to gmake. Verify that gmake is installed:

    [root@yourserver aolserver]# gmake -v
     GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
    @@ -45,14 +44,8 @@
     
     Report bugs to <bug-make@gnu.org>.
     
    -[root@yourserver aolserver]# 

    If you don't get similar results, including an equal or higher version number to 3.79.1, install gmake or check your aliases.

    - If you're going to be installing the Postgresql driver, you'll - have to adjust the makefile first. This will hopefully be cleaned - up in future versions of this distribution. -

    [root@yourserver aolserver]# emacs pgdriver/makefile

    - Edit the lines containing PGLIB and PGINC so they look like this: -

    PGLIB=/usr/local/pgsql/lib
    -PGINC=/usr/local/pgsql/include

    Run the conf program, which compiles AOLserver and the default modules and installs them.

    [root@yourserver aolserver]# ./conf
    +[root@yourserver aolserver]# 

    If you don't get similar results, including an equal or higher version number to 3.79.1, install gmake or check your aliases.

    Set an environment variable that the nspostgres driver + Makefile needs to compile correctly and run conf, which compiles AOLserver and the default modules and installs them.

    [root@yourserver aolserver]# export POSTGRES=/usr/local/pgsql; ./conf
     Building in /usr/local/aolserver
     with the following modules:
     aolserver
    @@ -69,7 +62,7 @@
     Running gmake in nsrewrite/; output in log/nsrewrite.log
     Running gmake in nssha1/; output in log/nssha1.log
     Running gmake in nsxml/; output in log/nsxml.log
    -Running gmake in pgdriver/; output in log/pgdriver.log
    +Running gmake in nspostgres/; output in log/nspostgres.log
     Creating  ...
     ==================================================================
     Done Building Sat Mar  8 10:31:35 PST 2003