Forum .LRN Q&A: Beginners Question on dotLRN

Collapse
Posted by Mohammad Al-Ghazali on
How do I install dotLRN after i've install OACS,currently,I've install OACS-5.2.2 on my server,but now I need to install dotLRN & dotFolio based on my thesis requirement. Can someone help me with this,or any documentation that I should follow?
Collapse
Posted by Al Guyer on
Hello Mohammad,

I too am new to DotLRN. I have successfully installed 3 DotLRN servers in the last month. Here are the steps I took. Unless the amazing folks coding DotLRN have released a newer version, you might try these steps also.

First, and fore most, as far as I can tell, this is the authoritative root of all things DotLRN:
https://openacs.org/projects/dotlrn/

As you can see, there is a link to download DotLRN. I believe the link, and tarball you still want to use is:
https://openacs.org/projects/dotlrn/download/download/dotlrn-2.1.3.tar.gz?revision_id=320323

Below is a short howto. It is basically a step by step to install DotLRN and the evaluation applet.

#--------------------------------------------------------------------------
# howto: install dotLRN Evaluation Applet in dotLRN 2.1.3 tarball
# Applet Info:
# VERSION NAME: 0.1d
# URL: https://openacs.org/repository/download/apm/dotlrn-evaluation-0.1d.apm
# OWNER: mailto:jopez@galileo.edu Jose Pablo Escobedo Del Cid
# RELEASE-DATE: 2004-05-19
# PROVIDES: dotlrn-evaluation version: 0.1d
# REQUIRES: dotlrn version: 1.0
# REQUIRES: evaluation-portlet version: 0.1d
#--------------------------------------------------------------------------
# NOTE: We assume local user accounts, postgres, and aolserver
# are installed correctly.
# We also assume the aolserver is bound to http://localhost
#
#--------------------------------------------------------------------------

# 1. Download the tarball 2.1.3:
# https://openacs.org/projects/dotlrn/download/download/dotlrn-2.1.3.tar.gz?revision_id=320323
#--------------------------------------------------------------------------
export INSTALL_DIR=/usr/src/dotlrn
export OACS_SRVC=oacs
cd ${INSTALL_DIR}
wget https://openacs.org/projects/dotlrn/download/download/dotlrn-2.1.3.tar.gz
tar xzf dotlrn-2.1.3.tar.gz

# 2. go to the packages dir and download the evaluation packages via CVS
#--------------------------------------------------------------------------
cd ${INSTALL_DIR}/dotlrn-2.1.3/packages
cvs -z3 -d :pserver:mailto:anonymous@cvs.openacs.org:/cvsroot co -r oacs-5-2 evaluation evaluation-portlet dotlrn-evaluation

# 3. go to the packages/acs-content-repository/tcl and apply this patch:
#--------------------------------------------------------------------------
cd ${INSTALL_DIR}/packages/acs-content-repository/tcl/
wget http://bach.gast.it.uc3m.es/~jopez/oacs/content-repository.patch
patch content-template-procs.tcl content-repository.patch

# 4. Copy DotLRN/OpenACS website to it's working/home directory
#----------------------------------------------------------
export WEBROOT=/var/www
cp -R ${INSTALL_DIR}/dotlrn-2.1.3 ${WEBROOT}
ln -s ${WEBROOT}/dotlrn-2.1.3 ${WEBROOT}/${OACS_SRVC}/
chown -R ${OACS_SRVC}:web ${WEBROOT}/dotlrn-2.1.3
chown -R ${OACS_SRVC}:web ${WEBROOT}/${OACS_SRVC}/

# 4. Start the service and install .LRN
#--------------------------------------------------------------------------
${WEBROOT}/${OACS_SRVC}/etc/daemontools/run

# 5. After dotLRN website reboots, go to the acs-admin/install page and install
# the evaluation applet (choose install from local and then the service type) be
# sure that you choose "dotLRN Evaluation Applet", and NOT "Evaluation Portlet"
# (you could select both, but choosing the first one automatically adds the 3
# evaluation packages)
#--------------------------------------------------------------------------------
http://localhost/acs-admin/install/install?package%5ftype=apm%5fservice&repository%5furl=&upgrade%5fp=0

http://cole/acs-admin/install/install?package%5ftype=apm%5fservice&repository%5furl=&upgrade%5fp=0

# 6. create a class (first the term, then the department, then the subject and
# finally the class)
#------------------------------------------------------------------------------

# a. term
#---------
http://localhost/dotlrn/admin/terms

# b. department
#---------------
http://localhost/dotlrn/admin/departments

# c. subject
#------------
http://localhost/dotlrn/admin/classes

# d. class
#----------

# 7. add the evaluation applet from the class's control panel
#-------------------------------------------------------------

# 8. voila! it should work
#----------------------------

Collapse
Posted by Mohammad Al-Ghazali on
I've successed in installing the dotLRN,but i'm using a different instance right now.

For example:
My old oacs is running through port:8000
My dotLRN is running through port:7000

How can i install dotLRN as part of my old OACS?
Collapse
Posted by Al Guyer on
Hi Mohammed, Congrats!

I am not sure exactly what you mean...? If I am not mistaken, dotLRN is a collection of applications, and services (webpages, portals, etc) that run in (on?) OpenACS which is also a collection of applications, and services. Not all versions of dotLRN run on all versions of OpenACS. If you used that link to the tarball, it has the correct version of OpenACS, with the correct version of DotLRN. It looks like there is a new, beta version of DotLRN that runs on the newer version of OpenACS, but I don't think you want to mix them. If I understand your question...

-al