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 http://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.
- lynx http://0.0.0.0:8000
- pkg_info (or ls /var/db/pkg/)
- lynx http://[IP]:8000 There is abundant documentation, like in this thread, but also:
- OpenACS documentation
- FreeBSD installation guide
- Porters Handbook
- FreeBSD package system
- Default values in the port
- Makefile (general)
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:
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.