Index: openacs-4/packages/acs-core-docs/www/aolserver4.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/aolserver4.html,v diff -u -r1.8.2.10 -r1.8.2.11 --- openacs-4/packages/acs-core-docs/www/aolserver4.html 27 Nov 2004 01:32:48 -0000 1.8.2.10 +++ openacs-4/packages/acs-core-docs/www/aolserver4.html 10 Jan 2005 01:21:40 -0000 1.8.2.11 @@ -1,4 +1,4 @@ -Install AOLserver 4

Install AOLserver 4

by Malte Sussdorff

+Install AOLserver 4

Install AOLserver 4

by Malte Sussdorff

OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff.
  1. Check suitability of previously installed TCL.�Start tcl (type tclsh or find it using which tclsh). @@ -11,9 +11,14 @@ info exists tcl_platform(threaded) info patchlevel

    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. -

  2. Retrieve TCL 8.4 (or higher).�Download and install TCL 8.4 from source

    If you have not installed a threaded version of TCL, download the latest TCL version from Sourceforge

    Remember that you have to be root if you want to follow these instructions. On Mac OS X type sudo su - to become root.

    Alternatively use curl -L -O instead of wget (especially on Mac OS X).

    [root root]# cd /usr/local/src
    +        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 source

    If you have not installed a threaded version of TCL, download the latest TCL version from Sourceforge

    Debian: + apt-get install + tcl8.4 tcl8.4-dev and proceed to + the next step. In that step, replace + --with-tcl=/usr/local/lib/ with + --with-tcl=/usr/lib/tcl8.4.

    Remember that you have to be root if you want to follow these instructions. On Mac OS X type sudo su - to become root.

    Alternatively use curl -L -O instead of wget (especially on Mac OS X).

    [root root]# cd /usr/local/src
     [root src]# wget http://heanet.dl.sourceforge.net/sourceforge/tcl/tcl8.4.7-src.tar.gz
     [root src]# tar xfz tcl8.4.7-src.tar.gz
     [root src]# cd tcl8.4.7/unix
    @@ -79,16 +84,16 @@
     	  communicate with the database.  There is one script each for
     	  Oracle and PostgreSQL.  They don't conflict, so if you plan
     	  to use both databases, install both.

    • Oracle

      [root aolserver]# cd /usr/local/aolserver40r8/bin
      -[root bin]# cp /tmp/openacs-5.1.3/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
      +[root bin]# cp /tmp/openacs-5.1.4/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
       [root bin]# chmod 750 nsd-oracle
       [root bin]#
       cd /usr/local/aolserver40r8/bin
      -cp /tmp/openacs-5.1.3/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
      +cp /tmp/openacs-5.1.4/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
       chmod 750 nsd-oracle
    • PostgreSQL

      [root aolserver]# cd /usr/local/aolserver40r8/bin
      -[root bin]# cp /tmp/openacs-5.1.3/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
      +[root bin]# cp /tmp/openacs-5.1.4/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
       [root bin]# chmod 755 nsd-postgres
       [root bin]#
       cd /usr/local/aolserver40r8/bin
      -cp /tmp/openacs-5.1.3/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
      +cp /tmp/openacs-5.1.4/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.

  3. 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 -b yourip:yourport switch)

  4. Test AOLserver.

($Id$)
View comments on this page at openacs.org
+ /usr/local/aolserver as the directory of Aolserver4.

  • 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 -b yourip:yourport switch)

  • Test AOLserver.

  • ($Id$)
    View comments on this page at openacs.org