Forum OpenACS CMS: Can't install on Ubuntu Server - Non riesco ad installarlo.
So, please, can you write an update and working guide?
Many thanks in advance :)
Premetto che non sono esperto di linux ma qualcosa so fare. Ho seguito questa guida, che gia avevo idea non funzionasse... Voglio dire, non vi è nemmeno un comando per far partire AOLServer! http://openacs.org/xowiki/ubuntu
Vi prego, scrivete una guida aggiornata e funzionante! Grazie :)
The openacs+dotlrn packages for Debian seem to work currently only for Ubuntu 10.0 (and PostgreSQL 8.*). Later versions are known to have problems due to changes in the debian/ubuntu build-process and in supporting components (see e.g. http://openacs.org/forums/message-view?message_id=4075241 for a summary).
We work towards a new release to address these issues. In the meantime, you might try out: http://openacs.org/xowiki/naviserver-openacs (this also describes how to query/start/stop the server).
Out-of-the-box installation works properly, given, as stated by Gustaf, that postgresql version must be 8.x (8.4 in my situation). Database API browser however will fail in showing you the code of the procedures, and xotcl API browser won't work properly until you install graphviz, which is not in the dependencies.
In production environment, I found myself more confortable in moving all openacs tree to the traditional /var/lib/aolserver instead of /usr/share, like in Debian. This to avoid all the linkings in /etc and other folders Debian does to enforce its standards and also to allow different names and instances for the installation, which otherwise will default to only one instance (and db) called 'openacs'.
Once in production, I had to face some issue related to "advanced" features of openacs like ns_proxy, used to call exec without memory loss in the server, which was not installed and configured properly and which also had to be tweaked because of a well known problem of segmentation fault in the code, not yet solved in that version.
Also init.d startup scripts, which I prefer to use in Debian, had to be debugged to work.
All this said, OpenAcs is surely not the easiest piece of software to package, especially if you are the kind who wants to click once and play forever. More important, naviserver is not packaged yet, and some well known problems with aolserver are still unhandled in packaged versions. Was it easier to install OpenAcs like this? Probably yes, but for the best production experience you'd be better off bumping your head on manual or not distribution aware ways to install at least aolserver/naviserver and openacs. You would end up fiddling with them anyway, and with new 5.8 release out now you will get the freshest software.
I can report proper working of the script on Debian Jessie, installed from scratch with the minimal set of software, with only two minor issues: 'make' should be included in the software requirements for naviserver script, while sudo should in the openacs one (Debian by default doesn't install sudo).
Given how easy has been to have the system up and running I suggest Mattia to try this method, as it also gives you the latest possible version to play with.
Great job guys!
i have added "make" to the list of required packages in the installer script (on ubuntu/redhat, "make" seems to be included by the base packages, or gcc)
all the best