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

Collapse
Posted by Ryan Gallimore on
This worked for me on Debian Sarge stable only.
I followed your instructions for apt-get install aolserver4 but need more details on how to configure aolserver. The path is different from the current docs.

it installed at: /usr/lib/aolserver4
there was not log or /server/server1 folders so i created them and did chown and chmod on them
-------------------------
i edited the /usr/lib/aolserver4/bin/nsd-postgres to reflect the change from /usr/local/aolserver4 as follows:
#!/bin/bash

export PATH=$PATH:/usr/local/pgsql/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib:/usr/lib/aolserver4/lib

exec /usr/lib/aolserver4/bin/nsd $*
---------------------
I did the following:
cd /usr/lib/aolserver4/bin
cp /var/lib/aolserver/service1/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres
chmod 755 nsd-postgres
______________________________
I'm using the dotlrn-2.1.3.tar.gz instead of the openacs-5.1.5.tar.gz I wonder if there are some differences in the service1/packages/acs-core-docs/www/files/nsd-postgres.tx files?
--------------------------------
i did: exec /usr/lib/aolserver4/bin/nsd-postgres -it /var/lib/aolserver/service1/etc/config.tcl -u service1 -g web -b myipaddress:8000 (where myipaddress had the actual ipadrees) AND It started the aolserver...it let me configure a new instance...yeah!

i'm interested in any comments and suggestions.