File:  [NetBSD Developer Wiki] / wikisrc / tutorials / how_to_run_oracle_express_on_netbsd.mdwn
Revision 1.2: download - view: text, annotated - select for diffs
Sun Feb 5 07:14:36 2012 UTC (8 years, 11 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD

#   Oracle Express on NetBSD 

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. 

Download the binary at <>

Convert the rpm in cpio format 
    pkg_add -v rpm2cpio oracle-xe-univ- > oracle-xe-univ-

Unpack the cpio archive (it installs in /usr/lib/oracle ) 
    cpio -idv < oracle-xe-univ-

Install the Suse linux environnment. I don't need what exactly needed, so I prefer to install all. 
    pkg_add -v suse-9.1nb3

Add oracle libraries to ldconfig library cache 
    echo /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib >> /emul/linux/etc/

Test sqlplus binary 
    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: 
    ORA-12549: TNS:operating system resource quota exceeded

I guess some kernel recompile is necessary. See <>

CVSweb for NetBSD wikisrc <> software: FreeBSD-CVSweb