Index: openacs-4/packages/acs-core-docs/www/openacs.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/openacs.html,v diff -u -r1.17 -r1.18 --- openacs-4/packages/acs-core-docs/www/openacs.html 5 Nov 2003 11:48:10 -0000 1.17 +++ openacs-4/packages/acs-core-docs/www/openacs.html 5 Nov 2003 14:46:51 -0000 1.18 @@ -37,7 +37,12 @@

[root@yourserver root]# groupadd web
 [root@yourserver root]# useradd -g service0 -G web service0 -d /home/service0
 [root@yourserver root]#

Install with automated script (EXPERIMENTAL)

Starting with OpenACS 5.0, an experimental script is - available to automate all of the steps for the rest of this section. Requires tclwebtest. If you are not feeling lucky, skip to Section�, “Install from tarball”.

  1. Get the install script from CVS:

    [root@yourserver root]# su - service0
    +    available to automate all of the steps for the rest of this section.  Requires tclwebtest.  If you are not feeling lucky, skip to Section�, “Install from tarball”.

    Get the install script from CVS. It is located within + the main cvs tree, at /etc/install. Use anonymous CVS + checkout to get that directory in the home directory of the + service's dedicated user. We put it there so that it is not + overwritten when we do the main CVS checkout to the target + location.

    [root@yourserver root]# su - service0
     [service0@yourserver service0]$ cvs -d :pserver:anonymous@openacs.org:/cvsroot co -d install openacs-4/etc/install
     cvs server: Updating install
     U install/README
    @@ -46,10 +51,12 @@
     U install/tcl/twt-procs.tcl
     U install/tcl/user-procs.tcl
     [service0@yourserver service0]$ cd install
    +[service0@yourserver install]$ 
     

    Edit - /home/service0/install/install.tclinstall.tcl - file and change the values as documented in the file.

    Run the file as root.

    [service0@yourserver service0]$ exit 
    -[root@yourserver root]# ./home/service0/install/install.sh
    +        /home/service0/install/install.tcl
    +        and change the values as documented in the file.  It will work
    +        unchanged at 127.0.0.1:8000.

    Run the file as root.

    [service0@yourserver service0]$ exit 
    +[root@yourserver root]# ./home/service0/install/install.sh
     /home/service0/install/install.sh: Starting installation with config_file 
     /home/service0/install/install.tcl. Using serverroot=/var/lib/aolserver/
     service0, server_url=http://0.0.0.0:8000, do_checkout=yes, do_install=yes, 
    @@ -58,9 +65,7 @@
     ./install.sh: Finished (re)installing /var/lib/aolserver/service0 at Wed Nov  
     5 13:27:17 CET 2003.  Access the new site at http://127.0.0.1:8000 with admin 
     username admin@yourserver.test and password 1
    -[root@yourserver root]#
    -
    exit
    -./home/service0/install/install.sh

You can proceed to Section�, “Next Steps”.

Install from tarball

You should already have downloaded the OpenACS tarball +[root@yourserver root]#

You can proceed to Section�, “Next Steps”.

Install from tarball

You should already have downloaded the OpenACS tarball to the /tmp directory. If not, download the OpenACS tarball and save it in @@ -233,7 +238,7 @@ CREATE DATABASE [service0@yourserver service0]$

su - service0
-createdb -E UNICODE service0
  • Automate daily database Vacuuming. This is a process which cleans out discarded data from the database. A quick way to automate vacuuming is to edit the cron file for the database user.

    [service0@yourserver service0]$ export EDITOR=emacs;crontab -e

    Add this line to the file. The numbers and stars at the beginning are cron columns that specify when the program should be run - in this case, whenever the minute is 0 and the hour is 1, i.e., 1:00 am every day.

    0 1 * * * /usr/local/pgsql/bin/vacuumdb --analyze service0
  • Add Full Text Search Support (OPTIONAL)

  • [service0@yourserver service0]$ exit
    +createdb -E UNICODE service0
  • Automate daily database Vacuuming. This is a process which cleans out discarded data from the database. A quick way to automate vacuuming is to edit the cron file for the database user.

    [service0@yourserver service0]$ export EDITOR=emacs;crontab -e

    Add this line to the file. The numbers and stars at the beginning are cron columns that specify when the program should be run - in this case, whenever the minute is 0 and the hour is 1, i.e., 1:00 am every day.

    0 1 * * * /usr/local/pgsql/bin/vacuumdb --analyze service0
  • Add Full Text Search Support (OPTIONAL)

  • [service0@yourserver service0]$ exit
     logout
     
     [root@yourserver root]# 
  • Configure an AOLserver Service for OpenACS.�

    1. @@ -243,7 +248,7 @@ need to configure a virtual server. The Reference Platform uses a configuration file included in the OpenACS tarball, /var/lib/aolserver/service0/etc/config.tcl. - Open it in an editor to adjust the parameters.

      [root@yourserver root]# su - service0
      +	   Open it in an editor to adjust the parameters.

      [root@yourserver root]# su - service0
       [service0@yourserver service0]$ cd /var/lib/aolserver/service0/etc
       [service0@yourserver etc]# emacs config.tcl