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.19 -r1.20 --- openacs-4/packages/acs-core-docs/www/aolserver.html 31 Oct 2003 15:57:34 -0000 1.19 +++ openacs-4/packages/acs-core-docs/www/aolserver.html 5 Nov 2003 11:48:09 -0000 1.20 @@ -2,14 +2,23 @@ by Vinod Kurup
OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff. -

  1. Unpack the Aolserver tarball.�Download the aolserver tarball to /tmp/aolserver3.3oacs1.tar.gz. As root, untar - aolserver3.3oacs1.tar.gz - into /usr/local/src. -

    [root@yourserver root]# cd /usr/local/src
    -[root@yourserver src]# tar xzf /tmp/aolserver3.3oacs1.tar.gz
    +        

  1. Unpack the Aolserver tarball.�Download the aolserver tarball and unpack it.

    [root@yourserver root]# cd /usr/local/src
    +[root@yourserver src]# wget --passive http://uptime.openacs.org/aolserver-openacs/aolserver3.3oacs1.tar.gz
    +--15:38:08--  http://uptime.openacs.org/aolserver-openacs/aolserver3.3oacs1.tar.gz
    +           => `aolserver3.3oacs1.tar.gz'
    +Resolving uptime.openacs.org... done.
    +Connecting to uptime.openacs.org[207.166.200.199]:80... connected.
    +HTTP request sent, awaiting response... 200 OK
    +Length: 3,858,074 [application/x-compressed]
    +
    +100%[====================================>] 3,858,074     66.56K/s    ETA 00:00
    +
    +15:39:05 (66.56 KB/s) - `aolserver3.3oacs1.tar.gz' saved [3858074/3858074]
    +[root@yourserver src]# tar xzf aolserver3.3oacs1.tar.gz
     [root@yourserver src]#
     
    cd /usr/local/src
    -tar xzf /tmp/aolserver3.3oacs1.tar.gz
  2. Compile AOLserver.�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
    +wget --passive http://uptime.openacs.org/aolserver-openacs/aolserver3.3oacs1.tar.gz
    +tar xzf aolserver3.3oacs1.tar.gz
  3. Compile AOLserver.�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
    @@ -78,16 +87,27 @@
     
    cd /usr/local/aolserver/bin
     cp /tmp/openacs-5.0.0a4/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
     chmod 755 nsd-postgres
  • Install tDOM.�Download the tDOM - tarball to - /tmp/tDOM-0.7.7.tar.gz, - unpack it, adjust the configuration file to match our patched + tarball, unpack it, adjust the configuration file to match our patched distribution of aolserver, and compile it.

    [root@yourserver root]# cd /usr/local/src
    -[root@yourserver src]# tar xzf /tmp/tDOM-0.7.7.tar.gz
    -[root@yourserver src]# cd tDOM-0.7.7/unix
    +[root@yourserver src]# wget --passive http://www.tdom.org/tDOM-0.7.8.tar.gz
    +--16:40:58--  http://www.tdom.org/tDOM-0.7.8.tar.gz
    +           => `tDOM-0.7.8.tar.gz'
    +Resolving www.tdom.org... done.
    +Connecting to www.tdom.org[212.14.81.4]:80... connected.
    +HTTP request sent, awaiting response... 200 OK
    +Length: 826,613 [application/x-compressed]
    +
    +100%[====================================>] 826,613      138.06K/s    ETA 00:00
    +
    +16:41:04 (138.06 KB/s) - `tDOM-0.7.8.tar.gz' saved [826613/826613]
    +
    +[root@yourserver src]# tar xzf tDOM-0.7.8.tar.gz
    +[root@yourserver src]# cd tDOM-0.7.8/unix
     [root@yourserver unix]#
     
    cd /usr/local/src
    -tar xzf /tmp/tDOM-0.7.7.tar.gz
    -cd unix

    Edit the file CONFIG and change this section: +wget --passive http://www.tdom.org/tDOM-0.7.8.tar.gz +tar xzf tDOM-0.7.8.tar.gz +cd tDOM-0.7.8/unix

    Edit the file CONFIG and change this section:

    # ----------------------------------------------------
     # aolsrc="/usr/src/aolserver-3.4"
     # ../configure --enable-threads --disable-tdomalloc \
    @@ -112,10 +132,16 @@
       (many lines omitted)
               -Wl,-rpath,/usr/local/lib -o tcldomsh;\
     fi
    -[root@yourserver unix]# cp libtdom0.7.7.so /usr/local/aolserver/bin/
    +[root@yourserver unix]# cp libtdom0.7.8.so /usr/local/aolserver/bin/
    +[root@yourserver unix]# cd /usr/local/aolserver/bin/
    +[root@yourserver bin]# ln -s libtdom0.7.8.so libtdom.so
    +[root@yourserver bin]#
    +
     
    sh CONFIG
     make
    -cp libtdom0.7.7.so /usr/local/aolserver/bin/

    +cp libtdom0.7.8.so /usr/local/aolserver/bin/ +cd /usr/local/aolserver/bin +ln -s libtdom0.7.8.so libtdom.so

  • Install nsopenssl (OPTIONAL)

  • Install Full Text Search with OpenFTS (OPTIONAL)

  • Install nspam (OPTIONAL)

  • Test AOLserver.�In order to test AOLserver, we'll run it using the sample-config.tcl file provided in the AOLserver distribution,