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.14 -r1.15 --- openacs-4/packages/acs-core-docs/www/openacs.html 28 Oct 2003 22:18:46 -0000 1.14 +++ openacs-4/packages/acs-core-docs/www/openacs.html 31 Oct 2003 10:54:20 -0000 1.15 @@ -1,4 +1,4 @@ -Install OpenACS 5.0.0a1

Install OpenACS 5.0.0a1

+Install OpenACS 5.0.0a4

Install OpenACS 5.0.0a4

by Vinod Kurup
OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff. @@ -29,7 +29,7 @@ of your site is one word, that would be a good choice. For example "service0" might be the service name for the service0.net - community.

For the 5.0.0a1-P and 5.0.0a1-O Reference Platform, + community.

For the 5.0.0a4-P and 5.0.0a4-O Reference Platform, we'll use a server named service0 and a user named service0. We'll leave the password blank for increased security. The only way to log in will be @@ -70,8 +70,8 @@ [root@yourserver root]#

  • Unpack the OpenACS tarball and rename it to service0. Secure the directory so that only the owner can access it. Check the permissions by listing the directory.

    [root@yourserver root]# su - service0
     [service0@yourserver service0]$ cd /var/lib/aolserver
    -[service0@yourserver aolserver]$ tar xzf /tmp/openacs-5.0.0a1.tgz
    -[service0@yourserver aolserver]$ mv openacs-5.0.0a1 service0
    +[service0@yourserver aolserver]$ tar xzf /tmp/openacs-5.0.0a4.tgz
    +[service0@yourserver aolserver]$ mv openacs-5.0.0a4 service0
     [service0@yourserver aolserver]$ chmod -R 700 service0
     [service0@yourserver aolserver]$ ls -al
     total 3
    @@ -84,8 +84,8 @@
     [root@yourserver root]#
     
    su - service0
     cd /var/lib/aolserver
    -tar xzf /tmp/openacs-5.0.0a1.tgz
    -mv openacs-5.0.0a1 service0
    +tar xzf /tmp/openacs-5.0.0a4.tgz
    +mv openacs-5.0.0a4 service0
     chmod -R 700 service0/
     exit
  • Add the Service to CVS (OPTIONAL)

  • (This step should be obsoleted by the 5.0.0 tarball, as these directories will be included in the tarball)Set up several additional directories in the service root: @@ -244,7 +244,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. @@ -254,7 +254,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
       

      @@ -319,7 +319,7 @@

    2. Automate AOLserver keepalive (OPTIONAL)

    Configure a Service with the OpenACS Installer

    Now that you've got AOLserver up and running, let's install OpenACS - 5.0.0a1. + 5.0.0a4.

    • You should see a page from the webserver titled OpenACS Installation: @@ -375,11 +375,11 @@ Give the server a few minutes to start up. Then reload the final page above. You should see the front page, with an area to login near the upper right. Congratulations, OpenACS - 5.0.0a1 is now up and running! + 5.0.0a4 is now up and running!

    • Install Full Text Search (OPTIONAL). If you have installed OpenFTS and enabled OpenFTS, you can now install the OpenFTS Driver package and - Full Text Search Engine package in the OpenACS service.

    Next Steps

    • This is a good time to make a backup of your service. If this is a + Full Text Search Engine package in the OpenACS service.

    Next Steps

    ($Id$)
    View comments on this page at openacs.org
    + packages. (more information)

  • Proceed to the tutorial to learn how to develop your own packages.

  • Test your backup and recovery procedure.

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