1: # Oracle Express on NetBSD
2:
3: started by Emmanuel Kasper
4:
5: 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.
6:
7: Download the binary at <http://www.oracle.com/technology/software/products/database/xe/index.html>
8:
9: Convert the rpm in cpio format
10:
11: pkg_add -v rpm2cpio
12: rpm2cpio.pl oracle-xe-univ-10.2.0.1-1.0.i386.rpm > oracle-xe-univ-10.2.0.1-1.0.i386.cpio
13:
14:
15: Unpack the cpio archive (it installs in /usr/lib/oracle )
16:
17: cpio -idv < oracle-xe-univ-10.2.0.1-1.0.i386.cpio
18:
19:
20: Install the Suse linux environnment. I don't need what exactly needed, so I prefer to install all.
21:
22: pkg_add -v suse-9.1nb3
23:
24:
25: Add oracle libraries to ldconfig library cache
26:
27: echo /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib >> /emul/linux/etc/ld.so.conf
28: /emul/linux/sbin/ldconfig
29:
30:
31: Test sqlplus binary
32:
33: sqlplus /nolog
34:
35:
36: 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:
37:
38: ERROR:
39: ORA-12549: TNS:operating system resource quota exceeded
40:
41:
42: I guess some kernel recompile is necessary. See <http://n0se.shacknet.nu/>
43:
CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb