touch /etc/oraInst.loc chown testdb /etc/oraInst.loc chgrp testdb /etc/oraInst.loc echo 65536 > /proc/sys/fs/file-max echo 2097152 > /proc/sys/kernel/shmall echo 2147483648 > /proc/sys/kernel/shmmax echo 4096 > /proc/sys/kernel/shmmni echo "250 32000 100 128" > /proc/sys/kernel/sem install libaio-devel libaio ignore warnings don't enable oracle configuration manager tnsnames.ora has 640 perms
Oracle 1rg requires some software packages that may not have been installed on your system. Run the following yum command to install them:
yum install libaio libaio-develConfigure the Kernel
Oracle 10g requires that you at least temporarily increase the values of a couple of kernel parameters. To temporarily increase these values, follow these instructions (as root):
echo 65536 > /proc/sys/fs/file-maxInstall Oracle
echo 2097152 > /proc/sys/kernel/shmall
echo 2147483648 > /proc/sys/kernel/shmmax
echo 4096 > /proc/sys/kernel/shmmni
echo "250 32000 100 128" > /proc/sys/kernel/sem
Now, log in as the oracle user.
Since Oracle 11.1.0 uses a graphical installer, you need to be running X Windows or point the DISPLAY environment variable to an X Windows session running somewhere.
I have had problems with the graphical installer on enlightenment and fluxbox window managers in the past, though they may work for you.
If you have a CD, mount it and cd to the mount point. If you have a zip distribution, extract the file using:
unzip linux_x86_11gR1_database.zipChange directories to the database directory.
A dialog will pop up asking you to run some scripts as root. Just follow the
directions on the dialog and click Ok
On the End Of Installation screen click Exit
A dialog will pop up asking: Do you really want to exit?
Click Yes.
Post-Installation
During the installation, several ancillary processes were started. You can shut some of them down by executing the following commands (as oracle):
emctl stop dbconsole
At this point, only the database and tns listener should be running.
During the installation, the tnsnames.ora file which tells clients how to connect to the database will most likely have been created in 640 mode, leaving it unreadable by anyone not in the oinstall group. There are 2 options here, either add every user that you want to be able to access oracle to the oinstall group, or change permissions on tnsnames.ora to make it world-readable. If you opt for the latter, you can do so using the following command:
chmod o+r /u01/app/oracle/product/11.1.0/network/admin/tnsnames.ora