I just added a new installer to filestorage on openacs.org. This BSD (FreeBSD)installer is an addition to the Windows and a Linux (debian) installers.
Using a port for FreeBSD makes installing openACS / .LRN on FreeBSD as easy as typing "make install". The download is currently only 33kb (tar.gz).
A prerequisite is that you have installed FreeBSD's ports system (which is likely). The ports system is a bunch of Makefiles (with supportfiles) that you will find at /usr/ports. I have been testing on a clean box.
How to install? Become root, cd to a workdirectory of your choice and type:
- fetch https://openacs.org/storage/view/miscellaneous/openacs-port.tar.gz
- tar xzf openacs-port.tar.gz
- cd ./openacs-port/openacs/ (or ./openacs-port/dotlrn/ if you want .LRN )
- make fetch-recursive
- make install
That should be it. "Make fetch-recursive" can even be omitted. However, it will prevent problems during port building at times that the network is unstable. Fetch-recursive will download all tarballs needed in /usr/ports/distfiles.
Versions and installdirs are in the port at ./openacs-port/openacs/files/BaseVersions. If you have modules already installed, you may want to point to the correct location there. Also change module versions there, but this may need more work.
This port has been tested with Postgresql on a clean FreeBSD system.
Installing oracle should be possible by setting WITH_ORACLE=[tab]YES in BaseVersions (untested), and following the FreeBSD-Oracle docs. Obviously you may probably need to patch config.tcl, .profile, nsd-postgres, daemontools/run, /usr/local/rc.d/, add Oracle ports, etcetera.
Patches (actually diff -u files) are applied from the files directory to the ./work/portname-portversion directory, which is created after extract. Filenames in the diff should be relative to this directory.
When installation encounters an error it will stop. Correct the error and type "make install" or "make fetch-recursive" again. It will skip everything that already had been done.
When installation has finished (in an hour or so?) it will report succes and register the OpenACS/.LRN package.
For newbies: Now, view the welcome page, see what packages are installed and find out your IP-adress:
- lynx http://0.0.0.0:8000
- pkg_info (or ls /var/db/pkg/)
- ifconfig
- lynx http://[IP]:8000
There is abundant documentation, like in this thread, but also:
FreeBSD is a great choice for newbies and gurus, IMO.
This port needs work though. For example "make deinstall" will throw errors. However, it just means that some files have not been deleted and you can do that manually afterwards (or fix it) if you want, but still. Hopefully there are some FreeBSD-Makefile/openACS developers out there, willing to enhance the port and possibly aid in adding it (in some form) to FreeBSD's Ports distribution for openACS/.LRN evangelism.