- Install Ubuntu postgresql contrib und aolserver
sudo apt-get install postgresql-contrib-8.4 aolserver4
- Checkout sources for OpenACS
cvs -d :pserver:
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
:/cvsroot checkout -r oacs-5-6 acs-core
sudo mv openacs-4 /opt/oics
sudo usermod -a -G www-data {username}
sudo chown -R www-data.www-data /opt/oics
sudo chmod -R g+w /opt/oics
cd /opt/oics/packages
cvs -d :pserver:
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
:/cvsroot checkout -r oacs-5-6 acs-datetime acs-developer-support acs-events general-comments rss-support
cvs -d :pserver:
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
:/cvsroot checkout categories file-storage oacs-dav organizations
cvs -d :pserver:
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
:/cvsroot checkout -D 2009-02-18 xowiki xotcl-core
- Checkout packages from KM SCM repositories. Contact
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
for credentials to access KM's subversion repository.
svn checkout http://kmstage.wu-wien.ac.at/svn/new-lors/trunk new-lors
svn checkout http://kmstage.wu-wien.ac.at/svn/new-lors-res/trunk new-lors-res
svn checkout http://kmstage.wu-wien.ac.at/svn/icoper/trunk icoper
- Apply patches described in /opt/oics/packages/new-lors/www/.doc/README
cd /opt/oics/packages/
patch -d acs-tcl/tcl < new-lors/www/.doc/request-processor.patch
patch xotcl-core/tcl/generic-procs.tcl new-lors/www/.doc/on_submit.patch
patch xotcl-core/tcl/policy-procs.tcl new-lors/www/.doc/policy.patch
patch acs-authentication/tcl/authentication-procs.tcl new-lors/www/.doc/authentication-procs.patch
- Create database and install ltree module
sudo su - postgres
createdb -O www-data oics -T template1
createlang plpgsql oics
psql oics
oics=# \i /usr/share/postgresql/8.4/contrib/ltree.sql
oics=# ALTER DATABASE oics SET add_missing_from = on;
oics=# ALTER DATABASE oics SET default_with_oids = on;
oics=# ALTER DATABASE oics SET regex_flavor = extended;
oics=# \q
exit
- Copy oics.sh and oics.tcl to /etc/aolserver4/conf.d/
AOL_ADDRESS should be set to 0.0.0.0 in order to have Aolserver listen on all network interfaces.
sudo /etc.init.d/aolserver restart
- Call OpenACS base installation Web UI
http://{serverURI}/
- Restart
sudo /etc/init.d/aolserver4 start
- Install additional packages
http://{serverURI}/acs-admin/apm/packages-install
Check all packages for install
IMPORTANT on next screen: Uncheck all options "Mount package under the main site at path"
Click on "Click here" to restart the server now
sudo /etc/init.d/aolserver4 start
- Mount search package
Go to http://{serverURI}/admin/site-map/ and mount package "Search" with URL search
- Setup repositories
Go to http://{serverURI}/ds/shell and execute
::icoper::util::setupRepos
- Restart
Go to http://{serverURI}/acs-admin/server-restart
sudo /etc/init.d/aolserver4 start