Date: Sun, 5 Oct 2003 20:33:11 +0100
From: Alain Williams 
Subject: Howto on OgO on RH9

Hi,

I am following your instructions at http://sukka.jct.ac.il/~yedidia/ogo_rh.html
I have a few comments, probably because the box is a completely virgin RH9 box,
installed just for the purpose of testing OgO, so there are a few issues that
you seem to have missed since your box has already had some config work.

NOTE that I am NOT aiming at at secure system, just something to play with.

I am typing this as I go & so may end up in a blind alley and have to retrace.

1) I used Kelley Graham's script, but had already installed the RPMs, to get this right
   I needed to create user/group (Kelley's script would have done this):
	groupadd skyrix
	useradd opengroupware
	useradd build
	groupadd dev
   I had to force the RPMs to install because of dependency problems.

   I later found that RPM opengroupware-env created group skyrix and user opengroupware

>>>>Kelly G Comment:
> I've removed the user creation code and now it just checks
> for the user and group and notifies if not existing. 
> my script will only download a package if needed. otherwise
> it just checks timestamps. very little additional time required.
> Kelly G
>>>>
> So using Kelly G script make the life easier...
> --Yedidia


2) Start the database:
	service postgresql start
   Ensure that it will start on reboots:
	chkconfig --level 345 postgresql on

   It is now possible to edit /var/lib/pgsql/data/pg_hba.conf (which was created on the startup)
   (I started as someone not knowing postgresql (I am a mysql man)).
   The file that I ended up with is attached.
   Ditto /var/lib/pgsql/data/postgresql.conf

3) I ran into the brick wall, since the file OpenGroupware.org.sh, I did not have it.
   It appears to have been a problem with release that I have (what I thought was recent).
   Remove all RPMs, run Kelley's script & start again.

   Strong recommendation to use Kelley's script. I read the first of your points and rushed off
   to get the RPMs, and so didn't use the script (at first) since it would download the
   RPMs again. So recommend to use the script first since that saves a lot of hassle.

4) mkdir /opt/opengroupware.org/documents -- Not needed

5) This step not needed (script now seems to do it)
	# Edit /etc/ld.so.conf and add the following lines:
   	/opt/opengroupware.org/Libraries/ix86/linux-gnu/gnu-fd-nil
   	/opt/skyrix/system/Libraries/ix86/linux-gnu/gnu-fd-nil
   	get opengroupware SysV init script and copy it to /etc/init.d directory.
	As opengroupware (su - opengroupware) do these two commands:

6) On Redhat the command:
	/etc/init.d/opengroupware start
   is better done as:
   	service opengroupware start




Finally: thanks for your HOWTO

Now to try to work out what to do with it :-)

-- 
Alain Williams

#include 

FATHERS-4-JUSTICE - Campaigning for equal rights for parents and the
best interests of our children. See http://www.fathers-4-justice.org
Back to the Howto