[svn] r3117 - in trunk/web/freshrpms.net/docs: . oracle tips

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Fri Apr 8 20:03:45 CEST 2005


Author: thias
Date: 2005-04-08 20:03:43 +0200 (Fri, 08 Apr 2005)
New Revision: 3117

Added:
   trunk/web/freshrpms.net/docs/oracle/
   trunk/web/freshrpms.net/docs/oracle/index.html
   trunk/web/freshrpms.net/docs/oracle/php-4.3.10-oci8instantclient.patch
   trunk/web/freshrpms.net/docs/oracle/php-modules.spec
Modified:
   trunk/web/freshrpms.net/docs/index.html
   trunk/web/freshrpms.net/docs/tips/index.html
Log:
Added doc about installing Oracle Instant Client on RHEL4.


Modified: trunk/web/freshrpms.net/docs/index.html
===================================================================
--- trunk/web/freshrpms.net/docs/index.html	2005-04-08 09:57:27 UTC (rev 3116)
+++ trunk/web/freshrpms.net/docs/index.html	2005-04-08 18:03:43 UTC (rev 3117)
@@ -13,6 +13,7 @@
   <li><a href="mail-server/">Installing a mail server</a> - Installing postfix, dovecot and related utilities on Red Hat Linux 7.3</li>
   <li><a href="tips/">Tips</a> - A few quick tips n' tricks</li>
   <li><a href="bios-flash/">BIOS Flash</a> - Flashing a BIOS when you only run GNU/Linux</li>
+  <li><a href="oracle/">Oracle 10g Instant Client</a> - Installing Oracle 10g Instant Client on RHEL4</li>
 </ul>
 <?php
   page_footer ('$Id$');

Added: trunk/web/freshrpms.net/docs/oracle/index.html
===================================================================
--- trunk/web/freshrpms.net/docs/oracle/index.html	2005-04-08 09:57:27 UTC (rev 3116)
+++ trunk/web/freshrpms.net/docs/oracle/index.html	2005-04-08 18:03:43 UTC (rev 3117)
@@ -0,0 +1,41 @@
+<?php
+  include("../../inc/main.inc");
+  page_header ("Oracle 10g Instant Client on RHEL4");
+?>
+
+<p class="largetext">
+Oracle 10g Instant Client on RHEL4
+</p>
+
+<p>
+Here are the files I use to configure RHEL4 servers as Oracle clients. They have been tested with php-oci8, squale and perl-DBD-Oracle. The main oracle-instantclient packages have been rebuilt from the zip files provided by Oracle because their rpm packages don't work as expected (no require/provide information, no ldconfig calls), and because Oracle doesn't provide any x86_64 rpm packages. Of course, the proprietary Oracle bits aren't provided here, which is why you'll find only the .nosrc.rpm. For other packages, binaries are provided since they only link dynamically to the Oracle libraries and contain no proprietary code.<br />
+<ul>
+  <li>libsqlora8-2.3.2-2</li>
+  <li>libsqlora8-devel-2.3.2-2</li>
+  <li>oracle-instantclient-10.1.0.3</li>
+  <li>oracle-instantclient-basic-10.1.0.3-3</li>
+  <li>oracle-instantclient-devel-10.1.0.3-3</li>
+  <li>oracle-instantclient-jdbc-10.1.0.3-3</li>
+  <li>oracle-instantclient-sqlplus-10.1.0.3-3</li>
+  <li>perl-DBD-Oracle-1.16-1</li>
+  <li>php-oci8-4.3.9-2</li>
+  <li>squale-0.1.3-1</li>
+  <li>squale-devel-0.1.3-1</li>
+</ul>
+</p>
+
+<p>
+<a href="http://ftp.freshrpms.net/pub/freshrpms/redhat/testing/EL4/oracle/">All the packages (i386, x86_64, SRPMS)</a>
+</p>
+
+<p>
+If you need to rebuild the php-oci8 module for another PHP version, you can adapt the spec file and patch from below. As you can see, I also include other modules that aren't part of the original package (mcrypt, mime_magic, pdf) since I also need those, but don't provide binaries here since it would mean adding other libraries and such.
+<ul>
+  <li><a href="php-modules.spec">php-modules.spec</a></li>
+  <li><a href="php-4.3.10-oci8instantclient.patch">php-4.3.10-oci8instantclient.patch</a> (tested with 4.3.9 and 4.3.10)</li>
+</ul>
+</p>
+
+<?php
+  page_footer ('$Id: index.html 3099 2005-04-04 18:38:20Z thias $');
+?>

Added: trunk/web/freshrpms.net/docs/oracle/php-4.3.10-oci8instantclient.patch
===================================================================
--- trunk/web/freshrpms.net/docs/oracle/php-4.3.10-oci8instantclient.patch	2005-04-08 09:57:27 UTC (rev 3116)
+++ trunk/web/freshrpms.net/docs/oracle/php-4.3.10-oci8instantclient.patch	2005-04-08 18:03:43 UTC (rev 3117)
@@ -0,0 +1,210 @@
+diff -Naupr php-4.3.10.orig/ext/oci8/config.m4 php-4.3.10/ext/oci8/config.m4
+--- php-4.3.10.orig/ext/oci8/config.m4	2004-02-03 15:22:34.000000000 +0100
++++ php-4.3.10/ext/oci8/config.m4	2005-02-18 18:46:03.387887624 +0100
+@@ -18,132 +18,93 @@ AC_DEFUN(PHP_OCI_IF_DEFINED,[
+   ])
+ ])
+ 
+-AC_DEFUN(AC_OCI8_VERSION,[
+-  AC_MSG_CHECKING([Oracle version])
+-  if test -s "$OCI8_DIR/orainst/unix.rgs"; then
+-    OCI8_VERSION=`grep '"ocommon"' $OCI8_DIR/orainst/unix.rgs | sed 's/[ ][ ]*/:/g' | cut -d: -f 6 | cut -c 2-4`
+-    test -z "$OCI8_VERSION" && OCI8_VERSION=7.3
+-  elif test -f $OCI8_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.10.1; then
+-    OCI8_VERSION=10.1    
+-  elif test -f $OCI8_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.9.0; then
+-    OCI8_VERSION=9.0
+-  elif test -f $OCI8_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.8.0; then
+-    OCI8_VERSION=8.1
+-  elif test -f $OCI8_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.1.0; then
+-    OCI8_VERSION=8.0
+-  elif test -f $OCI8_DIR/lib/libclntsh.a; then 
+-    if test -f $OCI8_DIR/lib/libcore4.a; then 
+-      OCI8_VERSION=8.0
++
++AC_DEFUN(AC_OCI8IC_VERSION,[
++  AC_MSG_CHECKING([Oracle Instant Client version])
++  if test -f $PHP_OCI8_INSTANT_CLIENT/libociei.$SHLIB_SUFFIX_NAME; then
++    if test -f $PHP_OCI8_INSTANT_CLIENT/libclntsh.$SHLIB_SUFFIX_NAME.10.1; then
++      if test ! -f $PHP_OCI8_INSTANT_CLIENT/libclntsh.$SHLIB_SUFFIX_NAME; then
++        AC_MSG_ERROR([Link from $PHP_OCI8_INSTANT_CLIENT/libclntsh.$SHLIB_SUFFIX_NAME to libclntsh.$SHLIB_SUFFIX_NAME.10.1 not found])
++      fi
++      OCI8_VERSION=10.1
+     else
+-      OCI8_VERSION=8.1
++      AC_MSG_ERROR([Oracle Instant Client library version not supported])
+     fi
+   else
+-    AC_MSG_ERROR(Oracle-OCI8 needed libraries not found)
+-  fi
+-  AC_MSG_RESULT($OCI8_VERSION)
+-])                                                                                                                                                                
+-
+-PHP_ARG_WITH(oci8, for Oracle-OCI8 support,
+-[  --with-oci8[=DIR]       Include Oracle-oci8 support. Default DIR is ORACLE_HOME.])
+-
+-if test "$PHP_OCI8" != "no"; then
+-  AC_MSG_CHECKING([Oracle Install-Dir])
+-  if test "$PHP_OCI8" = "yes"; then
+-    OCI8_DIR=$ORACLE_HOME
+-  else
+-    OCI8_DIR=$PHP_OCI8
++    AC_MSG_ERROR([Oracle Instant Client libraries not found])
+   fi
+-  AC_MSG_RESULT($OCI8_DIR)
++  AC_MSG_RESULT([$OCI8_VERSION])
++])
+ 
+-  if test -d "$OCI8_DIR/rdbms/public"; then
+-    PHP_ADD_INCLUDE($OCI8_DIR/rdbms/public)
+-    OCI8_INCLUDES="$OCI8_INCLUDES -I$OCI8_DIR/rdbms/public"
+-  fi
+-  if test -d "$OCI8_DIR/rdbms/demo"; then
+-    PHP_ADD_INCLUDE($OCI8_DIR/rdbms/demo)
+-    OCI8_INCLUDES="$OCI8_INCLUDES -I$OCI8_DIR/rdbms/demo"
+-  fi
+-  if test -d "$OCI8_DIR/network/public"; then
+-    PHP_ADD_INCLUDE($OCI8_DIR/network/public)
+-    OCI8_INCLUDES="$OCI8_INCLUDES -I$OCI8_DIR/network/public"
+-  fi
+-  if test -d "$OCI8_DIR/plsql/public"; then
+-    PHP_ADD_INCLUDE($OCI8_DIR/plsql/public)
+-    OCI8_INCLUDES="$OCI8_INCLUDES -I$OCI8_DIR/plsql/public"
++PHP_ARG_WITH(oci8, for Oracle (OCI8) support using ORACLE_HOME installation,
++[  --with-oci8[[=DIR]]     Include Oracle (OCI8) support using an ORACLE_HOME
++                        install. The default DIR is ORACLE_HOME])
++
++PHP_ARG_WITH(oci8-instant-client, for Oracle (OCI8) support using Oracle Instant Client,
++[  --with-oci8-instant-client[[=DIR]]    Include Oracle (OCI8) support using
++                        Oracle Instant Client. DIR is the directory with the
++                        Instant Client libraries. On Linux it will default to
++                        /usr/lib/oracle/<most_recent_version>/client/lib
++                        Other platforms will need to have it explicitly specified.])
++
++if test "$PHP_OCI8_INSTANT_CLIENT" != "no"; then
++
++  AC_MSG_CHECKING([Oracle Instant Client directory])
++  if test "$PHP_OCI8_INSTANT_CLIENT" = "yes"; then
++dnl Generally the Instant Client can be anywhere so the user must pass in the
++dnl directory to the libraries.  But on Linux we default to the most recent
++dnl version in /usr/lib
++    PHP_OCI8_INSTANT_CLIENT=`ls -d /usr/lib/oracle/*/client/lib  2> /dev/null | tail -1`
++    if test -z "$PHP_OCI8_INSTANT_CLIENT"; then
++      AC_MSG_ERROR([Oracle Instant Client directory not found. Try --with-oci8-instant-client=DIR])
++    fi
+   fi
++  AC_MSG_RESULT($PHP_OCI8_INSTANT_CLIENT)
+ 
+-  if test -f "$OCI8_DIR/lib/sysliblist"; then
+-    PHP_EVAL_LIBLINE(`cat $OCI8_DIR/lib/sysliblist`, OCI8_SYSLIB)
+-  elif test -f "$OCI8_DIR/rdbms/lib/sysliblist"; then
+-    PHP_EVAL_LIBLINE(`cat $OCI8_DIR/rdbms/lib/sysliblist`, OCI8_SYSLIB)
+-  fi
++  OCI8_DIR=$PHP_OCI8_INSTANT_CLIENT
+ 
+-  AC_OCI8_VERSION($OCI8_DIR)
+-  case $OCI8_VERSION in
+-    8.0)
+-      PHP_ADD_LIBRARY_WITH_PATH(nlsrtl3, "", OCI8_SHARED_LIBADD)
+-      PHP_ADD_LIBRARY_WITH_PATH(core4, "", OCI8_SHARED_LIBADD)
+-      PHP_ADD_LIBRARY_WITH_PATH(psa, "", OCI8_SHARED_LIBADD)
+-      PHP_ADD_LIBRARY_WITH_PATH(clntsh, $OCI8_DIR/lib, OCI8_SHARED_LIBADD)
+-      ;;
++  AC_MSG_CHECKING([Oracle Instant Client SDK header directory])
+ 
+-    8.1)
+-      PHP_ADD_LIBRARY(clntsh, 1, OCI8_SHARED_LIBADD)
+-      PHP_ADD_LIBPATH($OCI8_DIR/lib, OCI8_SHARED_LIBADD)
++dnl Header directory for Instant Client SDK RPM install
++  OCISDKRPMINC=`echo "$PHP_OCI8_INSTANT_CLIENT" | sed -e 's!^/usr/lib/oracle/\(.*\)/client/lib[[/]]*$!/usr/include/oracle/\1/client!'`
+ 
+-      dnl 
+-      dnl OCI_ATTR_STATEMENT is not available in all 8.1.x versions
+-      dnl 
+-      PHP_OCI_IF_DEFINED(OCI_ATTR_STATEMENT, [AC_DEFINE(HAVE_OCI8_ATTR_STATEMENT,1,[ ])], $OCI8_INCLUDES)
+-      ;;
++dnl Header directory for Instant Client SDK zip file install
++  OCISDKZIPINC=$PHP_OCI8_INSTANT_CLIENT/sdk/include
++
++  if test -f "$OCISDKRPMINC/oci.h"; then
++    AC_MSG_RESULT($OCISDKRPMINC)
++    PHP_ADD_INCLUDE($OCISDKRPMINC)
++    OCI8INCDIR=$OCISDKRPMINC
++  elif test -f "$OCISDKZIPINC/oci.h"; then
++    AC_MSG_RESULT($OCISDKZIPINC)
++    PHP_ADD_INCLUDE($OCISDKZIPINC)
++    OCI8INCDIR=$OCISDKZIPINC
++  else
++    AC_MSG_ERROR([Oracle Instant Client SDK header files not found])
++  fi
+ 
+-    9.0)
+-      PHP_ADD_LIBRARY(clntsh, 1, OCI8_SHARED_LIBADD)
+-      PHP_ADD_LIBPATH($OCI8_DIR/lib, OCI8_SHARED_LIBADD)
+-      AC_DEFINE(HAVE_OCI8_ATTR_STATEMENT,1,[ ])
++  OCISYSLIBLIST=`echo "$OCI8INCDIR" | sed -e 's!\(.*\)/include$!\1/demo/sysliblist!'`
++  if test -f "$OCISYSLIBLIST"; then
++    PHP_EVAL_LIBLINE(`cat $OCISYSLIBLIST`, OCI8_SYSLIB)
++  fi
+ 
+-      dnl These functions are only available in version >= 9.2
+-      PHP_CHECK_LIBRARY(clntsh, OCIEnvNlsCreate,
+-      [
+-        PHP_CHECK_LIBRARY(clntsh, OCINlsCharSetNameToId,
+-        [
+-          AC_DEFINE(HAVE_OCI_9_2,1,[ ])
+-          OCI8_VERSION=9.2
+-        ], [], [
+-          -L$OCI8_DIR/lib $OCI8_SHARED_LIBADD
+-        ])
+-      ], [], [
+-        -L$OCI8_DIR/lib $OCI8_SHARED_LIBADD
+-      ])
+-      ;;
++  AC_OCI8IC_VERSION($PHP_OCI8_INSTANT_CLIENT)
++  case $OCI8_VERSION in
+     10.1)
+       PHP_ADD_LIBRARY(clntsh, 1, OCI8_SHARED_LIBADD)
+-      PHP_ADD_LIBPATH($OCI8_DIR/lib, OCI8_SHARED_LIBADD)
+-      AC_DEFINE(HAVE_OCI8_ATTR_STATEMENT,1,[ ])
+-      AC_DEFINE(HAVE_OCI_9_2,1,[ ])
++      PHP_ADD_LIBPATH($PHP_OCI8_INSTANT_CLIENT, OCI8_SHARED_LIBADD)
+       ;;
++
+     *)
+-      AC_MSG_ERROR(Unsupported Oracle version!)
++      AC_MSG_ERROR([Unsupported Oracle Instant Client version])
+       ;;
+   esac
+ 
+-  dnl
+-  dnl Check if we need to add -locijdbc8 
+-  dnl
+-  PHP_CHECK_LIBRARY(clntsh, OCILobIsTemporary,
+-  [
+-    AC_DEFINE(HAVE_OCI8_TEMP_LOB,1,[ ])
+-  ], [
+-    PHP_CHECK_LIBRARY(ocijdbc8, OCILobIsTemporary,
+-    [
+-      PHP_ADD_LIBRARY(ocijdbc8, 1, OCI8_SHARED_LIBADD)
+-      AC_DEFINE(HAVE_OCI8_TEMP_LOB,1,[ ])
+-    ], [], [
+-      -L$OCI8_DIR/lib $OCI8_SHARED_LIBADD
+-    ])
+-  ], [
+-    -L$OCI8_DIR/lib $OCI8_SHARED_LIBADD
+-  ])
++  AC_DEFINE(HAVE_OCI8_ATTR_STATEMENT,1,[ ])
++  AC_DEFINE(HAVE_OCI_9_2,1,[ ])
++  AC_DEFINE(HAVE_OCI8_TEMP_LOB,1,[ ])
++  AC_DEFINE(PHP_OCI8_HAVE_COLLECTIONS,1,[ ])
++  AC_DEFINE(HAVE_OCI_INSTANT_CLIENT,1,[ ])
+ 
+   PHP_NEW_EXTENSION(oci8, oci8.c, $ext_shared)
+   AC_DEFINE(HAVE_OCI8,1,[ ])
+@@ -151,4 +112,5 @@ if test "$PHP_OCI8" != "no"; then
+   PHP_SUBST_OLD(OCI8_SHARED_LIBADD)
+   PHP_SUBST_OLD(OCI8_DIR)
+   PHP_SUBST_OLD(OCI8_VERSION)
++
+ fi

Added: trunk/web/freshrpms.net/docs/oracle/php-modules.spec
===================================================================
--- trunk/web/freshrpms.net/docs/oracle/php-modules.spec	2005-04-08 09:57:27 UTC (rev 3116)
+++ trunk/web/freshrpms.net/docs/oracle/php-modules.spec	2005-04-08 18:03:43 UTC (rev 3117)
@@ -0,0 +1,206 @@
+# $Id$
+
+%define php_extdir %(php-config --extension-dir 2>/dev/null || echo "/usr/lib/php4")
+#define php_version #(rpm -q --qf '%{version}' php || echo "none")
+%define php_version 4.3.10
+%define extensions mcrypt oci8 mime_magic pdf
+
+Summary: Additional PHP extension modules
+Name: php-modules
+Version: %{php_version}
+Release: 2
+License: PHP
+Group: Development/Languages
+URL: http://www.php.net/
+Source: http://www.php.net/distributions/php-%{version}.tar.bz2
+Patch: php-4.3.10-oci8instantclient.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: php, php-devel
+# Required by phpize
+BuildRequires: autoconf, automake, libtool, gcc-c++
+
+%description
+PHP is an HTML-embedded scripting language. PHP attempts to make it
+easy for developers to write dynamically generated webpages. PHP also
+offers built-in database integration for several commercial and
+non-commercial database management systems, so writing a
+database-enabled webpage with PHP is fairly simple. The most common
+use of PHP coding is probably as a replacement for CGI scripts. The
+mod_php module enables the Apache Web server to understand and process
+the embedded PHP language in Web pages.
+
+This package rebuilds many additional extension modules.
+
+
+%package -n php-mcrypt
+Summary: A module for PHP applications that use encryption routines.
+Group: Development/Languages
+Requires: php = %{version}, libmcrypt
+BuildRequires: libmcrypt-devel
+Provides: php_encryption
+
+%description -n php-mcrypt
+The php-mcrypt package contains a dynamic shared object that will add
+support for using encryption routines with PHP.
+
+
+%package -n php-oci8
+Summary: An OCI8 (Oracle) database module for PHP.
+Group: Development/Languages
+Requires: php = %{version}, oracle-instantclient-basic
+BuildRequires: oracle-instantclient-devel
+Provides: php_database
+
+%description -n php-oci8
+The php-oci8 package includes a dynamic shared object (DSO) that can
+be compiled in to the Apache Web server to add Oracle 8i/9i database
+support to PHP.
+
+
+%package -n php-mime_magic
+Summary: A PHP module to guess the content type and encoding of a file.
+Group: Development/Languages
+Requires: php = %{version}, file
+
+%description -n php-mime_magic
+The functions in this module try to guess the content type and encoding of a
+file by looking for certain magic byte sequences at specific positions within
+the file. While this is not a bullet proof approach the heuristics used do a
+very good job.
+This extension is derived from Apache mod_mime_magic, which is itself based
+on the file command maintained by Ian F. Darwin.
+
+
+%package -n php-pdf
+Summary: A PHP module to generate PDF files using pdflib
+Group: Development/Languages
+Requires: php = %{version}
+BuildRequires: pdflib-devel, gd-devel
+
+%description -n php-pdf
+The php-pdf package contains a dynamic shared object that will add support
+for generating PDF files by using pdflib.
+
+
+#%package -n php-xslt
+#Summary: A PHP module for Extensible Stylesheet Language Transformations
+#Group: Development/Languages
+#Requires: php = %{version}, sablotron
+#BuildRequires: sablotron-devel, expat-devel, glibc-headers, glibc-devel
+##libiconv-devel
+#
+#%description -n php-xslt
+#This module contains a processor independent API for XSLT, the Extensible
+#Stylesheet Language Transformations, which uses Sablotron as the backend.
+
+
+%prep 
+%setup -n php-%{version}
+%patch -p1 -b .instantclient
+
+
+%build
+for ext in %{extensions}; do
+    if [ "${ext}" = "xslt" ]; then
+        options="--with-xslt-sablot --with-sablot-js"
+    elif [ "${ext}" = "pdf" ]; then
+        # Ugly include workaround
+        mkdir ext/pdf/ext
+        ln -s ../../gd ext/pdf/ext/gd
+        options=""
+    else
+        options=""
+    fi
+    pushd ext/${ext}
+        phpize
+        %configure ${options}
+        %{__make}
+    popd
+done
+
+
+%install
+%{__rm} -rf %{buildroot}
+for ext in %{extensions}; do
+    pushd ext/${ext}
+        %{__make} install INSTALL_ROOT=%{buildroot}
+    popd
+done
+
+# Drop in the bits of configuration
+%{__mkdir_p} %{buildroot}%{_sysconfdir}/php.d
+for ext in %{extensions}; do
+    %{__cat} > %{buildroot}%{_sysconfdir}/php.d/${ext}.ini << EOF
+; Enable ${ext} extension module
+extension=${ext}.so
+EOF
+done
+
+# Specific configuration additions
+
+# mime_magic
+%{__cat} >> %{buildroot}%{_sysconfdir}/php.d/mime_magic.ini << EOF
+
+; Configuration
+mime_magic.magicfile = /usr/share/file/magic.mime
+EOF
+
+
+%clean
+%{__rm} -rf %{buildroot}
+
+
+%files -n php-mcrypt
+%defattr(-, root, root, 0755)
+%doc ext/mcrypt/CREDITS ext/mcrypt/TODO
+%config(noreplace) %{_sysconfdir}/php.d/mcrypt.ini
+%{php_extdir}/mcrypt.so
+
+%files -n php-oci8
+%defattr(-, root, root, 0755)
+%doc ext/oci8/CREDITS
+%config(noreplace) %{_sysconfdir}/php.d/oci8.ini
+%{php_extdir}/oci8.so
+
+%files -n php-mime_magic
+%defattr(-, root, root, 0755)
+%doc ext/mime_magic/CREDITS ext/mime_magic/TODO
+%config(noreplace) %{_sysconfdir}/php.d/mime_magic.ini
+%{php_extdir}/mime_magic.so
+
+%files -n php-pdf
+%defattr(-, root, root, 0755)
+%doc ext/pdf/CREDITS
+%config(noreplace) %{_sysconfdir}/php.d/pdf.ini
+%{php_extdir}/pdf.so
+
+#%files -n php-xslt
+#%defattr(-, root, root, 0755)
+#%doc ext/xslt/README.XSLT-BACKENDS ext/xslt/TODO
+#%config(noreplace) %{_sysconfdir}/php.d/xslt.ini
+#%{php_extdir}/xslt.so
+
+
+%changelog
+* Wed Feb  9 2005 Matthias Saou <http://freshrpms.net/> 4.3.10-1
+- Added php-pdf module.
+
+* Mon Jan 17 2005 Matthias Saou <http://freshrpms.net/> 4.3.10-1
+- Rebuild 4.3.10 modules for FC2 errata.
+
+* Thu Sep  2 2004 Matthias Saou <http://freshrpms.net/> 4.3.8-2
+- Rebuilt with Oracle 9i libs (vs. 8i previously).
+- Remove dba module, it's built in the main, so not overridable.
+
+* Tue Jun 29 2004 Matthias Saou <http://freshrpms.net/> 4.3.6-1
+- Added dba module.
+
+* Tue May 18 2004 Matthias Saou <http://freshrpms.net/> 4.3.6-1
+- Rebuilt for 4.3.6.
+
+* Thu May 13 2004 Matthias Saou <http://freshrpms.net/> 4.3.4-1
+- Added mime_magic module.
+
+* Fri May  7 2004 Matthias Saou <http://freshrpms.net/> 4.3.4-1
+- Initial RPM release.
+


Property changes on: trunk/web/freshrpms.net/docs/oracle/php-modules.spec
___________________________________________________________________
Name: svn:keywords
   + Id

Modified: trunk/web/freshrpms.net/docs/tips/index.html
===================================================================
--- trunk/web/freshrpms.net/docs/tips/index.html	2005-04-08 09:57:27 UTC (rev 3116)
+++ trunk/web/freshrpms.net/docs/tips/index.html	2005-04-08 18:03:43 UTC (rev 3117)
@@ -10,6 +10,7 @@
 <p>
 <ul>
  <li><a href="#nat">Dedicated, fixed network address translation for a single host</a></li>
+ <li><a href="#sshpwless">Password-less ssh access</a></li>
 </ul>
 </p>
 
@@ -66,6 +67,24 @@
 service iptables save
 </pre>
 
+<a name="sshpwless" />
+<p class="largetext">
+Password-less ssh access
+</p>
+
+<p>
+On the client, as the user who will be starting the ssh connections :
+</p>
+
+<pre>
+ssh-keygen -d
+</pre>
+
+<p>
+Just press enter when prompted for the passphrase. You'll then get both the private (~/.ssh/id_dsa) and the public (~/.ssh/id_dsa.pub) keys.<br />
+On the server, append the content of the client's public key file to the ~/.ssh/authorized_keys file (with some older openssh versions, this may be ~/.ssh/authorized_keys2). Make sure there are no permissions set for group or other on the ~/.ssh/ directories (mode 700) and the files they contain (mode 600).
+</p>
+
 <?php
   page_footer ('$Id$');
 ?>




More information about the commits mailing list