Index: openacs-4/packages/acs-core-docs/www/aolserver4.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/aolserver4.adp,v diff -u -r1.1.2.3 -r1.1.2.4 --- openacs-4/packages/acs-core-docs/www/aolserver4.adp 28 Sep 2015 07:54:10 -0000 1.1.2.3 +++ openacs-4/packages/acs-core-docs/www/aolserver4.adp 9 Jun 2016 13:03:11 -0000 1.1.2.4 @@ -16,8 +16,8 @@ OpenACS documentation staff.
  1. -Check suitability of previously installed -TCL. Start tcl (type tclsh or find it using +Check suitability of previously installed +TCL. Start tcl (type tclsh or find it using which tclsh).

     [root root]% info exists tcl_platform(threaded)
     1
    @@ -31,8 +31,8 @@
     

    If the first command returns anything other than 1, then tcl is not threaded. If tcl is threaded and the version is 8.4 or higher, then installing tcl from source is optional.

    -Retrieve Tcl 8.4 -(or higher). Download and install Tcl 8.4 from +Retrieve Tcl 8.4 +(or higher). Download and install Tcl 8.4 from source

    Note for Debian users: you can apt-get install tcl8.4-dev if you have the right version (stable users will need to add tcl8.4 to their sources.list file as described on the Install Postgres @@ -63,7 +63,7 @@

  2. -Retrieve AOLserver. Download the aolserver +Retrieve AOLserver. Download the aolserver from CVS.

     [root root]# cd /usr/local/src
     [root src]# mkdir aolserver40r10
    @@ -92,8 +92,8 @@
     
  3. -Configure, compile and install -AOLserver. Many people need to run more than one +Configure, 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/aolserver40r9.

     [root aolserver]# cd /usr/local/src/aolserver40r10/aolserver
    @@ -112,8 +112,8 @@
     [root aolserver]# ln -s /usr/local/aolserver40r10 /usr/local/aolserver
     
  4. -

    Configure, compile and install the -modules. 

      +

      Configure, compile and install the +modules. 

      1. Install nscache

        @@ -191,7 +191,7 @@
         
    1. -Add a database-specific wrapper script. This +Add a database-specific wrapper script. This script sets database environment variables before starting AOLserver; this allows the AOLserver instance to communicate with the database. There is one script for Oracle and one for @@ -205,28 +205,28 @@

    2. Oracle

       [root aolserver]# cd /usr/local/aolserver/bin
      -[root bin]# cp /tmp/openacs-5.7.0/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
      +[root bin]# cp /tmp/openacs-5.9.0/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
       [root bin]# chmod 750 nsd-oracle
       [root bin]#
       cd /usr/local/aolserver/bin
      -cp /var/tmp/openacs-5.7.0/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
      +cp /var/tmp/openacs-5.9.0/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
       chmod 750 nsd-oracle
       
    3. PostgreSQL

       [root aolserver]# cd /usr/local/aolserver/bin
      -[root bin]# cp /var/tmp/openacs-5.7.0/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
      +[root bin]# cp /var/tmp/openacs-5.9.0/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
       [root bin]# chmod 755 nsd-postgres
       [root bin]#
       cd /usr/local/aolserver/bin
      -cp /var/tmp/openacs-5.7.0/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
      +cp /var/tmp/openacs-5.9.0/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
       chmod 755 nsd-postgres
       

    You may need to edit these scripts if you are not using /usr/local/aolserver as the directory of Aolserver4.

  5. -Change startup script (optional). If you want +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/service0/etc/daemontools/run script according to the documentation found there (namely: Add the @@ -238,7 +238,7 @@

\ No newline at end of file