Home
The Toolkit for Online Communities
17119 Community Members, 0 members online, 2090 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : Install OpenACS on Debian with apt-get : One Message

Forum OpenACS Development: Re: Install OpenACS on Debian with apt-get

Collapse
Posted by Matthew Geddert on

Thanks a lot for this! I had a bear of a time compiling aolserver with the sarge version of debian-amd64 (the name of the distribution that works for amd64 processors as well as xeon's with 64 bit extensions). This made it trivial, which is very, very nice indeed.

People that care about security might want to add aolserver4-nsopenssl to their list of packages to install or run:

apt-get install aolserver4-nsopenssl

A note about the configuration that is different from the docs, since aolserver is installed in /usr/lib/aolserver4 you need to change:

  • "homedir" in etc/config.tcl to /usr/lib/aolserver4
  • when you move nsd-postgres you need to move it to /usr/lib/aolserver4/bin instead of /usr/local/aolserver/bin. You also need to change the last line of that file to:
    exec /usr/lib/aolserver4/bin/nsd $*
    
  • If you use daemontools to keep aolserver alive you need to change etc/daemontools/run to exec /usr/lib/aolserver4/bin/nsd-postgres instead of exec /usr/local/aolserver/bin/nsd-postgres

Lastly, nslog attempts to create a ${homedir}/log/nspid.service1 the apt-get install does not create this log directory. So in order to remove those errors you should:

mkdir /usr/lib/aolserver4/log
chown root:web /usr/lib/aolserver4/log
chmod 775 /usr/lib/aolserver4/log