Most of this document is a blatant cut and paste of the ogo_rh.html with mods for Mandrake
firstly I created the users
adduser opengroupware -d /opt/opengroupware.org (not sure if this is needed)
groupadd skyrix
adduser build (not sure if it's needed)
groupadd dev (not sure if it's needed)
installed opengroupware rpms
as root I ran the following commands
su - postgres
createdb ogo
createuser -A -D ogo
exit
su - opengroupware
cd Database/PostgreSQL
psql ogo -U ogo
\i pg-build-schema.psql
source $HOME/OpenGroupware.org.sh
Defaults write NSGlobalDomain LSAdaptor PostgreSQL72
Defaults write NSGlobalDomain LSModelName OpenGroupware.org_PostgreSQL
Defaults write NSGlobalDomain LSConnectionDictionary '{databaseName = ogo; password = ""; port = 5432; userName = ogo}'
(in other documentation they tell you to put the host details in for some reason Mandrake doesn't need it.)
Defaults write NSGlobalDomain NGBundlePath /opt/opengroupware.org/Library/OpenGroupware.org
Defaults write NSGlobalDomain LSAttachmentPath /opt/opengroupware.org/documents
exit
mkdir /opt/opengroupware.org/documents
chown opengroupware.skyrix /opt/opengroupware.org/documents
su - opengroupware
ln -s ~opengroupware/WebServerResources/* ~opengroupware/WOApps/OpenGroupware.woa/WebServerResources
exit
vi /etc/ld.so.conf and added the following lines
/opt/opengroupware.org/Libraries/ix86/linux-gnu/gnu-fd-nil
/opt/skyrix/system/Libraries/ix86/linux-gnu/gnu-fd-nil su - opengroupware echo "source /opt/opengroupware.org/OpenGroupware.org.sh" >> ~/.bash_profile echo "export LD_ASSUME_KERNEL=2.4.1" >> ~/.bash_profile used the start.sh script on the opengroupware.org site #!/bin/bash source $HOME/OpenGroupware.org.sh export LD_ASSUME_KERNEL=2.4.1 while [ "1" = "1" ]; do $HOME/WOApps/OpenGroupware.woa/ix86/linux-gnu/gnu-fd-nil/OpenGroupware \ -WOPort 20000 -WOHttpAllowHost '(localhost, host1, host2)' ; done & exit0 nb host1 and host2 are just examples. ;) ran the script used mozilla to connect to http://server:20000/OpenGroupware I am now working on the Apache config.
-- Regards, Kevin Saenz Spinaweb I.T consultants Ph: 02 4620 5130 Fax: 02 4625 9243 Mobile: 0418455661 Web: http://www.spinaweb.com.au |
-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
