Installing OpenACS on FreeBSD (quick)
Created by Martin Matuska, last modified by Gustaf Neumann 25 Mar 2019, at 07:29 AM
This quick-and-dirty guide is intended for more experienced (or very impatient) users.
More detailed instructions can be found here.
1. Installation requirements
FreeBSD (7.x, or 6.x) with updated ports tree
and NOT yet installed ports databases/postgresql82-server, www/openacs or www/openacs-dotlrn
2. Installing OpenACS
Enter the following shell commands:
# cd /usr/ports/databases/postgresql82-server
# make install clean
# cd /usr/ports/databases/p5-postgresql-plperl
# make install clean
# echo 'postgresql_enable="YES"' >> /etc/rc.conf
# cd /usr/ports/www/openacs
# make install clean
# echo 'openacs_enable="YES"' >> /etc/rc.conf
# /usr/local/etc/rc.d/postgresql initdb
# /usr/local/share/doc/openacs/adjust_pgsql_conf.sh
# /usr/local/etc/rc.d/postgresql start
# /usr/local/share/doc/openacs/create_sampledb.sh
# /usr/local/etc/rc.d/openacs start
Now open in your browser http://localhost:8000 and fill in all necessary data, finalize installation. The OpenACS server goes down afterwards.
# /usr/local/etc/rc.d/openacs start
That's all! You local OpenACS installation is accessible under http://localhost:8000
3. Installing .LRN
Enter the following shell commands:
# cd /usr/ports/databases/postgresql82-server
# make install clean
# cd /usr/ports/databases/p5-postgresql-plperl
# make install clean
# echo 'postgresql_enable="YES"' >> /etc/rc.conf.local
# cd /usr/ports/www/openacs-dotlrn
# make install clean
# echo 'dotlrn_enable="YES"' >> /etc/rc.conf.local
# /usr/local/etc/rc.d/postgresql initdb
# /usr/local/share/doc/dotlrn/adjust_pgsql_conf.sh
# /usr/local/etc/rc.d/postgresql start
# /usr/local/share/doc/dotlrn/create_sampledb.sh
# /usr/local/etc/rc.d/dotlrn start
Now open in your browser http://localhost:8000 and fill in all necessary data, finalize installation. The .LRN server goes down afterwards.
# /usr/local/etc/rc.d/dotlrn start
That's all! You local .LRN installation is accessible under http://localhost:8000
A. Contact information and bug reporting
Please send bug reports and feature suggestions to the port maintainer of OpenACS/.LRN FreeBSD ports:
Martin Matuska <mm_at_FreeBSD_dot_org>