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.9 -r1.10 --- openacs-4/packages/acs-core-docs/www/openacs.html 28 Jun 2003 05:07:02 -0000 1.9 +++ openacs-4/packages/acs-core-docs/www/openacs.html 20 Aug 2003 16:20:16 -0000 1.10 @@ -1,5 +1,5 @@ -Install OpenACS 4.7.0d

Install OpenACS 4.7.0d

+Install OpenACS 5.0.0d

Install OpenACS 5.0.0d

by Vinod Kurup
OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff. @@ -31,7 +31,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 4.7.0d-P and 4.7.0d-O Reference Platform, + community.

For the 5.0.0d-P and 5.0.0d-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 @@ -72,8 +72,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 /web
    -[service0@yourserver web]$ tar xzf /tmp/openacs-4.7.0d.tgz
    -[service0@yourserver web]$ mv openacs-4.7.0d service0
    +[service0@yourserver web]$ tar xzf /tmp/openacs-5.0.0d.tgz
    +[service0@yourserver web]$ mv openacs-5.0.0d service0
     [service0@yourserver web]$ chmod -R 700 service0
     [service0@yourserver web]$ ls -al
     total 3
    @@ -86,8 +86,8 @@
     [root@yourserver root]#
     
    su - service0
     cd /web
    -tar xzf /tmp/openacs-4.7.0d.tgz
    -mv openacs-4.7.0d service0
    +tar xzf /tmp/openacs-5.0.0d.tgz
    +mv openacs-5.0.0d 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: @@ -242,11 +242,11 @@ logout [root@yourserver root]#

  • Create a database with the same name as our service name, service0.

    [root@yourserver root]# su - service0
    -[service0@yourserver service0]$ createdb service0
    +[service0@yourserver service0]$ createdb -E UNICODE service0
     CREATE DATABASE
     [service0@yourserver service0]$
     
    su - service0
    -createdb 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. @@ -256,7 +256,7 @@ need to configure a virtual server. The Reference Platform uses a configuration file included in the OpenACS tarball, /web/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 /web/service0/etc
       [service0@yourserver etc]# emacs config.tcl
       

      @@ -321,7 +321,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 - 4.7.0d. + 5.0.0d.

    • You should see a page from the webserver titled OpenACS Installation: @@ -377,10 +377,10 @@ 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 - 4.7.0d is now up and running! + 5.0.0d 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

    • This is a good time to make a backup of your service. If this is a production site, you should set up automatic nightly backups.

    • If you want traffic reports, set up analog or another log processing program.

    • Follow the instruction on the home page to change the appearance of your service or add more