DoIT Middleware Knowledgebase


 ADVANCED

Installing Oracle Virtual Directory on RedHat 5.3


Installing OVD 10.1.4 doesn't work out of the box so here are some tips that might help

Assumptions and other things you should know before starting:

  1. Assumes you are installing via SSH session with trusted x11-forwarding (i.e., ssh -Y user@host)
  2. If you are sitting at the console you should just be able to skip the part about getting X11 working and the
    env XAUTHORITY=/ovd/.Xauthority
    on the installers
  3. Assumes you already have
    as_linux_x86_oracle_virtual_directory_101401.cpio
    in your home directory.
  4. Assumes ovd user created and homed at
     /ovd
  5. Assumes you su to ovd user for installation & patch installs
  6. Failed installs do not clean up on exit so /tmp fills up quick. (rm -rf /tmp/install.dir.*is your friend)

Preparation

  1. sudo -u ovd mkdir /ovd/install /ovd/install/10.1.4.1 /ovd/inst/patch_10.1.4.2
  2. sudo cp as_linux_x86_oracle_virtual_directory_101401.cpio /ovd/install/10.1.4.1
  3. cd /ovd/inst/10.1.4.1
  4. sudo -u ovd cpio --make-directories -i < ../as_linux_x86_oracle_virtual_directory_101401.cpio
  5. cd /ovd/inst/patch_10.1.4.2
  6. sudo -u ovd unzip ../p5983640_101420_LINUX.zip

Fix the Installers

Server

  1. cd /ovd/install/10.1.4.1/server
  2. cat ovid1014.bin | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > new.ovid1014.bin
  3. sudo chmod +x new.ovid1014.bin

Manager

  1. cd /ovd/install/10.1.4.1/manager
  2. cat ovidm1014.bin | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > new.ovidm1014.bin
  3. sudo chmod +x new.ovidm1014.bin

Get X11 Working

  1. sudo cp ~/.Xauthority /ovd
  2. sudo chown ovd.ovd /ovd/.Xauthority

Server Installer

NOTE: must be su'd to ovd (i.e., sudo su - ovd)
  1. env XAUTHORITY=/ovd/.Xauthority  /ovd/install/10.1.4.1/server/new.ovid1014.bin
... blah blah blah, click click click...

Manager Installer

NOTE: must be su'd to ovd (i.e., sudo su - ovd)
  1. env XAUTHORITY=/ovd/.Xauthority /ovd/install/10.1.4.1/manager/new.ovidm1014.bin
... blah blah blah, click click click...

Patching OVD 10.1.4.1 to 10.1.4.2.0

Install oraInit.loc

Create oraInst.loc with the following contents:
inventory_loc=ovd/Oracle/oraInventory
inst_group=Whatever

copy oraInst.loc to /etc/
sudo cp oraInst.loc /etc

Apply Server Patch

NOTE: must be su'd to ovd (i.e., sudo su - ovd)
  1. env XAUTHORITY=/ovd/.Xauthority JAVAHOME=/usr/lib/jvm/jre-1.4.2-ibm ./OVD10142_Server.sh
  2. env XAUTHORITY=/ovd/.Xauthority JAVAHOME=/usr/lib/jvm/jre-1.4.2-ibm ./OVD10142_Manager.sh



Keywords: OVD Install RedHat Linux Doc ID: 9596
Owner: Mark W.Group: Middleware
Created: 2009-04-15Updated: 2009-04-22

Did this document help you to answer your question?