Index: openacs-4/packages/acs-core-docs/www/acs-admin.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/acs-admin.html,v diff -u -N -r1.36.2.4 -r1.36.2.5 --- openacs-4/packages/acs-core-docs/www/acs-admin.html 15 Dec 2005 19:27:47 -0000 1.36.2.4 +++ openacs-4/packages/acs-core-docs/www/acs-admin.html 17 Jan 2006 03:44:38 -0000 1.36.2.5 @@ -1 +1 @@ -
Table of Contents
Table of Contents
Oracle
[root aolserver]#cd /usr/local/aolserver/bin
-[root bin]#cp /var/tmp/openacs-5.2.0/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle
+[root bin]#cp /var/tmp/openacs-5.2.2/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.2.0/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle +cp /var/tmp/openacs-5.2.2/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle chmod 750 nsd-oracle
PostgreSQL
[root aolserver]#cd /usr/local/aolserver/bin
-[root bin]#cp /var/tmp/openacs-5.2.0/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
+[root bin]#cp /var/tmp/openacs-5.2.2/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.2.0/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres +cp /var/tmp/openacs-5.2.2/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres chmod 755 nsd-postgres
Install tDOM.�Download the tDOM tarball, unpack it, adjust the configuration file to match our patched distribution of aolserver, and compile it.
[root root]#cd /usr/local/src
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 -N -r1.17.2.7 -r1.17.2.8 --- openacs-4/packages/acs-core-docs/www/aolserver4.html 16 Jan 2006 18:59:43 -0000 1.17.2.7 +++ openacs-4/packages/acs-core-docs/www/aolserver4.html 17 Jan 2006 03:44:38 -0000 1.17.2.8 @@ -1,4 +1,4 @@ -Install AOLserver 4 View comments on this page at openacs.org Index: openacs-4/packages/acs-core-docs/www/complete-install.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/complete-install.html,v diff -u -N -r1.16.2.4 -r1.16.2.5 --- openacs-4/packages/acs-core-docs/www/complete-install.html 15 Dec 2005 19:27:47 -0000 1.16.2.4 +++ openacs-4/packages/acs-core-docs/www/complete-install.html 17 Jan 2006 03:44:38 -0000 1.16.2.5 @@ -1 +1 @@ -Chapter�3.�Complete Installation View comments on this page at openacs.org +Chapter�3.�Complete Installation View comments on this page at openacs.org Index: openacs-4/packages/acs-core-docs/www/filename.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/filename.html,v diff -u -N -r1.40.2.7 -r1.40.2.8 --- openacs-4/packages/acs-core-docs/www/filename.html 16 Jan 2006 18:59:43 -0000 1.40.2.7 +++ openacs-4/packages/acs-core-docs/www/filename.html 17 Jan 2006 03:44:38 -0000 1.40.2.8 @@ -114,7 +114,7 @@ within the OpenACS, this section's details are likely to shift from UI specifics to template interface specifics.- Under OpenACS 5.2.0, parameters are set at two levels: at the global level by + Under OpenACS 5.2.2, parameters are set at two levels: at the global level by the OpenACS-admin, and at the subsite level by a sub-admin. In this section, list and discuss both levels of parameters.
Index: openacs-4/packages/acs-core-docs/www/index.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/index.html,v diff -u -N -r1.44.2.6 -r1.44.2.7 --- openacs-4/packages/acs-core-docs/www/index.html 9 Jan 2006 01:28:53 -0000 1.44.2.6 +++ openacs-4/packages/acs-core-docs/www/index.html 17 Jan 2006 03:44:38 -0000 1.44.2.7 @@ -1,3 +1,3 @@ -
OpenACS Core Documentation Table of Contents
- I. OpenACS For Everyone
- II. Administrator's Guide
- 2. Installation Overview
- 3. Complete Installation
- 4. Configuring a new OpenACS Site
- 5. Upgrading
- 6. Production Environments
- Starting and Stopping an OpenACS instance.
- AOLserver keepalive with inittab
- Running multiple services on one machine
- High Availability/High Performance Configurations
- Staged Deployment for Production Networks
- Installing SSL Support for an OpenACS service
- Set up Log Analysis Reports
- External uptime validation
- Diagnosing Performance Problems
- 7. Database Management
- 8. Backup and Recovery
- A. Install Red Hat 8/9
- B. Install additional supporting software
- Unpack the OpenACS tarball
- Initialize CVS (OPTIONAL)
- Add PSGML commands to emacs init file (OPTIONAL)
- Install Daemontools (OPTIONAL)
- Install qmail (OPTIONAL)
- Install Analog web file analyzer
- Install nspam
- Install Full Text Search using Tsearch2
- Install Full Text Search using OpenFTS (deprecated see tsearch2)
- Install nsopenssl
- Install tclwebtest.
- Install PHP for use in AOLserver
- Install Squirrelmail for use as a webmail system for OpenACS
- Install PAM Radius for use as external authentication
- Install LDAP for use as external authentication
- Install AOLserver 3.3oacs1
- C. Credits
- III. For OpenACS Package Developers
- 9. Development Tutorial
- 10. Advanced Topics
- Write the Requirements and Design Specs
- Add the new package to CVS
- OpenACS Edit This Page Templates
- Adding Comments
- Admin Pages
- Categories
- Profile your code
- Prepare the package for distribution.
- Distributing upgrades of your package
- Notifications
- Hierarchical data
- Using .vuh files for pretty urls
- Laying out a page with CSS instead of tables
- Sending HTML email from your application
- Basic Caching
- Scheduled Procedures
- Enabling WYSIWYG
- Adding in parameters for your package
- Writing upgrade scripts
- Connect to a second database
- Future Topics
- 11. Development Reference
- OpenACS Packages
- OpenACS Data Models and the Object System
- The Request Processor
- The OpenACS Database Access API
- Using Templates in OpenACS
- Groups, Context, Permissions
- Writing OpenACS Application Pages
- Parties in OpenACS
- OpenACS Permissions Tediously Explained
- Object Identity
- Programming with AOLserver
- Using HTML Forms
- 12. Engineering Standards
- 14. +
OpenACS Core Documentation Table of Contents
- I. OpenACS For Everyone
- II. Administrator's Guide
- 2. Installation Overview
- 3. Complete Installation
- 4. Configuring a new OpenACS Site
- 5. Upgrading
- 6. Production Environments
- Starting and Stopping an OpenACS instance.
- AOLserver keepalive with inittab
- Running multiple services on one machine
- High Availability/High Performance Configurations
- Staged Deployment for Production Networks
- Installing SSL Support for an OpenACS service
- Set up Log Analysis Reports
- External uptime validation
- Diagnosing Performance Problems
- 7. Database Management
- 8. Backup and Recovery
- A. Install Red Hat 8/9
- B. Install additional supporting software
- Unpack the OpenACS tarball
- Initialize CVS (OPTIONAL)
- Add PSGML commands to emacs init file (OPTIONAL)
- Install Daemontools (OPTIONAL)
- Install qmail (OPTIONAL)
- Install Analog web file analyzer
- Install nspam
- Install Full Text Search using Tsearch2
- Install Full Text Search using OpenFTS (deprecated see tsearch2)
- Install nsopenssl
- Install tclwebtest.
- Install PHP for use in AOLserver
- Install Squirrelmail for use as a webmail system for OpenACS
- Install PAM Radius for use as external authentication
- Install LDAP for use as external authentication
- Install AOLserver 3.3oacs1
- C. Credits
- III. For OpenACS Package Developers
- 9. Development Tutorial
- 10. Advanced Topics
- Write the Requirements and Design Specs
- Add the new package to CVS
- OpenACS Edit This Page Templates
- Adding Comments
- Admin Pages
- Categories
- Profile your code
- Prepare the package for distribution.
- Distributing upgrades of your package
- Notifications
- Hierarchical data
- Using .vuh files for pretty urls
- Laying out a page with CSS instead of tables
- Sending HTML email from your application
- Basic Caching
- Scheduled Procedures
- Enabling WYSIWYG
- Adding in parameters for your package
- Writing upgrade scripts
- Connect to a second database
- Future Topics
- 11. Development Reference
- OpenACS Packages
- OpenACS Data Models and the Object System
- The Request Processor
- The OpenACS Database Access API
- Using Templates in OpenACS
- Groups, Context, Permissions
- Writing OpenACS Application Pages
- Parties in OpenACS
- OpenACS Permissions Tediously Explained
- Object Identity
- Programming with AOLserver
- Using HTML Forms
- 12. Engineering Standards
- 14. CVS Guidelines
- 15. Documentation Standards
- 16. Internationalization
- D. Using CVS with an OpenACS Site
- IV. For OpenACS Platform Developers
- 17. Kernel Documentation
- Overview
- Object Model Requirements
- Object Model Design
- Permissions Requirements
- Permissions Design
- Groups Requirements
- Groups Design
- Subsites Requirements
- Subsites Design Document
- Package Manager Requirements
- Package Manager Design
- Database Access API
- OpenACS Internationalization Requirements
- Security Requirements
- Security Design
- Security Notes
- Request Processor Requirements
- Request Processor Design
- Documenting Tcl Files: Page Contracts and Libraries
- Bootstrapping OpenACS
- External Authentication Requirements
- 18. Releasing OpenACS
- Index
List of Figures
- 4.1. Site Templates
- 4.2. Granting Permissions
- 4.3. Granting Permissions in 5.0
- 5.1. Upgrading with the APM
- 5.2. Upgrading a local CVS repository
- 6.1. Multiple-server configuration
- 6.2. Simple A/B Deployment - Step 1
- 6.3. Simple A/B Deployment - Step 2
- 6.4. Simple A/B Deployment - Step 3
- 6.5. Complex A/B Deployment - Step 1
- 6.6. Complex A/B Deployment - Step 2
- 6.7. Complex A/B Deployment - Step 3
- 6.8. Query Analysis example
- 8.1. Backup and Recovery Strategy
- 9.1. Assumptions in this section
- 9.2. Tutorial Data Model
- 9.3. The Database Creation Script
- 9.4. Database Deletion Script
- 9.5. Page Map
- 10.1. Upgrading a local CVS repository
- 11.1. Server file layout diagram
- 11.2. Package file layout diagram
List of Tables
List of Examples
View comments on this page at openacs.org Index: openacs-4/packages/acs-core-docs/www/individual-programs.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/individual-programs.html,v diff -u -N -r1.24.2.7 -r1.24.2.8 --- openacs-4/packages/acs-core-docs/www/individual-programs.html 16 Jan 2006 18:59:43 -0000 1.24.2.7 +++ openacs-4/packages/acs-core-docs/www/individual-programs.html 17 Jan 2006 03:44:38 -0000 1.24.2.8 @@ -9,7 +9,7 @@Table�2.2.�Version Compatibility Matrix
OpenACS Version 3.2.5 4.5 4.6 4.6.1 4.6.2 4.6.3 5.0 5.1 5.2 AOLserver 3 Yes No 3.3+ad13 Maybe Yes No 3.3oacs1 Maybe Yes No 3.4.2 No 3.4.2oacs1 Maybe Yes No 3.5.5 Maybe Yes No 4.0 Maybe Yes PostgreSQL 7.0 Yes No 7.2 Maybe Yes No 7.3.2 - 7.3.x No Yes 7.4 No Yes 8.0 No Maybe Yes Oracle 8.1.6 Maybe Yes 8.1.7 Maybe Yes 9i No Yes 10g � No Maybe The OpenACS installation instructions assume the operating system and build environment are installed. The instructions explain installation of TCL, tDOM, tclwebtest, a Web Server, a Database, a Process Controller, and Source Control software. The following external links are for reference only. -
OpenACS 5.2.0.�The OpenACS tarball comprises the core packages and +
OpenACS 5.2.2.�The OpenACS tarball comprises the core packages and many useful additional packages. This includes a full set of documentation. The tarball works with both PostgreSQL and Oracle. Some scripts require bash shell.
Operating System.�OpenACS is designed for a Unix-like system. It is @@ -41,7 +41,7 @@ distributions may not be thread safe.
TCL 8.4.x development headers and libraries, OPTIONAL.� The site-wide-search service, OpenFTS, requires these to compile. (Debian users:
apt-get install tcl8.4-dev
). You need this - to install OpenFTS.tDOM, REQUIRED.�OpenACS 5.2.0 stores + to install OpenFTS.
tDOM, REQUIRED.�OpenACS 5.2.2 stores queries in XML files, so we use an AOLserver module called tDOM to parse these files. (This replaces libxml2, which was used prior to 4.6.4.)
tclwebtest, OPTIONAL.�tclwebtest is a tool for testing web interfaces via tcl scripts.
Web Server.�The web server handles incoming HTTP requests, provides @@ -50,7 +50,7 @@ errors. OpenACS uses AOLserver; some people have had success running Apache with mod_nsd.
AOLserver 4.x, REQUIRED.�Provides the base HTTP server
Mat Kovach is graciously maintaining an AOLserver distribution that - includes all the patches and modules needed to run OpenACS 5.2.0. These + includes all the patches and modules needed to run OpenACS 5.2.2. These instructions will describe how to install using his source distribution. He also has binaries for SuSE 7.3 and OpenBSD 2.8 (and perhaps more to come), currently located at uptime.openacs.org. Index: openacs-4/packages/acs-core-docs/www/install-daemontools.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-daemontools.html,v diff -u -N -r1.32.2.6 -r1.32.2.7 --- openacs-4/packages/acs-core-docs/www/install-daemontools.html 9 Jan 2006 01:28:53 -0000 1.32.2.6 +++ openacs-4/packages/acs-core-docs/www/install-daemontools.html 17 Jan 2006 03:44:38 -0000 1.32.2.7 @@ -79,7 +79,7 @@ root 13294 0.0 0.1 1352 272 ? S 09:51 0:00 svscan /service root 13295 0.0 0.0 1304 208 ? S 09:51 0:00 readproctitle service errors: ....................................... [root root]#
Install a script to grant non-root users permission to - control daemontools services.
[root root]#cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup
+ control daemontools services.[root root]#cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup
[root root]#chmod 755 /usr/local/bin/svgroup
-cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup +cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup chmod 755 /usr/local/bin/svgroupView comments on this page at openacs.org Index: openacs-4/packages/acs-core-docs/www/install-next-add-server.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-next-add-server.html,v diff -u -N -r1.8.2.4 -r1.8.2.5 --- openacs-4/packages/acs-core-docs/www/install-next-add-server.html 15 Dec 2005 19:27:48 -0000 1.8.2.4 +++ openacs-4/packages/acs-core-docs/www/install-next-add-server.html 17 Jan 2006 03:44:38 -0000 1.8.2.5 @@ -1,5 +1,5 @@Running multiple services on one machine Services on different ports.�To run a different service on another port but the same - ip, simply repeat Install OpenACS 5.2.0 replacing + ip, simply repeat Install OpenACS 5.2.2 replacing $OPENACS_SERVICE_NAME, and change the
set httpport 8000 set httpsport 8443Index: openacs-4/packages/acs-core-docs/www/install-qmail.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-qmail.html,v diff -u -N -r1.32.2.6 -r1.32.2.7 --- openacs-4/packages/acs-core-docs/www/install-qmail.html 9 Jan 2006 01:28:53 -0000 1.32.2.6 +++ openacs-4/packages/acs-core-docs/www/install-qmail.html 17 Jan 2006 03:44:38 -0000 1.32.2.7 @@ -40,9 +40,9 @@ Unless this mail is addressed to the same machine, qmail thinks that it's an attempt to relay mail, and rejects it. So these two commands set up an exception so that any mail sent from 127.0.0.1 is allowed to -send outgoing mail.
[root ucspi-tcp-0.88]#cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/tcp.smtp.txt /etc/tcp.smtp
+send outgoing mail.[root ucspi-tcp-0.88]#cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/tcp.smtp.txt /etc/tcp.smtp
[root ucspi-tcp-0.88]#tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp
-cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/tcp.smtp.txt /etc/tcp.smtp +cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/tcp.smtp.txt /etc/tcp.smtp tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtpDownload qmail, set up the standard supporting users and build the binaries:
[root root]#cd /usr/local/src
[root src]#wget http://www.qmail.org/netqmail-1.04.tar.gz
@@ -126,11 +126,11 @@ /var/qmail/bin/maildirmake ~alias/Maildir/ chown -R alias.nofiles /var/qmail/alias/MaildirConfigure qmail to use the Maildir delivery format (instead of mbox), and install a version of the qmail startup script modified to use Maildir.
[root alias]#echo "./Maildir" > /var/qmail/bin/.qmail
-[root alias]#cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmail.rc.txt /var/qmail/rc
+[root alias]#cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmail.rc.txt /var/qmail/rc
[root alias]#chmod 755 /var/qmail/rc
[root alias]# echo "./Maildir" > /var/qmail/bin/.qmail -cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmail.rc.txt /var/qmail/rc +cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmail.rc.txt /var/qmail/rc chmod 755 /var/qmail/rcSet up the skeleton directory so that new users will be configured for qmail.
[root root]#/var/qmail/bin/maildirmake /etc/skel/Maildir
@@ -142,13 +142,13 @@ [root root]#mkdir -p /var/qmail/supervise/qmail-smtpd/log
[root root]#mkdir /var/log/qmail
[root root]#chown qmaill /var/log/qmail
-[root root]#cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmailctl.txt /var/qmail/bin/qmailctl
+[root root]#cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmailctl.txt /var/qmail/bin/qmailctl
[root root]#chmod 755 /var/qmail/bin/qmailctl
[root root]#ln -s /var/qmail/bin/qmailctl /usr/bin
-[root root]#cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmail-send-run.txt /var/qmail/supervise/qmail-send/run
-[root root]#cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmail-send-log-run.txt /var/qmail/supervise/qmail-send/log/run
-[root root]#cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmail-smtpd-run.txt /var/qmail/supervise/qmail-smtpd/run
-[root root]#cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmail-smtpd-log-run.txt /var/qmail/supervise/qmail-smtpd/log/run
+[root root]#cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmail-send-run.txt /var/qmail/supervise/qmail-send/run
+[root root]#cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmail-send-log-run.txt /var/qmail/supervise/qmail-send/log/run
+[root root]#cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmail-smtpd-run.txt /var/qmail/supervise/qmail-smtpd/run
+[root root]#cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmail-smtpd-log-run.txt /var/qmail/supervise/qmail-smtpd/log/run
[root root]#chmod 755 /var/qmail/supervise/qmail-send/run
[root root]#chmod 755 /var/qmail/supervise/qmail-send/log/run
[root root]#chmod 755 /var/qmail/supervise/qmail-smtpd/run
@@ -159,13 +159,13 @@ mkdir -p /var/qmail/supervise/qmail-smtpd/log mkdir /var/log/qmail chown qmaill /var/log/qmail -cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmailctl.txt /var/qmail/bin/qmailctl +cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmailctl.txt /var/qmail/bin/qmailctl chmod 755 /var/qmail/bin/qmailctl ln -s /var/qmail/bin/qmailctl /usr/bin -cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmail-send-run.txt /var/qmail/supervise/qmail-send/run -cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmail-send-log-run.txt /var/qmail/supervise/qmail-send/log/run -cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmail-smtpd-run.txt /var/qmail/supervise/qmail-smtpd/run -cp /tmp/openacs-5.2.0/packages/acs-core-docs/www/files/qmail-smtpd-log-run.txt /var/qmail/supervise/qmail-smtpd/log/run +cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmail-send-run.txt /var/qmail/supervise/qmail-send/run +cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmail-send-log-run.txt /var/qmail/supervise/qmail-send/log/run +cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmail-smtpd-run.txt /var/qmail/supervise/qmail-smtpd/run +cp /tmp/openacs-5.2.2/packages/acs-core-docs/www/files/qmail-smtpd-log-run.txt /var/qmail/supervise/qmail-smtpd/log/run chmod 755 /var/qmail/supervise/qmail-send/run chmod 755 /var/qmail/supervise/qmail-send/log/run chmod 755 /var/qmail/supervise/qmail-smtpd/run Index: openacs-4/packages/acs-core-docs/www/install-steps.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-steps.html,v diff -u -N -r1.26.2.7 -r1.26.2.8 --- openacs-4/packages/acs-core-docs/www/install-steps.html 16 Jan 2006 18:59:43 -0000 1.26.2.7 +++ openacs-4/packages/acs-core-docs/www/install-steps.html 17 Jan 2006 03:44:38 -0000 1.26.2.8 @@ -4,7 +4,7 @@ Install PostgreSQL).Install AOLserver (Install AOLserver 4) .
Create a unique database and system user. Install the OpenACS tarball, start and AOLserver instance, and use the OpenACS web pages to complete installation - (see Install OpenACS 5.2.0).
Specific instructions are available for Mac OS X and + (see Install OpenACS 5.2.2).
Specific instructions are available for Mac OS X and Windows2000 (see the section called “OpenACS Installation Guide for Mac OS X” or the section called “OpenACS Installation Guide for Windows2000”).
You can try out OpenACS using some binary installers. In general, they are not yet supported by the community, so they are @@ -43,7 +43,7 @@ createdb $OPENACS_SERVICE_NAME
Setting a global shell variable for cut and paste.�In order to cut and paste the instructions into your shell, you must set the environment variable $OPENACS_SERVICE_NAME. In order to set it globally so that it works for any new users or special service users you may create, edit the file
/etc/profile
(/etc/share/skel/dot.profile
for FreeBSD) and add this line:export OPENACS_SERVICE_NAME=service0
Table�2.1.�Default directories for a standard install
+ files are located at:
/var/tmp/openacs-5.2.2/packages/acs-core-docs/www/files Database backup directory /var/lib/aolserver/$OPENACS_SERVICE_NAME/database-backup Service config files /var/lib/aolserver/$OPENACS_SERVICE_NAME/etc Service log files /var/lib/aolserver/$OPENACS_SERVICE_NAME/log Compile directory /usr/local/src PostgreSQL directory /usr/local/pgsql AOLserver directory /usr/local/aolserver None of these locations are set in stone - they're simply the values that we've chosen. The values that you'll probably want to change, such as service name, are Index: openacs-4/packages/acs-core-docs/www/object-identity.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/object-identity.html,v diff -u -N -r1.40.2.7 -r1.40.2.8 --- openacs-4/packages/acs-core-docs/www/object-identity.html 16 Jan 2006 18:59:43 -0000 1.40.2.7 +++ openacs-4/packages/acs-core-docs/www/object-identity.html 17 Jan 2006 03:44:39 -0000 1.40.2.8 @@ -1,18 +1,18 @@
Object Identity One of the major design features of OpenACS 5.2.2 is the explicit representation of object identity. The reason I say "explicit representation" is because the concept of object identity has been around forever. It is inherent to our problem domain. Consider the example of 3.x style scoping. The 3.x data models use the triple (user_id, group_id, -scope) to identify an object. In the 5.2.0 data model this +scope) to identify an object. In the 5.2.2 data model this object is explicitly represented by a single party_id.
Another good example of this is can be found in the user groups data model. The 3.x user groups data model contains another example of an implied identity. Every mapping between a user and a group could have an arbitrary number of attached values (user_group_member_fields, etc.). In this case it is the pair (group_id, user_id) that implicitly refers to an -object (the person's membership in a group). In the 5.2.0 data model this +object (the person's membership in a group). In the 5.2.2 data model this object identity is made explicit by adding an integer primary key to the table that maps users to groups.
Coming from a purely relational world, this might seem slightly weird at first. The pair (group_id, user_id) is sufficient to uniquely identify the Index: openacs-4/packages/acs-core-docs/www/objects.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/objects.html,v diff -u -N -r1.43.2.7 -r1.43.2.8 --- openacs-4/packages/acs-core-docs/www/objects.html 16 Jan 2006 18:59:43 -0000 1.43.2.7 +++ openacs-4/packages/acs-core-docs/www/objects.html 17 Jan 2006 03:44:39 -0000 1.43.2.8 @@ -2,7 +2,7 @@ OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff.
-Developing data models in OpenACS 5.2.0 is much like developing data models +Developing data models in OpenACS 5.2.2 is much like developing data models for OpenACS 3, save for the implementation. As usual, you need to examine how to model the information that the application must store and manipulate, and define a suitable set of SQL tables. In our Notes @@ -314,7 +314,7 @@ models that are meant to be integrated with the OpenACS object system.
-There are two basic rules you should follow when designing OpenACS 5.2.0 data +There are two basic rules you should follow when designing OpenACS 5.2.2 data models: @@ -369,7 +369,7 @@ requires a good amount of thought at design time even for simple applications.
-Hooking into the OpenACS 5.2.0 object system brings the application developer +Hooking into the OpenACS 5.2.2 object system brings the application developer numerous benefits, and doing it involves only four easy steps: Index: openacs-4/packages/acs-core-docs/www/openacs-unpack.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/openacs-unpack.html,v diff -u -N -r1.20.2.4 -r1.20.2.5 --- openacs-4/packages/acs-core-docs/www/openacs-unpack.html 15 Dec 2005 19:27:48 -0000 1.20.2.4 +++ openacs-4/packages/acs-core-docs/www/openacs-unpack.html 17 Jan 2006 03:44:39 -0000 1.20.2.5 @@ -1,17 +1,17 @@
Unpack the OpenACS tarball The OpenACS tarball contains sample configuration files for some of the packages listed below. In order to access those files, unpack the tarball now.
[root root]#cd /tmp
-[root tmp]#tar xzf openacs-5.2.0.tgz
+[root tmp]#tar xzf openacs-5.2.2.tgz
cd /tmp -tar xzf openacs-5.2.0.tgzIf you are installing from a different method and just need the configuration files, you can instead get them from CVS:
[root root]#cd /tmp
+tar xzf openacs-5.2.2.tgzIf you are installing from a different method and just need the configuration files, you can instead get them from CVS:
[root root]#cd /tmp
[root tmp]#cvs -d :pserver:anonymous@cvs.openacs.org:/cvsroot co openacs-4/packages/acs-core-docs/www/files/
cvs checkout: warning: failed to open /root/.cvspass for reading: No such file or directory cvs server: Updating openacs-4/packages/acs-core-docs/www/files U openacs-4/packages/acs-core-docs/www/files/README.TXT (many lines omitted) U openacs-4/packages/acs-core-docs/www/files/template-ini.ini U openacs-4/packages/acs-core-docs/www/files/winnsd.txt -[root tmp]#mv openacs-4 openacs-5.2.0
+[root tmp]#mv openacs-4 openacs-5.2.2
cd /tmp cvs -d :pserver:anonymous@cvs.openacs.org:/cvsroot co openacs-4/packages/acs-core-docs/www/files/ mv openacs-4 openacs-5.0.0a4View comments on this page at openacs.org 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 -N -r1.42.2.7 -r1.42.2.8 --- openacs-4/packages/acs-core-docs/www/openacs.html 16 Jan 2006 18:59:43 -0000 1.42.2.7 +++ openacs-4/packages/acs-core-docs/www/openacs.html 17 Jan 2006 03:44:39 -0000 1.42.2.8 @@ -1,4 +1,4 @@ -Install OpenACS 5.2.0 View comments on this page at openacs.org + desired packages in a second pass.On the next screen, click
When prompted, restart the server:
[root root]#restart-aolserver $OPENACS_SERVICE_NAME
Wait a minute, then browse to the package manager,
http://yourserver/acs-admin/apm
.Check that the kernel upgrade worked by clicking
All
and making sure thatacs-kernel
version is 5.2.2.
Rollback.�If anything goes wrong, roll back to the backup snapshot.