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 SQL Relay - Getting Started With Oracle Install Software Packages

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-devel
Configure 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-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 Oracle

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.zip
Change directories to the database directory.

Type ./runInstaller

On the Installation Method screen, accept the default Basic Installation. Change the Global Database Name from "orcl" to "ora1". Enter a password in the Database Password and Confirm Password boxes for the SYS, SYSTEM, SYSMAN and DBSNMP accounts. Be sure to enter a password that starts with a letter, not a number. Click Next

The window will go away and a Specify Inventory directory and credentials dialog will appear. In the Enter the full path of the inventory directory type in /u01/app/oracle/oraInventory. Click Next

The window will go away and a Product-Specific Prerequisite Checks dialog will appear and operating system requirements will be checked. When it's done, click Next. If a dialog pops up indicating that some of the prerequisite checks have failed, click Yes to proceed.

On the Oracle Configuration Manager Registration screen, just click Next. On the Summary screen, click Install

The Install screen will show the progress of the installation

When installation is finished, the Configuration Assistants screen will show the progress of the initial configuration processes.

A Database Configuration Assistant dialog should pop up. The image on the left hand side will change regularlry, but the dialog itself may not display anything. Ignore this, the configuration is occurring.

When database creation is complete, a dialog will pop up with a summary. Click OK.

Afterward, you may get a message indicating that the database configuration assistant failed. This appears to be erroneous. Click Next and OK on the dialog that pops up.

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