Oracle9.2.0.6 installation method on red Hat Enterprise Linux AS4

Source: Internet
Author: User
Tags dba deprecated mkdir metalink

Oracle9.2.0.6 installing methods on the red Hat Enterprise Linux AS4

Preface

before looking at this document, it is recommended that readers refer to Oracle's installation documentation on oracle9i in various versions of Redhat: http://www.puschitz.com/ Installingoracle9i.shtml, look at the following document, because the following document is written in reference to this document.

I. Environment and software preparation

1.1 Liunx Package

Check that the following packages are installed (the version must be the same or higher)

Compat-db-4.1.25-9

compat-gcc-32-3.2.3-47.3

compat-gcc-32-c++-3.2.3-47.3

compat-libgcc-296-2.96-132.7.2

compat-libstdc++-296-2.96-132.7.2

compat-libstdc++-33-3.2.3-47.3

Gcc-3.4.3-9.el4

Gcc-c++-3.4.3-9.el4

Gnome-libs-1.4.1.2.90-44

GNOME-LIBS-DEVEL-1.4.1.2.90-44 (fourth CD)

Libaio-devel-0.3.102-1

Libaio-0.3.102-1

Make-3.80-5

Openmotif21-2.1.30-11

Xorg-x11-deprecated-libs-devel-6.8.1-23.el

Xorg-x11-deprecated-libs-6.8.1-23.el

Compat-oracle-rhel4-1.0-3

Compat-libcwait-2.0-1

Tip: When installing Linux, it's a good idea to install all the components in the development tools and all the components associated with the Xwindow, and if you install the system, you will find that there are no installed packages. In addition to the GNOME-LIBS-DEVEL-1.4.1.2.90-44 pack in the fourth CD, the other packages are generally on the second or third CD, find the appropriate package installation (RPM–IHV package name), do not update the package in the Add removal program, or you will die very miserably, At least 20 times to change the disc and are 2323 of the change, miserable, do not believe you can try.

where compat-oracle-rhel4-1.0-3 and compat-libcwait-2.0-1 can be downloaded from http://metalink.oracle.com (Patch number:4198954), Download file name 4198954_21_linux.zip, download after downloading with RPM–IHV package name command to install

1.2 Other Packages

The required packages are as follows:

Ship_9204_linux_disk1.cpio.gz

Ship_9204_linux_disk2.cpio.gz

Ship_9204_linux_disk3.cpio.gz

Above three packages can be downloaded from www.oracle.com

4198954_21_linux.zip

4188455_10103_linux.zip

Opatch.tar

P3238244_9204_linux.zip

P3948480_9206_linux.zip (upgrade from 9204 to 9206 patches)

P2617419_10102_generic.zip (Patch of REDHAT4)

P4190568_9206_linux.zip (Patch of REDHAT4)

The above patches can be downloaded from the http://metalink.oracle.com

1.3 Linux Environment

1, extract 4188455_10103_linux.zip files and copy Oraparam.ini to/tmp directory

Unzip 4188455_10103_linux.zip

CP oraparam.ini/tmp

2. Add Oracle Installation user group and user account

Create installation directory

Mkdir–p/u01/oracle

Groupadd dba

Useradd-g dba–d/u01/oracle

passwd Oracle

3, create ORACLE9IR2 and authorize users and groups to install the directory

mkdir–p/u01/oracle/product/9.2.0.6

Chown-r oracle.dba/u01/oracle/*

chmod 775/u01/oracle/*

4, set the Oracle installation user environment parameters, to the Oracle user login, modify the environment configuration file:

VI $HOME/.bash_profile

Add the following:

# Setting Oracle Environment

Export Oracle_base=/u01/oracle

Export oracle_home=/u01/oracle/product/9.2.0.6

Export Oracle_sid=mydb

Export Oracle_term=xterm

Export ld_assume_kernel=2.4.19

Export Nls_lang=american;

Export ora_nls33= $ORACLE _home/ocommon/nls/admin/data

Ld_library_path= $ORACLE _home/lib:/lib:/usr/lib

Ld_library_path= $LD _library_path:/usr/local/lib

Export Ld_library_path

Export path= $PATH: $ORACLE _home/bin

Note that the above "mydb" word refers to the database instance name we created by default is "MyDB" and you can change it according to your own requirements.

Second, install oracle9i software

Tip: From below, all work defaults to the currently logged-on Oracle user, unless otherwise stated.

2.1 , extract the Oracle installation files

Login with Oracle account to create a directory install package

mkdir Install

CD Install

Gunzip ship_9204_linux_disk1.cpio.gz

Gunzip ship_9204_linux_disk2.cpio.gz

Gunzip ship_9204_linux_disk3.cpio.gz

CPIO-IDMV < Ship_9204_linux_disk1.cpio

CPIO-IDMV < Ship_9204_linux_disk2.cpio

CPIO-IDMV < Ship_9204_linux_disk3.cpio

The Disk1, Disk2, Disk3 three directories are generated after the command is executed.

2.2 , running the Oracle Setup program

1, to run a Remote Desktop program on the machine, you need to install a hummingbird connectivity 10 software, open the exceed

CD Disk1

Export display=192.168.0.2:0

Where 192.168.0.2 is the IP of the working machine

./runinstaller

2, if you strictly follow this method to install, follow the installation Wizard to go on it

In the middle of the installation process, a pop-up window prompts the root user to execute the command, the root login followed by the prompt command can be, when the permission group settings, all fill in the pre-created DBA group,

3, in the choice of language "Product Languages" must remember to add "Simplified Chinese" (Simplified Chinese)

4, select "Oracle9i Database 9.2.0.4.0" on the installation product, select "Custom" on the installation type, and select only the following components:

Oracle9i 9.2.0.4.0

Oracle Net Services 9.2.0.1.0

Oracle9i Development Kit 9.2.0.1.0

5, in the middle of the installation process, the emergence of "CREATE DATABASE" on the choice of no ", we will be the last to create a database through DBCA."

6, before the installation will be completed, Setup will run the configuration program, in the running "Agent Configuration Assistant", will appear failure, this time please continue to the next step first.

7, install the patch p2617419_10102_generic.zip get Opatch tool

Get Opatch Tools

Unzip P2617419_10102_generic.zip

Cp-a Opatch $ORACLE _home/

8, install the patch P3238244_9204_linux.zip

Unzip P3238244_9204_linux.zip

CD 3238244

$ORACLE _home/opatch/opatch Apply

Select "Y" when the updating is ready to appear.

or manually copy all files under the 3238244/files/lib/stubs directory to the/oracle/product/9.2.0.6/lib/stubs/directory, as follows:

CP files/lib/stubs/* $ORACLE _home/lib/stubs/

9, reconnect the compiler "agent" related programs

CD $ORACLE _home/network/lib/

Make-f ins_oemagent.mk Install

Wait patiently for the compilation to succeed.

10, click on the previous Oracle installer "Agent Configuration Assistant", and click "Retry" rerun the Configuration tool program, should be successful in a few.

third, the installation of Oracle9.2.0.6 patch package

3.1, upload p3948480_9206_linux.zip to the host, and decompression

Unzip P3948480_9206_linux.zip

To modify the operating system identity:

Cp/etc/redhat-release/etc/redhat-release.orig

Cat >/etc/redhat-release << EOF

Re

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.