Next Steps After Installation, Debian Specific
Next-Steps
After following:
Debian Installation Instructions
Documentation
nano /usr/share/doc/openacs|dotlrn/README.daemontools on openacs package.
apt-get install daemontools daemontools-run
# OpenACS nano /etc/default/openacs
... or ...
# .LRN nano /etc/default/dotlrn
# OpenACS /etc/init.d/openacs stop
... or ...
# .LRN
/etc/init.d/dotlrn stop
# OpenACS ln -s /usr/share/openacs/etc/daemontools /etc/service/openacs
... or ...
# .LRN
ln -s /usr/share/dotlrn/etc/daemontools /etc/service/dotlrn
Now you can control the dotlrn service using the svc command:
* To start the service: svc -u /etc/service//openacs or dotlrn
* To stop the service: svc -d /etc/service//openacs or dotlrn
* To restart the service: svc -t /etc/service/openacs or dotlrn
apt-get remove --purge openacs or dotlrn
apt-get install openacs or dotlrn
Edit the config.tcl file:
nano /etc/openacs|dotlrn/config.tcl
Change the following parameters to fit your needs:
set hostname Your hostname
set address to Your public IP
and found that I had to figure out how to:
su - $OPENACS_SERVICE_NAME pg_dump -f /var/lib/aolserver/$OPENACS_SERVICE_NAME/database-backup/before_upgrade_to_4.6.dmp openacs-dev ls -al /var/lib/aolserver/$OPENACS_SERVICE_NAME/database-backup/before_upgrade_to_4.6.dmp exit
The $OPENACS_SERVICE_NAME
which I thought would be "dotlrn"
turned out to be "www-data"
Next I found there was no /var/lib/aolserver but there are /var/lib/dotlrn and /var/lib/postgresql
The default paths show the locations that were decided upon (in early 2004) so below we will try to document were things are in a standard dotlrn installation, now.
a work in progress | |
OpenACS service | dotlrn |
OpenACS service account | www-data |
OpenACS database name | dotlrn |
SERVERROOT | /usr/share/dotlrn/www |
Database backup directory | /var/backups/ |
Service config files | /usr/share/dotlrn/etc/config.tcl |
Service log files | /usr/share/dotlrn/log/ |
PostgreSQL directory | /usr/lib/postgresql/8.3/main |
AOLserver directory | /usr/lib/aolserver4 |
Backup Script | /usr/share/dotlrn/etc/backup.sh |
F. Installing Packages (to be filled in)
1. From .LRN CVSa) Create a local repository
b) Download to your local repository
nano /var/log/aolserver4/dotlrn/error.log
- Installation
- configuration