Discussion:
[OGo-Discuss-DE] Installation unter SuSE 8.2 basierend auf cvs-Quellen
Joerg Ritter
2003-08-05 12:25:57 UTC
Permalink
This is a multi-part message in MIME format.
--------------080401030504050505080909
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hallo,
ich würde mir eine etwas kompaktere Installationsanleitung für das OGo
wünschen.
z.B. welche Pakete man so installiert haben muß, welche der 'Default
..." Anweisungen man braucht und so weiter.
Anbei mein Script was ich bei der Installation nebenher zum eigenen
Nachvollziehen notiert habe. Das meiste steht ja bereits irgendwo, aber
eine spezielle Kurzzusammenfassung wäre doch gut, vielleicht könnt Ihr
da was verwenden.


ciao
Jörg




--------------080401030504050505080909
Content-Type: text/plain;
name="doitall"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="doitall"

#!/bin/bash
#
# Requirements
# a) Compiler: gcc, gcc-obj
# b) RPMs:
# pilot-link
# postgres-devel
# postgres-server
# postgres-contrib
# openldap2
# openldap2-devel
#
# where to install
#
export INSTDIR=$HOME/current
mkdir $INSTDIR
#
# where are the cvs-Sources
#
export SRCDIR=$HOME/Cvs-Sources/OpenGroupware.org

#
# let's go
#

#
# ThirdParty
#
cd $SRCDIR
cd ./ThirdParty/
cd ./gnustep-make
./configure --prefix=$INSTDIR \
--without-system-root \
--with-network-root=$INSTDIR \
--with-local-root=$INSTDIR \
--with-user-root=$INSTDIR \
--with-library-combo=gnu-fd-nil
make -s install
cd ..
source $INSTDIR/Makefiles/GNUstep.sh
cd gnustep-objc
make -s debug=yes install
cd ..
cd libFoundation
./configure --with-gnustep
make -s debug=yes install
cd ..
cd libxml2
./cfg-gnustep.sh
make -s install
cd ..
#
# if necessary edit the cfg-gnustep.sh and enable-static
#
cd libical
cp $HOME/cfg-gnustep.sh .
./cfg-gnustep.sh
make -s install
cd ..
cd js-1.5
make -s install
#
# SOPE
#
cd $SRCDIR
cd ./SOPE
cd skyrix-xml
make -s debug=yes install
cd ..
cd skyrix-core
make -s debug=yes install
cd ..
cd skyrix-sope
make -s debug=yes install
#
# gnustep-db
#
cd $SRCDIR
cd ./ThirdParty/gnustep-db/
cd GDLAccess
make -s debug=yes install
cd ..
cd PostgreSQL72
make -s debug=yes install
#
#Logic
#
cd $SRCDIR
cd Logic
make -s debug=yes install
cd ..
cd Database/OGoModel
make -s debug=yes install
cd ../..
cd DocumentAPI
make -s debug=yes install
cd ..
cd WebUI
make -s debug=yes install
cd Resources
make install
cd ../..
cd Themes/WebServerResources
make install
Defaults write NSGlobalDomain LSConnectionDictionary '{databaseName = ogo; hostName = localhost; password = ""; port = 5432; userName = ogo}'
Defaults write NSGlobalDomain LSModelName OpenGroupware.org_PostgreSQL
Defaults write NSGlobalDomain LSAdaptor PostgreSQL72
Defaults write NSGlobalDomain NGBundlePath $INSTDIR/Library/OpenGroupware.org
mkdir $INSTDIR/documents
Defaults write NSGlobalDomain LSAttachmentPath $INSTDIR/documents
#
# Palm
#
cd $SRCDIR
cd ./ThirdParty/pilot-link
./cfg-gnustep.sh
make -s debug=yes install
cd ..
cd nhsc
make -s debug=yes install
cd ..
cd ..
cd PDA
make -s debug=yes install
cd ..
#
# ZideStore
#
cd $SRCDIR
cd ./ZideStore
make -s debug=yes install
Defaults write ZideStore WOCachingEnabled YES
Defaults write ZideStore WOHttpTransactionUseSimpleParser YES
Defaults write ZideStore SxExplain YES
Defaults write ZideStore WOPort "localhost:23000"
Defaults write ZideStore ZLFolderRefresh 1
#
# Apache Modul
#
# GNUMakefile doesn't check for apache2, use the perl script then
#
cd $SRCDIR
#../../adapt_apache2_suse8.2.pl $SRCDIR/SOPE/mod_ngobjweb/GNUmakefile
cd $SRCDIR/SOPE/mod_ngobjweb/
make install

#
# adapt /etc/apache2/httpd.conf !!!
#
#
# LoadModule ngobjweb_module /usr/.../Library/WOAdaptors/Apache/ngobjweb_2.0.46.so
#
# <LocationMatch "^/OpenGroupware/*">
# SetHandler ngobjweb-adaptor
# SetAppPort 20000
# </LocationMatch>
#
# Alias /OpenGroupware.woa/WebServerResources/ \
# /usr/central/OGo/current/WebServerResources/
#
# <LocationMatch "^/ev*">
# SetHandler ngobjweb-adaptor
# SetAppPort 23000
# </LocationMatch>
#
# # Exchange public folders URL
# <LocationMatch "^/zidestore/*">
# SetHandler ngobjweb-adaptor
# SetAppPort 23000
# </LocationMatch>

#
# Postgres
#

# rpm-Packete installieren
# insserv /etc/rc.d/postgresql
# rcpostgresql start
# edit /var/lib/pgsql/data/postgresql.conf (set tcpip_socket = true)
# su - postgres
# createdb ogo
# createuser -A -D ogo
# cd $SRCDIR/Database/PostgreSQL
# psql ogo ogo
# >\i pg-build-schema.psql
# >\q
#

--------------080401030504050505080909
Content-Type: application/x-perl;
name="adapt_apache2_suse8.2.pl"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="adapt_apache2_suse8.2.pl"

#!/usr/bin/perl -w

use strict;


my $datei=$ARGV[0];
my $datei_alt="$datei.old";

`cp $datei $datei_alt`;

open(ALT,"<$datei_alt") or die "Kann nicht lesen.";
open(NEU,">$datei") or die "Kann nicht schreiben.";

while (my $zeile=<ALT>)
{
if ($zeile =~ /^APACHE_VERSION/)
{
print NEU "HTTPD = \$(APACHE)/sbin/httpd2\n";
print NEU "APXS= \$(APACHE)/sbin/apxs2\n\n";
}
print NEU $zeile;

}

close(ALT);
close(NEU);



--------------080401030504050505080909--
Helge Hess
2003-10-07 15:13:36 UTC
Permalink
Post by Joerg Ritter
Hallo,
ich würde mir eine etwas kompaktere Installationsanleitung für das OGo
wünschen.
z.B. welche Pakete man so installiert haben muß, welche der 'Default
..." Anweisungen man braucht und so weiter.
Anbei mein Script was ich bei der Installation nebenher zum eigenen
Nachvollziehen notiert habe. Das meiste steht ja bereits irgendwo, aber
eine spezielle Kurzzusammenfassung wäre doch gut, vielleicht könnt Ihr
da was verwenden.
Also es waere super wenn du eine solche Kurzanleitung erstellen
koenntest. Dazu kannst du unser Docs.opengroupware.org Plone nutzen und
Content "reinkippen". Das geht einfach und schnell ;-)

Gruss
Helge

Loading...