Forum OpenACS Development: Re: New Installation on Ubuntu 11.10

Collapse
Posted by Norisvaldo Ferraz Júnior on
Dear Raul,

I tried to install on Ubuntu 12.04 and I have some problems.
Sorry my bad english, ok?

Instead of this kind of Linux I tried on Debian 7 (Wheezy).

OpenACS isn't available for Debian 7. Typing: # apt-get install openacs, I received error: package don't exists.

To solve, in apt sources.list, I insert lines to refer the oldstable (squeeze).

Then, I installed OpenACS.
Step-by-step:
1. Install Postgresql 8.4 Postgres 8.4: apt-get install postgres-8.4
2. Set password for user postgres: sudo -u postgres psql postgres, then, on psql command line: \password postgres, and then create password for user postgres.
3. Install openacs: apt-get install openacs (version installed: 5.5.1)
4. Install dotLRN (in my case): apt-get install dotlrn
5. Aolserver4 is installed by default: 127.0.0.1:8000
6. Edit /etc/openacs/openacs.sh and/or /etc/dotlrn/dotlrn.sh to change this.
7. IMPORTANT: Aolserver4 is a service started before postgresql by default. This is a bug...
8. To solve this problem, edit /etc/init.d/aolserver4 and, in line that start with "Required-Start...", append after $syslog: $postgresql. In my case: "# Required-Start: $local_fs $remote_fs $network $syslog $postgresql"
9. Then, run update-rc to change aolserver4 service. In my case I run the following command: "update-rc.d aolserver4 start 95 2 3 4 5 . stop 20 0 1 6 ."

Finally, OpenACS works fine.

I hope to help you.

Regards

Noris