0.00%
Search · Index

Weblog Page

Showing 211 - 220 of 230 Postings (summary)

Index Page

Created by Gustaf Neumann, last modified by Gustaf Neumann 09 Jan 2007, at 11:32 PM

No registered users in community test-doc
in last 7 days

This is the default start page of XoWiki. You can edit this page and save it to provide a personalized look of the XoWiki instance. You can as well provide a different index page through configuration. You can also view the contents of the Wiki in a weblog style. For more details, consult the XoWiki documentation.

A user can define notifications for the whole XoWiki instance (by clicking on the notifications button in the menu bar or for categories (by clicking on the letter symbol next to the category entries at the bottom of the page)


Recently Changed Pages
Last ModifiedTitle
2021-10-27 17:09:10Weblog
2020-05-02 12:58:52Creating Web Pages
2020-05-02 12:57:40How Do I?
2019-09-29 10:19:20Quick Install of OpenACS
2018-02-02 09:27:51Index
2017-10-20 05:29:29Categories
2017-10-11 08:45:59OpenACS Core Documentation
2017-08-12 10:46:15Request Processor Design
2017-08-05 10:42:44Upgrading 4.5 or higher to 4.6.3
2017-08-05 10:40:32Upgrading OpenACS 4.6.3 to 5.0
2017-06-05 08:21:32Laying out a page with CSS instead of tables
2017-06-04 10:42:04AOLserver keepalive with inittab
2017-06-04 10:38:33Manual backup and recovery
2017-06-01 08:46:53Administrator's Guide
2017-06-01 08:37:42Upgrading
2017-06-01 08:33:44OpenACS 4.6.2 Release Notes
2017-03-03 08:49:09Complex Install OpenACS 5.3
2017-03-03 08:42:07Basic String Operations
2017-01-06 10:09:37OpenACS Installation Guide for Windows2000
2016-12-17 10:29:14ACS File Naming and Formatting Standards
2016-12-05 08:09:27Install Oracle 8.1.7
2016-11-06 09:43:31here
2016-02-02 16:36:20How Internationalization/Localization works in OpenACS
2015-10-20 11:07:19this is a <> test
2015-10-20 11:06:39testing links


Last Visited
Title


Basic Steps

Created by Gustaf Neumann, last modified by Gustaf Neumann 06 Jan 2007, at 10:11 PM

The basic steps for installing OpenACS are:

  1. Install an OS and supporting software (see Install a Unix-like OS or AppendixA, Install Red Hat 8/9 for more details). See the Table2.2, “Version Compatibility Matrix”.

  2. Install a database (see the section called “Install Oracle 8.1.7” or Install PostgreSQL).

  3. Install AOLserver (Install AOLserver 4) .

  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.3rc1).

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 mostly for evaluation purposes. Installing OpenACS

You can see a list of current installers.

  1. The packaged version of PostgreSQL in Debian, Red Hat, and FreeBSD ports works fine.

  2. Once AOLserver and a database are installed, a bash script automates the OpenACS checkout and installation.

You will need a PC (or equivalent) with at least these minimum specifications:

  • 128MB RAM (much more if you want Oracle)

  • 1GB free space on your hard drive (much more if you want Oracle)

  • A Unix-like operating system with Tcl, tDOM, and a mail transport agent like sendmail or qmail. (see the section called “Prerequisite Software”)

All of the software mentioned is open-source and available without direct costs, except for Oracle. You can obtain a free copy of Oracle for development purposes. This is described in the Acquire Oracle section.

  • This is text you will see on screen, such as a Button or link in a radio button list or menu.

  • This is text that you will type.

  • This is text from a program or file which you may need to examine or edit:

    if {$database == "oracle"} {
              set db_password        "mysitepassword"
    }
  • This is text that you will see and type in a command shell, including text you may have to change. It is followed by a list of just the commands, which you can copy and paste. The command prompt varies by system; in the examples we use the form[$OPENACS_SERVICE_NAME aolserver]$, where $OPENACS_SERVICE_NAME is the current user and aolserver is the current directory. The root prompt is shown ending in # and all other prompts in $.

    [root root]# su - $OPENACS_SERVICE_NAME
    [$OPENACS_SERVICE_NAME aolserver]$ svc -d /service/$OPENACS_SERVICE_NAME
    
    [$OPENACS_SERVICE_NAME aolserver]$ dropdb $OPENACS_SERVICE_NAME
    
    DROP DATABASE
    [$OPENACS_SERVICE_NAME aolserver]$ createdb $OPENACS_SERVICE_NAME
    
    CREATE DATABASE
    su - $OPENACS_SERVICE_NAME
    svc -d /service/$OPENACS_SERVICE_NAME
    dropdb $OPENACS_SERVICE_NAME
    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
    

Table2.1.Default directories for a standard install

Fully qualified domain name of your serveryourserver.test
name of administrative access accountremadmin
OpenACS service $OPENACS_SERVICE_NAME (set to service0 in default install)
OpenACS service account$OPENACS_SERVICE_NAME
OpenACS database name$OPENACS_SERVICE_NAME
Root of OpenACS service file tree (SERVERROOT)/var/lib/aolserver/$OPENACS_SERVICE_NAME
Location of source code tarballs for new software/var/tmp
The OpenACS tarball contains some files which are useful while setting up other software. Those files are located at:/var/tmp/openacs-5.2.3rc1/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 marked like this. The other values we recommend you leave unchanged unless you have a reason to change them.

Note

Some of the paths and user accounts have been changed from those recommended in previous versions of this document to improve security and maintainability. See this thread for discussion.

We'll do our best to assure that following our instructions will get you to the promised land. If something goes wrong, don't panic. There are plenty of ways to get help. Here are some tips:

  • Keep track of the commands you are run and record their output. I like to do my installations in a shell inside of emacs (M-x shell) so that I can save the output if needed. An alternative would be to use the script command.

  • We'll point out where the error logs for the various pieces of software are. Output from those logs will help us help you. Don't worry if you feel overwhelmed by all the information in the error logs. Over time, you'll find that they make more and more sense. Soon, you'll actually look forward to errors so that you can run to the log and diagnose the problem.

  • Search the forums at openacs.org - you'll often find many people who have struggled through the same spot that you're in.

  • The bottom of each page has a link to OpenACS.org, where you can post comments and read other users comments about the contents of the page.

  • Ask questions at the irc channel on freenode.net (#openacs). They're knowledgeable and quite friendly if you can keep them on topic.

  • Post a question on the forums. Make sure you've done a search first. When you do post, be sure to include your setup information (OS, etc) as well as the exact commands that are failing with the accompanying error. If there's a SQL error in the TCL error or in the log, post that too.

  • If you find errors in this document or if you have ideas about making it better, please post them in our BugTracker.

OpenACS Installation Guide for Mac OS X

Created by Gustaf Neumann, last modified by Gustaf Neumann 06 Jan 2007, at 04:46 AM

Prerequisites.Install readline:

  1. Download readline from http://ftp.gnu.org/pub/gnu/readline/readline-4.3.tar.gz into /usr/local/src

  2. Extract readline in /usr/local/src, configure, compile, and install:

    su - root
    cd /usr/local/src
    tar xvfz readline-4.3.tar.gz
    readline-4.3
    ./configure
    make
    make install
  3. Proceed with the Unix-like system instructions. OS X is incompatible with Oracle 8, and Oracle 9i on OSX is not yet verified for OpenACS. So continue with Install PostgreSQL. Additional special steps for OS X are documented inline with the standard Unix-like instructions.

Additional resources for installing on OS X.

Credits

Created by , last modified by Gustaf Neumann 06 Jan 2007, at 04:38 AM

By Vinod Kurup

OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff.

Vinod Kurup put together the January 2002 version of this guide from many sources of information.

Joel Aufrecht updated the document starting in March 2003.

Acknowledgments for versions of the above documents go (in no particular order) to Bryan Quinn, Adam Farkas, Brian Stein, Doug Hoffman, Ravi Jasuja, Hiro Iwashima, Ryan Lee, Jonathan Goler, Audrey Mcloghlin, Doug Harris, Zvi Boshernitzan, Michael Yoon, Cesar Brea, Dennis Gregorovic, David Fullagar, Chris Spears, Kevin Tupper, Michael Duffy, Simon Carstensen, Dave Bauer, Tracy Adams, Greg Haverkamp, Philip Greenspun, Jin Choi, Sean Yamamoto, David Cohen, Chris Rasch, Richard Li, Jon Griffin, Roberto Mello, Gilbert Wong, Don Baccus, Ben Adida, Michael Cleverly, Janne Blonqvist, Jonathan Ellis, Janine Sisk, Jade Rubick, Chris Hardy, Jonathan Marsden, Vinod Kurup, Charles Hall, Tom Jackson and Karl Lehenbauer.

Several people have helped with this document, including Torben Brosten, Don Baccus, Roberto Mello, Talli Somekh, Dave Bauer, Jim Lynch, Jon Griffin, Daryl Biberdorf, Bjorn Thor Jonsson, Jade Rubick, Fred Yankowski, Dan Chak, Sebastiano Pilla, Reuven Lerner, Malte Sussdorff, Stan Kaufman and Pascal Scheffers.

All questions and comments regarding this guide should be posted on the OpenACS forums.

Development Reference

Created by , last modified by Gustaf Neumann 06 Jan 2007, at 04:38 AM

Install additional supporting software

Created by , last modified by Gustaf Neumann 06 Jan 2007, at 04:38 AM

By Joel Aufrecht

OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff.

This section assumes that the source tarballs for supporting software are in /tmp. It assumes that you begin each continuous block of commands as root, and you should end each block as root. It doesn't care which directory you start in. Text instructions always precede the commands they refer to.

Production Environments

Created by , last modified by Gustaf Neumann 06 Jan 2007, at 04:38 AM

Database Management

Created by , last modified by Gustaf Neumann 06 Jan 2007, at 04:38 AM

By Joel Aufrecht

OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff.

Complete Installation

Created by , last modified by Gustaf Neumann 06 Jan 2007, at 04:38 AM

For OpenACS Package Developers

Created by , last modified by Gustaf Neumann 06 Jan 2007, at 04:38 AM

Tutorials and reference material for creating new OpenACS packages.

Table of Contents

9. Development Tutorial
Creating an Application Package
Setting Up Database Objects
Creating Web Pages
Debugging and Automated Testing
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 Form Builder: building html forms dynamically
12. Engineering Standards
OpenACS Style Guide
CVS Guidelines
Release Version Numbering
Constraint naming standard
ACS File Naming and Formatting Standards
PL/SQL Standards
Variables
Automated Testing
13. Documentation Standards
OpenACS Documentation Guide
Using PSGML mode in Emacs
Using nXML mode in Emacs
Detailed Design Documentation Template
System/Application Requirements Template
14. Internationalization
Internationalization and Localization Overview
How Internationalization/Localization works in OpenACS
How to Internationalize a Package
Design Notes
Translator's Guide
D. Using CVS with an OpenACS Site

Next Page