Odi's astoundingly incomplete notes
New entries | CodeInstalling Oracle 12c on x86_64 Gentoo
Installing Oracle 12c on an uptodate Gentoo system is no problem at all and a lot easier than installing 11g.
emerge the following additional packages:
emerge the following additional packages:
- ksh (93.20140625 works fine)
- rpm
- xdpyinfo
- libXi
- libXtst
- libXau
- libXi
- libaio
- sysstat
- elfutils
/dev/shm
mount options need to be default and the size needs to be set to accomodate your SGA. NB that more shm is required than the size of your SGA. This seems to be due to Oracle bugs. The required additional space can be a lot. To be safe, just set it to all available memory:/etc/fstab
:shm /dev/shm tmpfs defaults,size=64g 0 0Then:
mount -o remount,defaults,size=64g /dev/shm
/etc/sysctl.conf: Always overcommit seems to be the only working solution with dozens of GB SGA.
# there is no swap really
vm.swappiness=0
# 0: default overcommit
# 1: always overcommit
# 2: never overcommit. max = swap + ratio% * RAM
vm.overcommit_memory=1
# commit limit = (swap + ratio% * RAM)
vm.overcommit_ratio=100
Then sysctl -p
If remote installing:
- /etc/ssh/sshd_config: X11Forwarding yes
- use
ssh -Y user@host
./runInstaller
Disable password expiryAdd comment