rami.info



Installing Oracle 10g (10.2.0.1.0) On Gentoo 2005.1

Posted in TechNotes by Rami on the September 17th, 2005

Before installing add the following to /etc/sysctl.conf:
kernel.shmall = 3279547
kernel.shmmax = 4294967295
kernel.sem = 256 32000 100 142
fs.file-max = 327679
net.ipv4.ip_local_port_range = 10000 65000
kernel.msgmni = 2878
kernel.msgmnb = 65535

And get a compatible libaio by doing the following (tip from http://gentoo-wiki.com/HOWTO_Install_Oracle_10g):
wget ftp://ftp.suse.com/pub/suse/i386/9.1/suse/src/libaio-0.3.98-17.src.rpm
rpm2targz libaio-0.3.98-17.src.rpm
tar zxf libaio-0.3.98-17.src.tar.gz
tar jxf libaio-0.3.98.tar.bz2
cd libaio-0.3.98
make
make install

The rest is straight forward.

Update: ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5 /usr/lib/libstdc++.so.5 is also needed to be done.