Hosted on MUO - DocSection - Section Utils & Apps


Next Previous Contents

3. Pre-install

3.1 Environment

We have already created our oracle user account and set up the groups. We now need to set up the environment for the oracle user.

Firstly, log on as user oracle in shell window (su oracle). Do the following.

This completes setting up user environments.

3.2 Link Java

We need to create symbolic links for Java so that Oracle which is hard coded with the locations can find it.

Do the following as root.

3.3 Copy Oracle Cdrom to a Local Hard Disk

One of the installation files on the Cdrom has a hard coded path which I found we need to edit. Therefore I copied the entire /mnt/cdrom directory to a new location on a spare partition. You will need approx 350Mb of space. Use whatever method you are happy with to perform the copy.

Note: Whatever path you copy the /mnt/cdrom directory to, I will refer to it as cdrom-path from now on.

Edit the following file /cdrom-path/install/oraparam.ini and change the JRE_LOCATION as below:

from

to

Save the file and exit.

Now we need to create another link as root:

The directory /linux can be deleted after a successfull installation.

3.4 GLIBC Workaround

As I stated before Oracle requires glibc 2.1.x, no more no less. As the system currently uses 2.2.x you already should have installed the 2.1.x library in /usr. To fool Oracle into using the older version we need to move some of the 2.2.x files aside just for the install.

Do the following as root.

After successfull installation, you must undo the above commands by deleting the links and moving back the compilers to their original locations, gcc etc. Also, you need to move the libraries back to their original locations, libc.so etc.

This completes the pre-install process.


Next Previous Contents
Hosted on MUO - DocSection - Section Utils & Apps