[OGo-Users] HowTo install OGo on Debian (v1.0)

Bjoern Stierand bjoern@opengroupware.org
Sun, 13 Jul 2003 00:57:49 +0200


This is a multi-part message in MIME format.
--------------030602080704080604090907
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hiya list,

I just installed OGo from the latest Debian packages
on the web page to check if there are still some
unfixed/unknown problems. It worked out pretty well
(some things have to be fixed in the packages, though),
but I get a running OGo install afterwards.

I attached the howto which describes step-by-step
how to setup OGo on Debian (I used Sid, but it
should work on Sarge/Woody aswell).

If you encounter any problems or smth is unclear,
tell me - I'll fix the howto then.
I'd try to install on a 'as-clean-as-possible'
system - but maybe I already have installed smth
on here which is not there in standard Debian.

Have a look at the file, try it out - and if
it didn't work out, bug me :)

Greets

Bjoern

-- 
http://www.opengroupware.org

--------------030602080704080604090907
Content-Type: text/plain;
 name="ogo-deb-install-howto.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="ogo-deb-install-howto.txt"

Debian Install - Step By Step
==============================

(This was done on Debian Sid, but should work on Woody/Sarge too)

1) add the DEB repository to /etc/apt/sources.list 

 $ echo "deb http://www.opengroupware.org/packages deb/" >> /etc/apt/sources.list

2) install the packages

 $ apt-get update
 $ apt-get install opengroupware.org-gstep-make opengroupware.org-gstep-objc
 $ apt-get install opengroupware.org-libfoundation opengroupware.org-libxml2
 $ apt-get install opengroupware.org-js opengroupware.org-xml
 $ apt-get install opengroupware.org-core opengroupware.org-gstep-db
 $ apt-get install opengroupware.org-gstep-db-postgresql72 opengroupware.org-sope
 $ apt-get install opengroupware.org-env opengroupware.org-logic 
 $ apt-get install opengroupware.org-docapi opengroupware.org-database
 $ apt-get install opengroupware.org-webui-libs opengroupware.org-webui-common
 $ apt-get install opengroupware.org-webui-admin opengroupware.org-webui-contact
 $ apt-get install opengroupware.org-webui-forms opengroupware.org-webui-job
 $ apt-get install opengroupware.org-webui-app opengroupware.org-webui-prefs
 $ apt-get install opengroupware.org-webui-news opengroupware.org-webui-project
 $ apt-get install opengroupware.org-webui-mailer
 $ apt-get install opengroupware.org-webui-scheduler
 $ apt-get install opengroupware.org-webui-resource-en
 $ apt-get install opengroupware.org-theme-default-en 

3) setup the db
 (the DB should already be configured to listen on TCP/IP and localhost access
  should be set to 'trust' for now - see the FAQ for that)

 $ su - postgres
 $ createdb ogo
 $ createuser -a -d ogo
 $ psql ogo ogo
 [now you are on the postgresql prompt]
 ogo=# \i /usr/lib/opengroupware.org/Database/PostgreSQL/pg-build-schema.psql
 ogo=# \q
 logout

4) setup the defaults

 $ chown -R opengroupware.skyrix /usr/lib/opengroupware.org
 $ su - opengroupware
 $ source OpenGroupware.org.sh
 $ Defaults write NSGlobalDomain LSConnectionDictionary '{hostName=localhost;
   userName=ogo; password=""; port=5432; databaseName=ogo}'
 $ Defaults write NSGlobalDomain NGBundlePath
   "/usr/lib/opengroupware.org/Library/OpenGroupware.org"
 $ Defaults write NSGlobalDomain LSAttachmentPath /usr/lib/opengroupware.org/document
 $ Defaults write NSGlobalDomain LSModelName OpenGroupware.org_PostgreSQL
 $ cd WOApps/OpenGroupware.woa
 $ ln -s ../../WebServerResources/
 $ cd ..
 $ ./OpenGroupware.woa/ix86/linux-gnu/gnu-fd-nil/OpenGroupware

 Now connect to the installation at 'http://localhost:20000/OpenGroupware'.
 Add the '-WOHttpAllowHost <host>' switch to the last cmd to connect from
 host <host>.

Bjoern Stierand
bjoern@opengroupware.org

--------------030602080704080604090907--