Home
The Toolkit for Online Communities
15889 Community Members, 0 members online, 1710 visitors today
Log In Register

OpenACS Packaging for Debian and Ubuntu

OpenACS Home : xowiki : OpenACS Packaging for Debian and Ubuntu
Search · Index
Previous Month May 2013
Sun Mon Tue Wed Thu Fri Sat
28 29 30 1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
(1) 19 20 21 22 23 24 25
26 27 28 29 30 31 1

Popular tags

ad_form , ADP , ajax , aolserver , asynchronous , bgdelivery , bugtracker , COMET , cvs , debian , emacs , FreeBSD , includelets , install , installation , installers , javascript , libthread , linux , monitoring , nginx , oracle , osx , patches , performance , postgres , pound , redhat , selenium , ssl

No registered users in community xowiki
in last 30 minutes

Contributors

OpenACS.org

OpenACS Packaging for Debian and Ubuntu

OpenACS Packaging for Debian and Ubuntu

Goal

Get all required software to run OpenACS into the next release of Ubuntu Server and Debian 

Dates

Prior Work 

As far as we know to this point, there are several bodies of work, including Dirk Gomez's, Jim Lynch's, and some others. While our goal is to combine, for now I'll just put a list and as we begin to work together, we'll combine how we decide to. 

List of Packages

The following table list the packages, and version, needed to install OpenACS 5.3/5.4 or .LRN 2.3/2.4

 Package Version in debian/etch  Version in debian/sid (unstable) Recommended Version 
aolserver4
 4.0.10-7 4.5.0-14 -- 
aolserver4-nspostgres
 4.0-3 4.0-4+b1  --
aolserver4-nssha1
 0.1-1 0.1-1.0.1  --
aolserver4-nsxml
1.5-1
1.5-1.0.1 NONE don't use nsxml
aolserver4-nsopenssl
3.0beta22-3
3.0beta22-3+b1 --
aolserver4-nscache
1.5-1
1.5-1.0.1 --
aolserver4-dev
4.0.10-7
4.5.0-14 --
tdom
0.7.8-5
N.A. 0.8.2 ??
htmldoc
1.8.27-2
1.8.27-2+b1 --
tcllib
1.8-1
1.10-dfsg-2 1.10
daemontools-installer
0.76-9.2
0.76-9.2 [contrib] --
postgresql-8.1
8.1.9
postgresql-8.1 (8.1.10-1) AND postgresql (8.2.5-4) I think Ubuntu has 8.2 now
postgresql-client-8.1
8.1.9

postgresql-client-8.1 (8.1.10-1) AND postgresql-client (8.2.5-4)
--
postgresql-contrib-8.1
8.1.9
postgresql-contrib-8.1 (8.1.10-1) AND postgresql-contrib (8.2.5-4) --
xotcl
1.6.0
1.6.1 1.6.1
tclthread
20030827-2 2.6.5 2.6.5

Verifying installability on Debian 4rc3 sid/unstable


Basic installation steps for oacs-5-4 based on Debian 4rc3 unstable/sid:
  1. Existing binary dependencies in Debian 4rc3 unstable/sid repository (Feb 26, 2008)

    ~$ aptitude install tcllib postgresql-8.2 aolserver4 aolserver4-nscache aolserver4-nssha1 aolserver4-nspostgres tclthread tcllib


  2. Missing binary dependencies in Debian 4rc3 unstable/sid repository (Feb 26, 2008: tdom 0.8.x, xotcl):

    a) tdom

    # build dependencies: tdom
    aptitude install tcl-dev aolserver4-dev

    # fetch tdom 0.8.3

    cd /tmp
    cvs -z3 -d:pserver:anonymous@cvs.tdom.org:/usr/local/pubcvs co tdom
    cd tdom/unix

    # build tdom 0.8.3
    ../configure --enable-threads --disable-tdomalloc --prefix=/usr/lib/aolserver4 --exec-prefix=/usr/lib/aolserver4 --with-aolserver=/usr/include/aolserver4 --with-tcl=/usr/lib
    make install
    b) xotcl (based on forthcoming Debian distribution )

    # fetch temporary i386 builds from http://media.wu-wien.ac.at/download/debian

    wget http://media.wu-wien.ac.at/download/debian/xotcl_1.6.0-1_i386.deb
    wget http://media.wu-wien.ac.at/download/debian/aolserver4-xotcl_1.6.0-1_i386.deb

    # package install
    dpkg -i xotcl_1.6.0-1_i386.deb
    dpkg -i aolserver4-xotcl_1.6.0-1_i386.deb
  3. OpenACS as such ...

useradd oacs-5-4
mkdir /home/oacs-5-4
chown -R oacs-5-4.www-data /home/oacs-5-4
usermod -g web oacs-5-4
usermod -d /home/oacs-5-4 oacs-5-4

cd /home/oacs-5-4

cvs -d :pserver:anonymous@cvs.openacs.org:/cvsroot co -r oacs-5-4
openacs-4
mv openacs4/* .

su - postgres
createuser -U postgres -s oacs-5-4
exit
su - oacs-5-4
createdb -E UNICODE -U oacs-5-4 oacs-5-4

4. Set PostgreSQL backward compatibility flags (in postgresql.conf)

5. Whatever remains to be done (aolserver instance, edit config.tcl, ...)

Findings/ Issues related to dependency ensemble

Resurrecting tDOM Debian Package

Access to Debian source package (via svn/svn-buildpackage)

Issues of legacy source package


Installing packages

 These are instructions for installing the alpha dotlrn and openacs packages on debian (and ubuntu).

  1. Build and install tdom packages (see above, on "Resurrecting tdom").
  2. Set up a postgresql 8.2 server, and allow access for postgresql administrator user and openacs/dotlrn user from the machine where you are installing dotlrn/openacs (no need to create the dotlrn/openacs user and database).
  3. Modify your /etc/apt/sources.list file:

    # debian sid
    deb http://debian.adenu.ia.uned.es/apt sid main

    # Ubuntu Hardy
    deb http://debian.adenu.ia.uned.es/apt hardy main

  4. Update the package list and install:
     

    # apt-get update

    - dotLRN
    # apt-get install dotlrn

    - OpenACS
    # apt-get install openacs

 After that, just follow the instructions on the install ant have fun!