Installation unter SuSE 8.2 basierend auf cvs-Quellen

Joerg Ritter <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.discuss.german
Message-ID <[email protected]>
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
doitall (text/plain, 3.5 KB)
#!/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
#
adapt_apache2_suse8.2.pl (application/x-perl, 431 B)
#!/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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.