phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] property/tutorials/property/examples install.ap...


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/tutorials/property/examples install.ap...
Date: Fri, 12 Jan 2007 14:09:57 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Changes by:     Sigurd Nes <sigurdne>   07/01/12 14:09:57

Added files:
        tutorials/property/examples: install.apache.sh 

Log message:
        While I wait for my new laptop

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/tutorials/property/examples/install.apache.sh?cvsroot=phpgroupware&rev=1.1

Patches:
Index: install.apache.sh
===================================================================
RCS file: install.apache.sh
diff -N install.apache.sh
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ install.apache.sh   12 Jan 2007 14:09:57 -0000      1.1
@@ -0,0 +1,113 @@
+#!/bin/bash
+# $Id: install.apache.sh,v 1.1 2007/01/12 14:09:57 sigurdne Exp $ 
+
+#/**
+#  * installscript for APACHE with PHP, LIBXML, XSLT, FREEDTS and EACCELERATOR
+#  * 
+#  * 
+#  * Download all tarballs to one directory and place this script in the same 
place
+#  * 
+#  * NOTE: Do not add spaces after bash variables.
+#  *
+#  * @author            Sigurd Nes <Sigurdne (inside) online (dot) no>
+#  * @version           Release-1.0.0
+#  */
+
+##############################
+# should be edited
+##############################
+
+#/**
+#  * Name of the freetds package e.g freetds-stable.tgz
+#  * 
+#  * @var               string FREETDS, FREETDSTAR
+#  */
+FREETDSTAR="freetds-stable.tgz"
+FREETDS="freetds-0.64"
+
+LIBXMLTAR="libxml2-2.6.27.tar.gz"
+LIBXML="libxml2-2.6.27"
+
+LIBXSLTAR="libxslt-1.1.19.tar.gz"
+LIBXSL="libxslt-1.1.19"
+
+IMAPTAR="imap-2006d.tar.Z"
+IMAP="imap-2006d"
+
+PHP_PREFIX="/usr/local"
+
+#/**
+#  * Name of the APACHE tarball e.g httpd-2.2.4.tar.gz
+#  * 
+#  * @var               string APACHE, APACHETAR
+#  */
+APACHETAR=" httpd-2.2.4.tar.gz"
+APACHE="httpd-2.2.4"
+
+#/**
+#  * Name of the PHP tarball e.g php-5.2.tar.gz
+#  * 
+#  * @var               string PHP, PHPTAR
+#  */
+PHPTAR="php-5.2.tar.gz"
+PHP="php-5.2"
+
+#/**
+#  * Name of the MMCACHE tarball e.g turck-mmcache-2.4.6.tar.gz
+#  * 
+#  * @var               string MMCACHE, MMCACHETAR
+#  */
+EACCELERATORTAR="eaccelerator-0.9.5.tar.bz2"
+EACCELERATOR="eaccelerator-0.9.5"
+
+# perform the install
+
+tar -xzf $FREETDSTAR &&\
+tar -xzf $LIBXMLTAR &&\
+tar -xzf $LIBXSLTAR &&\
+gunzip -c $IMAPTAR | tar xf - &&\
+tar -xzf $APACHETAR &&\
+tar -xzf $PHPTAR &&\
+bunzip2 -c $EACCELERATORTAR | tar xvf -&&\
+#/usr/local/apache2/bin/apachectl stop &&\ #
+cd $FREETDS &&\
+./configure --prefix=/usr/local/freetds --with-tdsver=7.0 --enable-msdblib\
+--enable-dbmfix --with-gnu-ld --enable-shared --enable-static &&\
+gmake &&\
+gmake install &&\
+cd ../$IMAP &&\
+make lmd SSLTYPE=unix.nopwd IP6=4 &&\ # mandrakelinux, no ip6-support
+ln -s c-client include &&\
+mkdir lib &&\
+cd lib &&\
+ln -s ../c-client/c-client.a libc-client.a &&\
+cd ../../$LIBXML &&\
+./configure &&\
+make &&\
+make install &&\
+cd ../$LIBXSL &&\
+./configure &&\
+make &&\
+make install &&\
+cd ../$APACHE &&\
+./configure --with-mpm=prefork --enable-so --enable-deflate --enable-headers 
&&\
+make &&\
+make install &&\
+cd ../$PHP &&\
+export LDFLAGS=-lstdc++ &&\
+make clean &&\
+./configure --with-imap=../imap-2006d --with-sybase-ct=/usr/local/freetds\
+ --with-apxs2=/usr/local/apache2/bin/apxs --enable-mail --with-xml --with-xsl\
+ with-zlib --with-pspell --with-jpeg-dir=/usr/lib\
+ --with-png-dir=/usr --with-freetype-dir=/usr/lib --with-gd --enable-ftp &&\
+ --with-pgsql --enable-shmop --enable-sysvsem --enable-sysvshm &&\
+make &&\
+make install &&\
+cd ../$EACCELERATOR &&\
+$PHP_PREFIX/bin/phpize &&\
+./configure --enable-eaccelerator=shared 
--with-php-config=$PHP_PREFIX/bin/php-config &&\
+make &&\
+make install
+#/usr/local/apache2/bin/apachectl start
+
+# vim: set expandtab :




reply via email to

[Prev in Thread] Current Thread [Next in Thread]