AOLserver distribution for OpenACS 4


20030309
I have created Aolserver 3.3 (OACS1). I have upgraded all the packages (nscache,nspostgres,nssha1,nsxml) to the latest version available from cvs at aolserver.com.

This requires a few changes in the server's config .tcl as the database drivers are now name nspostgre and nsoracle instead of the old names of postgres and oracle-drv.

Currently only a source distribution is available:

January 28, 2002

To make a short story long, I've been looking to add some mime support for webmail to aolserver (mainly for OpenACS 4. I've also done some testing on OpenACS 4.

I got a bit frustrated having to download source for the AOLServer installation so I packaged this up a bit. Basically I grapped ArsDigita's AOLserver 3.3.1ad13 removed some of their stuff, modified things a bit for my use. This is very specific to the 'way I do things'. I'm open to changes. Just let me know. I have the following patches applied:

I've compiled on OpenBSD 2.8 and SuSE 7.3 with postgres. I ran into some client needs and have not been able to test more. Oracle was fine before, I don't think I broke it. I should be able to test more over the next few days unless somebody beats me to it.

Minor changes were needed for nsxml and the postgres driver, all Makefile related. You may still have to tweak things for your system.

Current Files: (note AOLserver 3.4.2 version only hae the *BSD, UID/GID, and NSXML changes)

To install binaries: (which currently only have postgres driver)

  • cd /usr/local
  • tar zxvf
  • cd /usr/local/aolserver

    Source files:

  • cd /usr/local/src
  • tar zxvf
  • cd /usr/local/src/aolserver

    You should see:

    shag:/home/shag/source/root:22$ ls
    BUILD-MODULES   conf*           conf-make       log/            nsxml/
    ChangeLog       conf-clean*     conf-oacs       nscache/        oracle-driver/
    MODULES         conf-db         dist/           nsrewrite/      pgdriver/
    aolserver/      conf-inst       files/          nssha1/
    

  • run ./conf-clean this should clean everything up for you.
  • Simular to the way DJB (qmail,tinydns, etc. author) I tend to keep files in conf-*.

    shag:/home/shag/source/root:23$ more conf-db
    postgresql
    

    this can be postgresql, oracle or 'both'

    shag:/home/shag/source/root:24$ more conf-inst
    /home/shag/aolserver
    ### Location to install
    

    shag:/home/shag/source/root:25$ more conf-make
    gmake
    ### name for gnu make on your system
    

    shag:/home/shag/source/root:26$ more conf-oacs
    /web/oacs
    ###
    Your OpenACS install directory (not used yet)
    

    To build OpenACS with Oracle and PostgreSQL drivers and install it on /usr/local/aolserver you would do the following:

  • echo "/usr/local/aolserver" > conf-inst
  • echo "both" > conf-db
  • echo "gmake" > conf-make
  • ./conf

    ./conf will start the build. You must have libxml, postgres, oracle, etc. already installed. Logs are in log/.

    What I would really like to do is create a standard source tree (or trees) to build the necessay software to install OpenACS. Once AOLserer is built to need requirements I think we should freeze this code and work on creating binaries, OS specific packages, and a source tree that can easily be installed. I can build just about any package format expect BSD ports (I've just never had too). I'd like to add an options conf-dist so that package maintainers can all pull from the same base.

    When OpenACS 4 is in beta, I'll add the steps to the config script to install the OpenACS code in /web/, create a /.tcl file and show the user the steps to create the database. After that they should be able to just create the database, start aolserver and start the install.

    Okay, I'm tired. Looking forward to everybody's comments and I really hope people find this useful.

    It basically works for me right now. If anybody as suggestion, comments, and/or flames send them to Mat Kovach (mkovach@alal.com)

    Thanks,


    uptime@solutiongrove.com