Skip Headers

Oracle® Database Client Installation Guide
10g Release 1 (10.1) for UNIX Systems: AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux x86, and Solaris Operating System (SPARC)
Part No. B12087-01
  Go To Table Of Contents
Contents
Go To Index
Index

Previous Next  

2 Pre-installation Tasks

This chapter describes the tasks that you must complete before you start the Oracle Universal Installer. It includes information about the following tasks:

Log In to the System as root

Before you install the Oracle software, you must complete several tasks as the root user. To log in as the root user, complete one of the following procedures:


Note:

Unless you intend to complete a silent installation, you must install the software from an X Window System workstation, an X terminal, or a PC or other system with X server software installed.

For more information about non-interactive and silent installations, see Appendix B.


Check the Hardware Requirements

The system must meet the following minimum hardware requirements:

To ensure that the system meets these requirements, follow these steps:

  1. To determine the physical RAM size, enter one of the following commands:

    Platform Command
    AIX
    # /usr/sbin/lsattr -E -l sys0 -a realmem
    
    HP-UX
    # /usr/sbin/dmesg | grep "Physical:"
    
    Linux
    # grep MemTotal /proc/meminfo
    
    Solaris
    # /usr/sbin/prtconf | grep "Memory size"
    
    Tru64 UNIX
    # /bin/vmstat -P | grep "Total Physical Memory"
    

    If the size of the physical RAM installed in the system is less than the required size, you must install more memory before continuing.

  2. To determine the size of the configured swap space, enter one of the following commands:

    Platform Command
    AIX
    # /usr/sbin/lsps -a
    
    HP-UX
    # /usr/sbin/swapinfo -a
    
    Linux
    # grep SwapTotal /proc/meminfo
    
    Solaris
    # /usr/sbin/swap -s
    
    Tru64 UNIX
    # /sbin/swapon -s
    

    If necessary, see your operating system documentation for information about how to configure additional swap space.

  3. To determine the amount of disk space available in the /tmp directory, enter one of the following commands:

    • HP-UX:

      # bdf /tmp
      
      
    • Other operating systems:

      # df -k /tmp
      
      

    If there is less than 400 MB of disk space available in the /tmp directory, complete one of the following steps:

    • Delete unnecessary files from the /tmp directory to achieve the required disk space.

    • Set the TEMP and TMPDIR environment variables when setting the oracle user’s environment (described later).

    • Extend the file system that contains the /tmp directory. If necessary, contact your system administrator for information about extending file systems.

  4. To determine the amount of free disk space on the system, enter one of the following commands:

    • HP-UX:

      # bdf
      
      
    • Other operating systems:

      # df -k
      
      

    The following table shows the approximate disk space requirements for software files for each installation type:

    Platform Installation Type Requirement for Software Files (MB)
    AIX Instant Client 150
    Administrator 1900
    Runtime 1000
    Custom (maximum) 1800
    HP-UX Instant Client 150
    Administrator 1500
    Runtime 1000
    Custom 1400
    Linux Instant Client 110
    Administrator 650
    Runtime 350
    Custom (maximum) 650
    Solaris Instant Client 150
    Administrator 1000
    Runtime 600
    Custom (maximum) 850
    Tru64 UNIX Instant Client 150
    Administrator 1900
    Runtime 1000
    Custom (maximum) 1800

  5. To determine whether the system architecture can run the software, enter one of the following commands:


    Note:

    If you do not see the expected output, you cannot install the software on this system.

    Platform Command Expected Output
    AIX
    # /usr/bin/getconf HARDWARE_BITMODE
    
    
    64
    
    HP-UX
    # /bin/getconf KERNEL_BITS
    
    
    64
    
    Linux
    # grep "model name" /proc/cpuinfo
    
    
    This command displays the processor type. Verify that the processor architecture matches the Oracle software release that you want to install.
    Solaris
    # /bin/isainfo -kv
    
    64-bit sparcv9 kernel modules
    

Check the Software Requirements

Depending on your operating system, see one of the following sections for information about checking the software requirements:

Checking the Software Requirements on AIX

Check that the required software and patches are installed on the system.


Check for Required Software

Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Operating system version and maintenance level:

AIX 5L version 5.2, Maintenance Level 1 or higher

Operating system filesets:
bos.adt.base
bos.adt.lib
bos.adt.libm
bos.perf.libperfstat
bos.perf.perfstat
bos.perf.proctools
Oracle JDBC/OCI Drivers You can use the following optional IBM JDK versions with the Oracle JDBC/OCI drivers, however they are not required for the installation:
  • JDK 1.4.1.1 (64-bit)

  • JDK 1.3.1.11 (32-bit)

  • JDK 1.2.2.18

Note: IBM JDK 1.4.1.2 (32-bit) is installed with this release.

Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
C for AIX Compiler V6.0.0.4:

vac.C

VisualAge C++ Compiler V6.0:

vacpp.cmp.core

Pro*COBOL Micro Focus Server Express 2.2
Pro*FORTRAN IBM XL Fortran Compiler V8.1:
xlfcmp
xlfrte
SQL*Module for Ada OC Systems PowerAda 5.3 or higher

Note: For more information about OC Systems and PowerAda 5.3, see the following Web site:

http://www.ocsystems.com/contact.html


To ensure that the system meets these requirements, follow these steps:

  1. To determine which version of AIX is installed, enter the following command:

    # oslevel -r
    
    

    If the operating system version is lower than AIX 5.2.0.0 Maintenance Level 1 (5200-01), upgrade your operating system to this level. AIX 5L version 5.2 maintenance packages are available from the following Web site:

    https://techsupport.services.ibm.com/server/aix.fdc
    
    
  2. To determine whether the required filesets are installed and committed, enter a command similar to the following:

    # lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat \ bos.perf.libperfstat bos.perf.proctools
    
    

    If a fileset is not installed and committed, then install it. See your operating system or software documentation for information about installing filesets.


Check for Required Patches

Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Authorized Problem Analysis Reports (APARs):
  • IY43980: libperfstat.h not ANSI-compliant

  • IY44810: DSI IN BMRECYCLE

  • IY45462: Definition of isnan() in math.h incorrect

  • IY45707: J2 READAAHEAD/CIO INTERACTION

  • IY46214: dropping partial connections leaves them on so_q0

  • IY46605: exec of 32 bit application can fail on 64 bit kernel

  • IY48525: SDK 1.4.1 32-BIT SR1: CA141-20030930

  • IY51801: race condition in aio_nwait_timeout

Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
Program Technical Fixes (PTFs):
  • U489726 - vac.C.6.0.0.4 (or later)

Pro*FORTRAN APARs required for XL Fortran:

IY39855: INTERNAL APAR FOR XLF COMPILER PTF 8.1.0.3

Oracle JDBC/OCI Drivers Note: These APARs are required only if you are using the associated JDK version.

APARs required for JDK 1.4.1.1 (64-bit):

  • IY48526: SDK 1.4.1 64-BIT SR1: CAIX64141-20030930

APARs required for JDK 1.3.1.11 (32-bit):

  • IY47055: SDK 1.3.1 32-BIT PTF: CA131-20030630A

APARs required for JDK 1.2.2.18:

  • IY40034: SDK 1.2.2 PTF: CA122-20030115


To ensure that the system meets these requirements, follow these steps:

  1. To determine whether an APAR is installed, enter a command similar to the following:

    # /usr/sbin/instfix -i -k "IY22854 IY26778 ..."
    
    

    If an APAR is not installed, download it from the following Web site and install it:

    https://techsupport.services.ibm.com/server/aix.fdc
    
    
  2. To determine whether a PTF is installed, enter a command similar to the following:

    # lslpp -l -B U489726 U485561 ...
    
    

    If a PTF is not installed, download it from the following Web site and install it:

    https://techsupport.services.ibm.com/server/aix.fdc
    
    
  3. To continue completing pre-installation tasks, go to the "Create Required UNIX Group and User" section.

Checking the Software Requirements on HP-UX

Check that the required software and patches are installed on the system.


Check for Required Software

Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Operating system version:

HP-UX 11i (11.11) PA-RISC

Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
HP C/ANSI C Compiler (B.11.11.08 or higher):
C-ANSI-C

HP aC++ Compiler (A.03.50 or higher):

ACXX
Pro*COBOL Micro Focus Server Express 2.2 or higher
Pro*FORTRAN HP Fortran 90 Compiler (B.11.11.71 or higher):
FORTRAN90
Oracle JDBC/OCI Drivers You can use the following optional Java SDK versions with the Oracle JDBC/OCI drivers, however they are not required for the installation:
  • Java SDK 1.3.1.02 with the JNDI extension

  • Java SDK 1.2.2.09

Note: Java SDK 1.4.2.00 is installed with this release.

Oracle Net protocol support for DCE DCE (B.11.11.10 or higher):
DCE-C-Tools
DCE-CDS-Server
DCE-Core
DCE-CoreAdmin
DCE-CoreTools
DCE-SEC-Server

To ensure that the system meets these requirements, follow these steps:

  1. To determine which version of HP-UX is installed, enter the following command:

    # uname -a
    HP-UX hostname B.11.11 U 9000/800 109444686 unlimited-user license
    
    

    In this example, the version of HP-UX 11i is 11.11.

  2. To determine whether a bundle, product, or fileset is installed, enter a command similar to the following, where level is bundle, product, or fileset:

    # /usr/sbin/swlist -l level | more
    
    

    If a required bundle, product, or fileset is not installed, you must install it. See your operating system or software documentation for information about installing products.


Check for Required Patches

Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.


Note:

There may be more recent versions of the patches listed installed on the system. If a listed patch is not installed, determine whether a more recent version is installed before installing the version listed.

Installation Type or Product Requirement
All installations Quality Pack bundle:

HP-UX 11i Quality Pack (GOLDQPK11i), June 2003 or later:

GOLDAPPS11i
GOLDBASE11i
All installations Patches for HP-UX 11i (11.11):
  • PHCO_28123: cumulative SAM patch

  • PHKL_29198: Psets Enablement Patch; top(1)

  • PHNE_28476: Cumulative STREAMS Patch

  • PHNE_28923: LAN product cumulative patch

  • PHSS_28871: ld(1) and linker tools cumulative patch

  • PHSS_28880: HP aC++ -AA runtime libraries (aCC A.03.50)

All installations Patches for JDK on HP-UX 11i (11.11):
  • PHCO_26331: mountall cumulative patch, Dev IDs enabler

  • PHCO_29109: Pthread enhancement and fixes

  • PHKL_25468: eventport (/dev/poll) pseudo driver

  • PHKL_25842: Thread Abort

  • PHKL_25993: thread nostop for NFS, rlimit, Ufalloc fix

  • PHKL_25994: Thread NOSTOP, Psets Enablement, Ufalloc

  • PHKL_25995: ufalloc;VxFS3.5;SPP fragmentation

  • PHKL_26468: Shared synchronization performance support

  • PHKL_28489: copyin EFAULT, LDCD access type

Note: See the following Web site for information about additional patches that might be required by JDK 1.4.2:

http://www.hp.com/products1/unix/java/patches/index.html
Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
Patches for HP-UX 11i (11.11):
  • PHSS_29484: ANSI C compiler B.11.11.08 cumulative patch

  • PHSS_29485: +O4/PBO Compiler B.11.11.08 cumulative patch

Oracle Net protocol support for DCE Patches for HP-UX 11i (11.11):
  • PHSS_28386: HP DCE/9000 1.8 DCE Client IPv6 patch

  • PHSS_28387: HP DCE/9000 1.8 Server/DevTools cum. patch

  • PHSS_28388: HP DCE/9000 1.8 Integrated Login cum. patch

  • PHSS_29669: HP DCE/9000 1.8 DCE Client IPv6 patch


To ensure that the system meets these requirements, follow these steps:

  1. To determine whether the HP-UX 11i Quality Pack is installed, enter the following command:

    # /usr/sbin/swlist -l bundle | grep GOLD
    
    

    If the Quality Pack is not installed, or if the date is before June 2003, download the latest Quality Pack from the following Web site and install it:

    http://www.software.hp.com/SUPPORT_PLUS/qpk.html
    
    
  2. To determine whether a patch is installed, enter a command similar to the following:

    # /usr/sbin/swlist -l patch | grep PHSS_28880
    
    

    Alternatively, to list all installed patches, enter the following command:

    # /usr/sbin/swlist -l patch | more
    
    

    If a required patch is not installed, download it from the following Web site and install it:

    http://itresourcecenter.hp.com
    
    

    If the Web site shows a more recent version of the patch, download and install that version.


Create Required Symbolic Links

Note:

This task is required only if the Motif 2.1 Development Environment package (X11MotifDevKit.MOTIF21-PRG) is not installed.

To allow you to successfully relink Oracle products after installing this software, enter the following commands to create required X library symbolic links in the /usr/lib directory:

# cd /usr/lib
# ln -s libX11.3 libX11.sl
# ln -s libXIE.2 libXIE.sl
# ln -s libXext.3 libXext.sl
# ln -s libXhp11.3 libXhp11.sl
# ln -s libXi.3 libXi.sl
# ln -s libXm.4 libXm.sl
# ln -s libXp.2 libXp.sl
# ln -s libXt.3 libXt.sl
# ln -s libXtst.2 libXtst.sl

To continue completing pre-installation tasks, go to the "Create Required UNIX Group and User" section.

Checking the Software Requirements on Linux

Check that the required software and patches are installed on the system.


Check for Required Software

Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations One of the following operating system versions:
  • Red Hat Enterprise Linux AS/ES 2.1 or 3 (x86)

  • UnitedLinux 1.0, service pack 3 or higher (x86)

The following packages (or higher versions) must be installed:

All distributions:

make-3.79
binutils-2.11.90.0.8-12

Red Hat Enterprise Linux 2.1 (x86):

gcc-2.96.108.1
openmotif-2.1.30-11

Red Hat Enterprise Linux 3:

gcc-3.2.3-2
compat-db-4.0.14.5
compat-gcc-7.3-2.96.122
compat-gcc-c++-7.3-2.96.122
compat-libstdc++-7.3-2.96.122
compat-libstdc++-devel-7.3-2.96.122
openmotif-2.2.2-16
setarch-1.3-1 

UnitedLinux 1.0 (x86):

gcc-3.2.2-38
openmotif-2.2.2-124
Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
The version of Gnu gcc listed previously for your distribution is supported for use with these products.

Note: Intel C++ Compiler v7.1.0.28 or higher is also supported, however it is not required for installation.

Pro*COBOL
(x86 systems only)
Micro Focus Server Express 2.2 or higher
Oracle JDBC/OCI Drivers You can use the following optional JDK version with the Oracle JDBC/OCI drivers, however it is not required for the installation:
  • Sun JDK 1.3.1_09 with the JNDI extension

Note: JDK 1.4.2_02 is installed with this release.


To ensure that the system meets these requirements, follow these steps:

  1. To determine which distribution and version of Linux is installed, enter the following command:

    # cat /etc/issue
    
    

    Note:

    Only the distributions and versions listed in the previous table are supported. Do not install the software on other versions of Linux.

  2. On UnitedLinux 1.0 systems only, enter the following command to determine whether Service Pack 3 is installed:

    # uname -r
    2.4.21-138-default
    
    

    This command shows the kernel version (2.4.21-138) and type (default). If the kernel version is less than 2.4.21-138, contact your UnitedLinux vendor for information about obtaining and installing Service Pack 3.

  3. To determine whether the required packages are installed, enter a command similar to the following:

    # rpm -q package_name
    
    

    If a package is not installed, install it from your Linux distribution media.


Check for Required Patches

Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.


Note:

If the following patches are superseded by later versions, install the latest version.

Installation Type or Product Requirement
All installations Red Hat Enterprise Linux 2.1 (x86) errata:
  • RHSA-2003:195-06
    Updated kernel addresses security vulnerabilities

  • RHSA-2003:022-09
    Updated glibc packages fix vulnerabilities in resolver


To ensure that the system meets these requirements, follow these steps:

  1. On Red Hat Enterprise Linux 2.1 systems only, follow these steps:

    1. To determine whether kernel update RHSA-2003:195-06 or later is installed, enter the following command:

      # uname -r
      2.4.9-e.25
      
      

      This command shows the kernel version (2.4.9) and errata level (e.25). If the errata level is less than 25, install the latest kernel update. See the following Web site for information about kernel update RHSA-2003:195-06:

      https://rhn.redhat.com/errata/RHSA-2003-195.html
      
      
    2. To determine whether fix RHSA-2003:022-09 is installed, enter the following command:

      # rpm -q glibc
      glibc-2.2.4-31
      
      

      If the version shown is less than 2.2.4-31, see the following Web site for information about fix RHSA-2003:022-09:

      https://rhn.redhat.com/errata/RHSA-2003-022.html
      
      
  2. To continue completing pre-installation tasks, go to the "Create Required UNIX Group and User" section.

Checking the Software Requirements on Solaris

Check that the required software and patches are installed on the system.


Check for Required Software

Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Operating system versions:

Solaris 8 or Solaris 9, 64-bit

Operating system packages:
SUNWarc
SUNWbtool
SUNWhea
SUNWlibm
SUNWlibms
SUNWsprot
SUNWsprox
SUNWtoo
SUNWi1of
SUNWi1cs
SUNWi15cs
SUNWxwfnt

Note: You might also require additional font packages for Java, depending on your locale. See the following Web site for more information:

http://java.sun.com/j2se/1.4.2/font-requirements.html
Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
Sun ONE Studio 8 (C and C++ 5.5)
Pro*COBOL Micro Focus Server Express 2.2 or higher
Pro*FORTRAN Sun ONE Studio 8 (Fortran 95)
Oracle JDBC/OCI Drivers You can use the following optional JDK versions with the Oracle JDBC/OCI drivers, however they are not required for the installation:
  • Sun Java 2 SDK Standard Edition 1.3.1_10 and the JNDI extension

  • Sun Java 2 SDK Standard Edition 1.2.2_17 and the JNDI extension

Note: JDK 1.4.2_01 is installed with this release.


To ensure that the system meets these requirements, follow these steps:

  1. To determine which version of Solaris is installed, enter the following command:

    # uname -r
    
    

    If the operating system version is lower than Solaris 8 (5.8), upgrade your operating system to this level.

  2. To determine whether the required packages are installed, enter a command similar to the following:

    # pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot \ SUNWsprox SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
    
    

    If a package is not installed, then install it. See your operating system or software documentation for information about installing packages.


Check for Required Patches

Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.


Note:

The patch versions shown in the following table are minimum versions. Higher versions of the same patches are also supported.

Installation Type or Product Requirement
All installations Patches for Solaris 8:

All of the patches included in the J2SE Patch Cluster for Solaris 8:

  • 108528-23, SunOS 5.8: kernel update patch

  • 108652-66, X11 6.4.1: Xsun patch

  • 108773-18, SunOS 5.8: IIIM and X I/O Method patch

  • 108921-16, CDE 1.4: dtwm patch

  • 108940-53, Motif 1.2.7 and 2.1.1: Runtime lib. patch for Solaris 8

  • 108987-13, SunOS 5.8: Patch for patchadd and patchrm

  • 108989-02, /usr/kernel/sys/acctctl & /.../exacctsys patch

  • 108993-18, SunOS 5.8: LDAP2 client, libc, ... lib. patch

  • 109147-24, SunOS 5.8: linker patch

  • 110386-03, SunOS 5.8: RBAC Feature Patch

  • 111023-02, SunOS 5.8: /kernel/fs/mntfs and ... sparcv9/mntfs

  • 111111-03, SunOS 5.8: /usr/bin/nawk patch

  • 111308-03, SunOS 5.8: /usr/lib/libmtmalloc.so.1 patch

  • 111310-01, SunOS 5.8: /usr/lib/libdhcpagent.so.1 patch

  • 112396-02, SunOS 5.8: /usr/bin/fgrep patch

The following additional patches:

  • 111721-04, SunOS 5.8: Math Library (libm) patch

  • 112003-03, SunOS 5.8: Unable to load fontset ... iso-1 or iso-15

  • 112138-01, SunOS 5.8: usr/bin/domainname patch

All installations Patches for Solaris 9:
  • 112233-11: SunOS 5.9: Kernel Patch

  • 111722-04: SunOS 5.9: Math Library (libm) patch

Pro*C/C++,
Pro*FORTRAN, Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
Patches for Solaris 8 and Solaris 9:
  • 112758-02, dbx 7.1: Patch for S1S8CC Debugger

  • 112760-05, C 5.5: Patch for S1S8CC C compiler

  • 112762-06, F95 7.1: Patch for S1S8CC Fortran 95 compiler

  • 112763-06, Compiler Common S1S8CC: Patch for S1S8CC C C++ F77 F95

  • 113817-03, C++ 5.5: Patch for S1S8CC C++ compiler

  • 113820-02, Compiler Common 7.1: Patch for S1S8CC Math Libraries

  • 113823-03, ILD 4.1: Patch for S1S8CC Incremental Linker


To ensure that the system meets these requirements, follow these steps:

  1. To determine whether an operating system patch is installed, enter a command similar to the following:

    # /usr/sbin/patchadd -p | grep patch_number
    
    

    If an operating system patch is not installed, download it from the following Web site and install it:

    http://sunsolve.sun.com
    
    
  2. To continue completing pre-installation tasks, go to the "Create Required UNIX Group and User" section.

Checking the Software Requirements on Tru64 UNIX

Check that the required software and patches are installed on the system.


Check for Required Software

Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Operating system version:

HP Tru64 UNIX V5.1B

Software Development Kit (SDK) v 1.4.2 for the Tru64 UNIX Operating System for the Java Platform (JDK 1.4.2)
Operating system subsets:
OSFCMPLRS
OSFLIBA
OSFPGMR
OSFSER
OSFX11
Oracle Net protocol support for DCE DCE v4.1 or later:
DCECDS
DECRTS
DCESEC
Pro*C/C++,
Oracle Call Interface,
Oracle C++ Call Interface,
Oracle XML Developer’s Kit (XDK)
Compaq C Compiler V6.5-207 (dtk):
DTCCMPLR

Compaq C++ Version 6.5-014:

CXXBASE
CXXLIB
CXXOLD
Pro*COBOL Micro Focus Server Express 2.2
Pro*FORTRAN Compaq Fortran 90 and 77 V5.4A:
DFABASE
DFACOM
DFARTL
Oracle JDBC/OCI Drivers You can use the following optional JDK versions with the Oracle JDBC/OCI drivers, however they are not required for the installation:
  • SDK v 1.3.1-5

  • SDK v 1.2.2-12

Note: SDK v 1.4.2 must be installed before you install the software.


To ensure that the system meets these requirements, follow these steps:

  1. To determine which version of Tru64 UNIX is installed, enter the following command:

    # /usr/sbin/sizer -v
    Compaq Tru64 UNIX V5.1B (Rev. 2650); Mon Nov  3 10:13:28 PST 200 
    
    

    In this example, the version shown is V5.1B. If necessary, see your operating system documentation for information about upgrading the operating system.

  2. To determine whether Java SDK 1.4.2 is installed, enter the following command:

    # /usr/sbin/setld -i JAVA142 | more
    
    

    If Java SDK 1.4.2 is installed, this command displays the paths to all of the installed files. Note the path of the Java home directory. You must specify this value during the installation. The default path is:

    /usr/opt/java142
    
    

    If this command returns the message Unknown subset, Java SDK 1.4.2 is not installed. Download Java SDK 1.4.2.01 or higher from the following Web site and install it:

    http://www.compaq.com/java/download/index.html
    
    
  3. To determine whether the required software subsets are installed, enter one of the following commands:

    • To view the list of all software subsets installed on the system, enter the following command:

      # /usr/sbin/setld -i | more
      
      
    • To determine whether a particular software subset is installed, enter a command similar to the following:

      # /usr/sbin/setld -i | grep subsetname
      
      

    If necessary, install the required software subset. If you require the Compaq C Compiler V6.5-207 (dtk), you can download it from the following Web site:

    http://www.tru64unix.compaq.com/dtk/
    
    

Check for Required Patches

Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.

Installation Type or Product Requirement
All installations Tru64 UNIX V5.1B Patch Kit 2 or higher:
T64V51BB22AS0002-20030415

HP Tru64 UNIX 5.1B PK2 BL22 Fixes for AdvFS Panic in _OtsMove; and Possible Memory Corruption:

T64KIT0020879-V51BB22-E-20031125

To determine whether the required patch kits are installed, enter the following command:

# /usr/sbin/dupatch -track -type kit

If this command does not display the identifiers shown in the previous table for the required patch kits (or the identifier for a higher patch kit level), download the latest patch kit from the following Web site and install it (registration is required to access this Web site):

http://itrc.hp.com/service/patch/mainPage.do

Create Required UNIX Group and User

Depending on whether this is the first time Oracle software is being installed on this system and on the products that you are installing, you may need to create the following UNIX group and user:

A single Oracle Inventory group is required for all installations of Oracle software on the system. After the first installation of Oracle software, you must use the same Oracle Inventory group for all subsequent Oracle software installations on that system. However, you can choose to create different Oracle software owner users for separate installations.

The following sections describe how to create the required UNIX user and group.


Note:

The following sections describe how to create local users and groups. As an alternative to creating local users and groups, you could create the appropriate users and groups in a directory service, for example, Network Information Services (NIS). For information about using directory services, contact your system administrator or see your operating system documentation.

Creating the Oracle Inventory Group

You must create the Oracle Inventory group if it does not already exist. The following subsections describe how to determine the Oracle Inventory group name, if it exists, and how to create it if necessary.


Determine Whether the Oracle Inventory Group Exists

When you install Oracle software on the system for the first time, the Installer creates the oraInst.loc file. This file identifies the name of the Oracle Inventory group and the path of the Oracle Inventory directory. To determine whether the Oracle Inventory group exists, enter the following command:

  • AIX or Linux:

    # more /etc/oraInst.loc
    
    
  • Other operating systems:

    # more /var/opt/oracle/oraInst.loc
    
    

If the oraInst.loc file exists, the output from this command is similar to the following:

inventory_loc=/u01/app/oracle/oraInventory
inst_group=oinstall

The inst_group parameter shows the name of the Oracle Inventory group (oinstall).


Create the Oracle Inventory Group

If the oraInst.loc file does not exist, create the Oracle Inventory group as follows, depending on your operating system:

  • AIX:

    1. Enter the following command:

      # smit security
      
      
    2. Choose the appropriate menu items to create the oinstall group.

    3. Press F10 to exit.

  • Other operating systems:

    Enter the following command to create the oinstall group:

    # /usr/sbin/groupadd oinstall
    
    

Creating the Oracle Software Owner User

You must create an Oracle software owner user in the following circumstances:

  • If an Oracle software owner user does not exist, for example, if this is the first installation of Oracle software on the system

  • If an Oracle software owner user exists, but you want to use a different UNIX user


Determine Whether an Existing Oracle Software Owner User Exists

To determine whether an Oracle software owner user named oracle exists, enter one of the following commands:

  • Solaris:

    # id -a oracle
    
    
  • Other operating systems:

    # id oracle
    
    

If the oracle user exists, the output from this command is similar to the following:

uid=440(oracle) gid=200(oinstall) groups=201(dba),202(oper)

If the user exists, determine whether you want to use the existing user or create a new user. If you want to use the existing user, ensure that the user’s primary group is the Oracle Inventory group. See one of the following sections for more information:


Note:

If necessary, contact your system administrator before using or modifying an existing user.


Create a New Oracle Software Owner User

If the Oracle software owner user does not exist or if you require a new Oracle software owner user, create it as follows, depending on your operating system. In the following procedure, use the user name oracle unless a user with that name already exists.

  • AIX:

    1. Enter the following command:

      # smit security
      
      
    2. Choose the appropriate menu items to create the oracle user, specifying the following information:

      • In the Primary GROUP field, specify the Oracle Inventory group, for example oinstall.

      • In the Group SET field, specify any required secondary groups.


      Note:

      The UID for the oracle user must be less than 65536.

    3. Press F10 to exit.

    4. Set the password of the oracle user:

      # passwd oracle
      
      
  • Other operating systems:

    1. To create the oracle user, enter a command similar to the following:

      # /usr/sbin/useradd -g oinstall[ -G dba] oracle
      
      

      In this command:

      • The -g option specifies the primary group, which must be the Oracle Inventory group, for example oinstall

      • The -G option specifies optional secondary groups

    2. Set the password of the oracle user:

      # passwd oracle
      
      

See the "Identify Required Software Directories" section to continue.


Modify an Existing Oracle Software Owner User

If the oracle user exists, but its primary group is not oinstall, you can modify it as follows depending on your operating system:

  • AIX:

    1. Enter the following command:

      # smit security
      
      
    2. Choose the appropriate menu items to modify the oracle user.

    3. In the Primary GROUP field, specify the Oracle Inventory group, for example oinstall.

    4. In the Group SET field, specify any required secondary groups.

    5. Press F10 to exit.

  • Other operating systems:

    Enter a command similar to the following, specifying the primary group using the -g option and any required secondary groups using the -G option:

    # /usr/sbin/usermod -g oinstall -G dba oracle
    
    

Identify Required Software Directories

You must identify or create three directories for the Oracle software, as follows:

The following subsections describe the requirements for these directories.


Oracle Base Directory

The Oracle base directory acts as a top-level directory for Oracle software installations. It is analogous to the C:\Oracle directory used for Oracle software installations on Windows systems. On UNIX systems, the Optimal Flexible Architecture (OFA) guidelines recommend that you use a path similar to the following for the Oracle base directory:

/mount_point/app/oracle_sw_owner

In this example:

You can use the same Oracle base directory for more than one installation or you can create separate Oracle base directories for different installations. If different UNIX users install Oracle software on the same system, each user must create a separate Oracle base directory. The following example Oracle base directories could all exist on the same system:

/u01/app/oracle
/u01/app/orauser
/opt/oracle/app/oracle

The following sections describe how to identify existing Oracle base directories that might be suitable for your installation and how to create a new Oracle base directory if necessary.

Regardless of whether you create a new Oracle base directory or decide to use an existing one, you must set the ORACLE_BASE environment variable to specify the full path to this directory.


Oracle Inventory Directory

The Oracle Inventory directory (oraInventory) stores an inventory of all software installed on the system. It is required by, and shared by, all Oracle software installations on a single system. The first time you install Oracle software on a system, the Installer prompts you to specify the path to this directory. Oracle recommends that you choose the following path:

oracle_base/oraInventory

The Installer creates the directory that you specify and sets the correct owner, group, and permissions on it. You do not need to create it.


Note:

All Oracle software installations rely on this directory. Make sure that you back it up regularly.

Do not delete this directory unless you have completely removed all Oracle software from the system.



Oracle Home Directory

The Oracle home directory is the directory where you choose to install the software for a particular Oracle product. You must install different Oracle products, or different releases of the same Oracle product, in separate Oracle home directories. When you run the Installer, it prompts you to specify the path to this directory, as well as a name that identifies it. The directory that you specify must be a subdirectory of the Oracle base directory. Oracle recommends that you specify a path similar to the following for the Oracle home directory:

oracle_base/product/10.1.0/client_1

The Installer creates the directory path that you specify under the Oracle base directory. It also sets the correct owner, group, and permissions on it. You do not need to create this directory.

Identify or Create an Oracle Base Directory

Before starting the installation, you must either identify an existing Oracle base directory or if required, create a new one. This section contains information about the following:


Note:

You can choose to create a new Oracle base directory, even if other Oracle base directories exist on the system.


Identifying an Existing Oracle Base Directory

Existing Oracle base directories might not have paths that comply with OFA guidelines. However, if you identify an existing Oracle Inventory directory or existing Oracle home directories, you can usually identify the Oracle base directories, as follows:

To continue:


Creating a New Oracle Base Directory

To identify an appropriate file system, follow these steps:

  1. Use the df -k command (or bdf command on HP-UX) to determine the free disk space on each mounted file system.

  2. From the display, identify a file system that has appropriate free space.

  3. Note the name of the mount point directory for the file system that you identified.

To create the Oracle base directory and specify the correct owner, group, and permissions for it, follow these steps:

  1. Enter commands similar to the following to create the recommended subdirectories in the mount point directory that you identified and set the appropriate owner, group, and permissions on them:

    # mkdir -p /mount_point/app/oracle_sw_owner
    # chown -R oracle:oinstall /mount_point/app/oracle_sw_owner
    # chmod -R 775 /mount_point/app/oracle_sw_owner
    
    

    If the mount point you identified is /u01 and oracle is the user name of the Oracle software owner, the recommended Oracle base directory path is as follows:

    /u01/app/oracle
    
    
  2. When you are configuring the oracle user’s environment later in this chapter, set the ORACLE_BASE environment variable to specify this directory.

Configure the oracle User’s Environment

You run the Installer from the oracle account. However, before you start the Installer you must configure the environment of the oracle user. To configure the environment, you must:

To set the oracle user’s environment, follow these steps:

  1. Start a new terminal session, for example, an X terminal (xterm).

  2. Enter the following command to ensure that X Window applications can display on this system:

    $ xhost +
    
    
  3. If you are not already logged in to the system where you want to install the software, log in to that system as the oracle user.

  4. If you are not logged in as the oracle user, switch user to oracle:

    $ su - oracle
    
    
  5. To determine the default shell for the oracle user, enter the following command:

    $ echo $SHELL
    
    
  6. Open the oracle user’s shell startup file in any text editor:


    Note:

    On Red Hat Linux, .bash_profile is the user startup file for the Bash shell.

    • Bourne shell (sh), Bash shell (bash), or Korn shell (ksh):

      $ vi .profile
      
      
    • C shell (csh or tcsh):

      % vi .login
      
      
  7. Enter or edit the following line, specifying a value of 022 for the default file creation mask:

    umask 022
    
    
  8. If the ORACLE_SID, ORACLE_HOME, or ORACLE_BASE environment variables are set in the file, remove the appropriate lines from the file.

  9. Save the file and exit from the editor.

  10. To run the shell startup script, enter one of the following commands:

    • Bash shell on Red Hat Enterprise Linux:

      $ . ./.bash_profile
      
      
    • Bourne, Bash, or Korn shell:

      $ . ./.profile
      
      
    • C shell:

      % source ./.login
      
      
  11. If you are not installing the software on the local system, enter a command similar to the following to direct X applications to display on the local system:

    • Bourne, Bash, or Korn shell:

      $ DISPLAY=local_host:0.0 ; export DISPLAY
      
      
    • C shell:

      % setenv DISPLAY local_host:0.0
      
      

    In this example, local_host is the host name or IP address of the system you want to use to display the Installer (your workstation or PC).

  12. If you determined that the /tmp directory has less than 400 MB of free disk space, identify a file system with at least 400 MB of free space and set the TEMP and TMPDIR environment variables to specify a temporary directory on this file system:

    1. Use the df -k command (or bdf command on HP-UX) to identify a suitable file system with sufficient free space.

    2. If necessary, enter commands similar to the following to create a temporary directory on the file system you identified, and set the appropriate permissions on the directory:

      $ su - root
      # mkdir /mount_point/tmp
      # chmod a+wr /mount_point/tmp
      # exit
      
      
    3. Enter commands similar to the following to set the TEMP and TMPDIR environment variables:

      • Bourne, Bash, or Korn shell:

        $ TEMP=/mount_point/tmp
        $ TMPDIR=/mount_point/tmp
        $ export TEMP TMPDIR
        
        
      • C shell:

        % setenv TEMP /mount_point/tmp
        % setenv TMPDIR /mount_point/tmp
        
        
  13. Enter commands similar to the following to set the ORACLE_BASE environment variable:

    • Bourne, Bash, or Korn shell:

      $ ORACLE_BASE=/u01/app/oracle
      $ export ORACLE_BASE
      
      
    • C shell:

      % setenv ORACLE_BASE /u01/app/oracle
      
      

    In these examples, /u01/app/oracle is the Oracle base directory that you created or identified earlier.

  14. If you intend to use Pro*COBOL, set the following environment variables. If you must specify several values for an environment variable, for example PATH, separate the values with a colon (:).

    Environment Variable Required By Sample Setting and Description
    COBDIR Pro*COBOL AIX:

    /opt/lpp/cobol64/cobol

    HP-UX, Linux, and Solaris:

    /opt/lib/cobol

    Tru64 UNIX:

    /usr/lib/cobol

    Specifies the directory where COBOL is installed on the system.

    PATH Pro*COBOL $COBDIR/bin:$PATH

    Specifies the directory where the COBOL compiler executable is located.


  15. Enter the following command to ensure that the ORACLE_HOME and TNS_ADMIN environment variables are not set:

    • Bourne, Bash, or Korn shell:

      $ unset ORACLE_HOME
      $ unset TNS_ADMIN
      
      
    • C shell:

      % unsetenv ORACLE_HOME
      % unsetenv TNS_ADMIN
      
      

    Note:

    If the ORACLE_HOME environment variable is set, the Installer uses the value it specifies as the default path for the Oracle home directory. However, if you set the ORACLE_BASE environment variable, Oracle recommends that you unset the ORACLE_HOME environment variable and choose the default path suggested by the Installer.

  16. To verify that the environment has been set correctly, enter the following commands:

    $ umask
    $ env | more
    
    

    Verify that the umask command displays a value of 22, 022, or 0022 and the environment variables that you set in this section have the correct values.