Skip Headers

Oracle® Database Client Quick Installation Guide
10g Release 1 (10.1.0.3) for IBM Power Based Linux
Part No. B15720-01
 

 

Copyright © 1996, 2004,  Oracle. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle® Database

Client Quick Installation Guide

10g Release 1 (10.1.0.3) for IBM Power Based Linux

Part No. B15720-01

December 2004

This guide describes how to quickly install Oracle Client on IBM Power Based Linux systems. It includes information about the following:

  1. Documentation Accessibility

  2. Documentation

  3. Check the Hardware Requirements

  4. Check the Software Requirements

  5. Complete Installation Tasks

  6. Post-installation Tasks

1 Documentation Accessibility

Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For additional information, visit the Oracle Accessibility Program Web site at

http://www.oracle.com/accessibility/

Accessibility of Code Examples in Documentation

JAWS, a Windows screen reader, may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, JAWS may not always read a line of text that consists solely of a bracket or brace.

Accessibility of Links to External Web Sites in Documentation

This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.

2 Documentation

Additional product README files are located in their respective product directories under the $ORACLE_HOME directory.

3 Check the Hardware Requirements

The system must meet the following minimum hardware requirements:

Requirement Minimum Value
Physical memory (RAM) 256 MB (262144 KB)
Swap space 512 MB (524288 KB) or twice the size of RAM

On systems with 2 GB or more of RAM, the swap space can be between one and two times the size of RAM

Disk space in /tmp 400 MB (409600 KB)
Disk space for software and the installation archive 2 GB

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

  1. To determine the physical RAM size, enter the following command:

    # grep MemTotal /proc/meminfo
    
    

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

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

    # grep SwapTotal /proc/meminfo
    
    

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

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

    # df -h /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.

    • 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 available on the system, enter the following command:

    # df -h
    
    

    This command displays the disk space usage on all mounted file systems. To complete the installation, identify a file system with sufficient disk space.

4 Check the Software Requirements

The following sections list the software requirements for supported operating systems:

Red Hat Enterprise Linux AS/ES 3 (Update 3 or higher)

The following software is required for installation on Red Hat Enterprise Linux AS/ES 3 (update 3 or higher):

SUSE Linux Enterprise Server 9

The following software is required for installation on SUSE Linux Enterprise Server 9:

Checking Software Requirements

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 listed distributions and versions are currently certified and supported.

  2. To determine whether the required kernel version is installed, enter the following command:

    # uname -r
    
    

    If the kernel version is lower than the required version, download and install the required version or a higher version from your Linux vendor's Web site.

  3. To determine whether IBM VisualAge C++ is installed, enter the following command:

    $ rpm -q vacpp.rte xlsmp.msg.rte xlsmp.rte
    
    

    If the required version of IBM VisualAge C++ is not installed, download and install the packages, which are contained in the following files:

    • Red Hat Enterprise Linux

      vacpp.rte.60.rhel3.may2004.tar.gz
      
      
    • SUSE Linux Enterprise Server

      vacpp.rte.70.sles9.oct2004.tar.gz
      
      

    You can download these files from the following Web site:

    http://www.ibm.com/software/awdtools/vacpp/support/
    
    
  4. On Red Hat, to determine whether the required library packages are installed, enter commands similar to the following:

    $ rpm -ql package_name
    
    

    From the output, verify that both the 32 bit and 64 bit libraries are listed, for example:

    $ rpm -ql libgcc-3.2.3-42
    
    /lib/libgcc_s-3.2.3-20040701.so.1
    /lib/libgcc_s.so.1
    /usr/sbin/libgcc_post_upgrade
    /lib64/libgcc_s-3.2.3-20040701.so.1
    /lib64/libgcc_s.so.1
    /usr/sbin/libgcc_post_upgrade
    
    

    If a required package is not installed, or if the version is lower than the required version, install the package from your operating system distribution media or download the required package version from your Linux vendor's Web site.

  5. To determine whether the required additional packages are installed, enter commands similar to the following:

    $ rpm -q package_name
    
    

    If a required package is not installed, or if the version is lower than the required version, install the package from your operating system distribution media or download the required package version from your Linux vendor's Web site.

5 Complete Installation Tasks

Complete the following procedure to download, uncompress, unpack, and install the software:

  1. Create an Oracle home directory with a path similar to the following:

    /u01/app/oracle/product/10.1.0/client
    
    

    This directory must be on a file system with at least 2 GB of available space, which includes the space required for the installation software and the installation archive.

  2. Use any browser to access the software download page on OTN:

    http://otn.oracle.com/software/
    
    
  3. Navigate to the download page for the Oracle Database 10g Client for Power Based Linux.

  4. Download the oracle-client-10103.tar.bz2 file to the Oracle home directory that you created.

  5. Enter the following command to uncompress and unpack the installation file:

    $ tar -jxvf oracle-client-10103.tar.bz2
    
    
  6. Run the environment script:

    • Bourne, Bash, or Korn shell:

      $ . ./ENV
      
      
    • C shell:

      %  source ENV.csh
      
      
  7. Change directory to the install directory.

  8. Run the following script:

    $  ./runmefirst.sh
    
    

6 Post-installation Tasks

Complete the post-installation tasks listed the following sections for the products that you intend to use.

6.1 Setting Up User Accounts

For information about setting up additional user accounts, see the Oracle Database Administrator's Reference for UNIX Systems.

6.2 Configuring Oracle Net Services

If you have a previous release of Oracle software installed on this system, you might want to copy information from the Oracle Net tnsnames.ora configuration file from the previous release to the corresponding file for the new release.


Note:

The default location for the tnsnames.ora file is the $ORACLE_HOME/network/admin/ directory. However, you can also use a central location for this file.

If necessary, you can also add connection information for additional database instances to the new file.

6.3 Configuring Pro*C/C++

Enter the following command to verify that the PATH environment variable setting includes the directory that contains the C compiler executable (/usr/bin):

$ which gcc