Diff for /wikisrc/tutorials/how_to_run_oracle_express_on_netbsd.mdwn between versions 1.1 and 1.2

version 1.1, 2011/11/20 20:55:21 version 1.2, 2012/02/05 07:14:36
Line 1 Line 1
 #   Oracle Express on NetBSD  #   Oracle Express on NetBSD 
   
 started by Emmanuel Kasper  started by Emmanuel Kasper 
   
 Oracle Express is a free beer version of the Oracle Database. You are free to use it in production, and to redistribute it, but it has harcoded limits of use one CPU, 1 GB of RAM, and 4 GB for a table size.  Oracle Express is a free beer version of the Oracle Database. You are free to use it in production, and to redistribute it, but it has harcoded limits of use one CPU, 1 GB of RAM, and 4 GB for a table size. 
   
 Download the binary at <http://www.oracle.com/technology/software/products/database/xe/index.html>  Download the binary at <http://www.oracle.com/technology/software/products/database/xe/index.html>
   
 Convert the rpm in cpio format  Convert the rpm in cpio format 
          
     pkg_add -v rpm2cpio      pkg_add -v rpm2cpio
     rpm2cpio.pl oracle-xe-univ-10.2.0.1-1.0.i386.rpm > oracle-xe-univ-10.2.0.1-1.0.i386.cpio      rpm2cpio.pl oracle-xe-univ-10.2.0.1-1.0.i386.rpm > oracle-xe-univ-10.2.0.1-1.0.i386.cpio
          
   
 Unpack the cpio archive (it installs in /usr/lib/oracle )  Unpack the cpio archive (it installs in /usr/lib/oracle ) 
          
     cpio -idv < oracle-xe-univ-10.2.0.1-1.0.i386.cpio      cpio -idv < oracle-xe-univ-10.2.0.1-1.0.i386.cpio
          
   
 Install the Suse linux environnment. I don't need what exactly needed, so I prefer to install all.  Install the Suse linux environnment. I don't need what exactly needed, so I prefer to install all. 
          
     pkg_add -v suse-9.1nb3      pkg_add -v suse-9.1nb3
          
   
 Add oracle libraries to ldconfig library cache  Add oracle libraries to ldconfig library cache 
          
     echo /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib >> /emul/linux/etc/ld.so.conf      echo /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib >> /emul/linux/etc/ld.so.conf
     /emul/linux/sbin/ldconfig      /emul/linux/sbin/ldconfig
          
   
 Test sqlplus binary  Test sqlplus binary 
          
     sqlplus /nolog      sqlplus /nolog 
          
   
 Right now we have a sqlplus binary that works and is abled to connect over the network to a database but creating a database fails with the error:  Right now we have a sqlplus binary that works and is abled to connect over the network to a database but creating a database fails with the error: 
          
     ERROR:      ERROR:
     ORA-12549: TNS:operating system resource quota exceeded      ORA-12549: TNS:operating system resource quota exceeded
          
   
 I guess some kernel recompile is necessary. See <http://n0se.shacknet.nu/>  I guess some kernel recompile is necessary. See <http://n0se.shacknet.nu/>
   

Removed from v.1.1  
changed lines
  Added in v.1.2


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb