Home > Oracle Database / Applications Tips > Oracle Database Administrator > Installing Oracle9i (9.2.0.4.0) on Red Hat Linux (Fedora Core 1)
Oracle Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ORACLE DATABASE ADMINISTRATOR

Installing Oracle9i (9.2.0.4.0) on Red Hat Linux (Fedora Core 1)


Jeff Hunter
06.04.2004
Rating: -4.11- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


[TABLE]

TABLE OF CONTENTS
  [IMAGE] Overview
  [IMAGE] Swap space considerations
  [IMAGE] Install the Java Development Kit (JDK)
  [IMAGE] Create Oracle account and directories
  [IMAGE] Update JRE_LOCATION for Installer
  [IMAGE] Downloading/unpacking the Oracle9i installation files
  [IMAGE] Update Red Hat Linux System - (Oracle Metalink Note: 252217.1)
  [IMAGE] Install the Oracle 9.2.0.1.0 RDBMS software
  [IMAGE] Install the Oracle Universal Installer 2.2.0.18.0
  [IMAGE] Install the Oracle 9.2.0.4.0 Patchset
  [IMAGE] Post installation
  [IMAGE] Configuration files/scripts


Overview
[ Return to Table of Contents ]

The following article is a summary of the steps required to successfully install the Oracle9i (9.2.0.4.0) RDBMS software on Red Hat Linux Fedora Core 1. Keep in mind the following assumptions throughout this article:



Swap space considerations
[ Return to Table of Contents ]


Install the Java Development Kit (JDK)
[ Return to Table of Contents ]

You will need to download the appropiate SDK from Sun. The installation of Sun's JDK 1.3.1 is only required for Java clients like the Oracle Universal Installer, DBCA, NETCA, etc.

As per the JDK documentation, install JDK under /usr/local.
Then create a symbolic link to the JDK under /usr/local/java.


Create Oracle account and directories
[ Return to Table of Contents ]


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Oracle Database Administrator
Understanding SQL string functions
What is the difference between a database engineer, architect and administrator?
Import on one table from dump file
Error during RMAN backup
Can I drop a column in SYS schema?
STATSPACK tool: transaction vs. execution measurement
Should I port from Microsoft Access?
How can I find statistics on total memory usage and database connections?
Installing multiple Oracle homes
Modifying SYS password in a RAC environment

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


;

Create Oracle's Home Directories:
# mkdir /u01
# mkdir /u01/app
# mkdir /u01/app/oracle
# mkdir /u01/app/oracle/admin
# mkdir /u01/app/oracle/admin/O920DB
# mkdir /u01/app/oracle/admin/O920DB/adhoc
# mkdir /u01/app/oracle/admin/O920DB/adump
# mkdir /u01/app/oracle/admin/O920DB/arch
# mkdir /u01/app/oracle/admin/O920DB/backups
# mkdir /u01/app/oracle/admin/O920DB/bdump
# mkdir /u01/app/oracle/admin/O920DB/cdump
# mkdir /u01/app/oracle/admin/O920DB/create
# mkdir /u01/app/oracle/admin/O920DB/dba
# mkdir /u01/app/oracle/admin/O920DB/exp
# mkdir /u01/app/oracle/admin/O920DB/logbook
# mkdir /u01/app/oracle/admin/O920DB/pfile
# mkdir /u01/app/oracle/admin/O920DB/release
# mkdir /u01/app/oracle/admin/O920DB/report
# mkdir /u01/app/oracle/admin/O920DB/tuning
# mkdir /u01/app/oracle/admin/O920DB/udump
# mkdir /u01/app/oracle/product

Create Oracle user account:
# groupadd -g 115 dba
# useradd -u 173 -c "Oracle Software Owner" -d /u01/app/oracle -g "dba" -m -s /bin/bash oracle
# passwd oracle

Create Oracle directories:

# chown -R oracle:dba /u01/app/oracle

# mkdir /u03
# mkdir /u03/app
# mkdir /u03/app/oradata
# mkdir /u03/app/oradata/O920DB
# chown -R oracle:dba /u03/app/oradata

# mkdir /u04
# mkdir /u04/app
# mkdir /u04/app/oradata
# mkdir /u04/app/oradata/O920DB
# chown -R oracle:dba /u04/app/oradata

# mkdir /u05
# mkdir /u05/app
# mkdir /u05/app/oradata
# mkdir /u05/app/oradata/O920DB
# chown -R oracle:dba /u05/app/oradata

# mkdir /u06
# mkdir /u06/app
# mkdir /u06/app/oradata
# mkdir /u06/app/oradata/O920DB
# chown -R oracle:dba /u06/app/oradata

# mkdir /u07
# mkdir /u07/app
# mkdir /u07/app/oradata
# mkdir /u07/app/oradata/O920DB
# chown -R oracle:dba /u07/app/oradata

# mkdir /u08
# mkdir /u08/app
# mkdir /u08/app/oradata
# mkdir /u08/app/oradata/O920DB
# chown -R oracle:dba /u08/app/oradata

# mkdir /u09
# mkdir /u09/app
# mkdir /u09/app/oradata
# mkdir /u09/app/oradata/O920DB
# chown -R oracle:dba /u09/app/oradata

# mkdir /u10
# mkdir /u10/app
# mkdir /u10/app/oradata
# mkdir /u10/app/oradata/O920DB
# chown -R oracle:dba /u10/app/oradata

# mkdir /opt/bin
# chown oracle:dba /opt/bin

Oracle environment variable settings:

An example ".bash_profile" is provided in the configuration files/scripts section below.

Ensure to set the environment variable: LD_ASSUME_KERNEL=2.4.1

NOTE: Failing to set the LD_ASSUME_KERNEL parameter will cause the Oracle Universal Installer to hang!


Update JRE_LOCATION for Installer
[ Return to Table of Contents ]


Downloading/unpacking the Oracle9i installation files update JRE_LOCATION for Installer
[ Return to Table of Contents ]

  • Directions to extract the files.
  • You should now have three directories called "Disk1, Disk2 and Disk3" containing the Oracle9i Installation files:

    /Disk1
    /Disk2
    /Disk3


    Update Red Hat Linux System - (Oracle MetaLink Note: 252217.1)
    [ Return to Table of Contents ]

    From Fedore Core 1/Disk #2

    From Fedore Core 1/Disk #3

    Set gcc296 and g++296 in PATH

    Check hostname

    Install the 3006854 patch:



    Install the Oracle 9.2.0.1.0 RDBMS Software
    [ Return to Table of Contents ]

  • Available products: Oracle9i Database 9.2.0.1.0
  • Installation types: Enterprise Edition (2.04 GB)
  • Database configuration: Software only
  • Errors during the "Link" phase:

    About 73% into the Link phase of the install, you will get an error when invoking the target of "install" in makefile: /u01/app/oracle/product/9.2.0/network/lib/ins_oemagent.mk. You should ignore this error and any other errors that follow within the link phase. (There will be another linking error with ins_ctx.mk at around 79%.) Simply ignore all linking errors and continue to the end of the Oracle installation. The problems that occurred during this link phase will be resolved when installing the Oracle 9.2.0.4.0 patchset.

  • Completing the Oracle RDBMS software installation

    After running the root.sh script, you have successfully installed the Oracle9i RDBMS software knowing however that there were problems during the link phase. Also note that several of the Configuration tools at the end of the installation will fail as well. Simply ignore attempting to setup the Oracle networking configuration. Simply hit the "Exit" button to exit from the Oracle Universal Installer.

  • Shutdown any started Oracle processes

    The Oracle Universal Installer will succeed in starting some Oracle programs, in particular the Oracle HTTP Server (Apache). Make sure all programs are shutdown before attempting to continue.

    (i.e. $ORACLE_HOME/Apache/Apache/bin/apachectl stop)



  • Install the Oracle Universal Installer 2.2.0.18.0
    [ Return to Table of Contents ]



    Install the Oracle 9.2.0.4.0 Patchset
    [ Return to Table of Contents ]



    Post installation
    [ Return to Table of Contents ]



    Configuration files/scripts
    [ Return to Table of Contents ]

    Example:

    .bash_profile

    $HOME/.bash_profile for the "oracle" user account.

    p3006854_9204_LINUX.zip

    Oracle Patch 3006854 for Red Hat Linux 3 Enterprise Edition

    initO920DB.ora

    Sample instance parameter script for Oracle9i. Place this file in ~oracle/admin/O920DB/pfile before running the RUN_CRDB.sh script below.

    create_database920.tar

    An example "create database" set of scripts. Untar the file to ~oracle/admin/O920DB/create. If you decide to change the name of the ORACLE_SID, here are the files that need to be changed: The main script to run is: RUN_CRDB.sh.



    Rate this Tip
    To rate tips, you must be a member of SearchOracle.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



    Oracle Development Solutions - SQL, J2EE, XML, SOA
    HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts