Forum OpenACS Development: Re: Installing 5.2.3 Core: problems and questions.

Collapse
Posted by Tom Jackson on

I should also say that this version seems much easier to install than the last time I did it. I already had AOLserver and postgresql installed. So, maybe I should point out that a lot of the install instructions are not exactly necessary for the postgres version. The main tasks were to:

  1. Create the user/database (while postgres):
    $ createuser openacs
    $ createdb -T template1 -O openacs -U openacs -E UNICODE openacs 

    Where openacs is the name of the user and the database. It isn't necessary to have a system user named openacs, although there could be security benefits. I'm not sure the longer install method realizes these benefits. If a goal is simple installation, maybe the system user stuff could be an optional step?

  2. Recompile the nspostgres db driver with ACS=1
  3. $ cd aolserver/nspostgres
    $ make clean
    $ make ACS=1
    $ make install
     
  4. Add a new virtual server, which required a new nssock and binding entry, new database pools using the openacs user and db name, then I had to point the private tcl library to /web/openacs-5.2.3/tcl and the pageroot to /web/openacs-5.2.3/www. The entire startup, with configuration is here: http://junom.com/document/openacs/server-log/
  5. Restart AOLserver and browse to the web address.

  6. If something goes wrong during step 4, then as postgres do:

     $ dropdb openacs
     
  7. And then repeat steps 1 and 4.