在所有linux版本安装oracle9i

王朝oracle·作者佚名  2008-05-31
宽屏版  字体: |||超大  

名人名作,据说按照这个装绝对没问题!就是长了点,不过打印出来作为工作手册也是不错的!我就有好几本工作手册!呵呵

Werner Puschitz

Sr. AIX/Linux Systems Analyst and Administrator

Home Page of Werner Puschitz

Installing Oracle 9i on RedHat Linux 7.1, 7.2, 7.3, 8.0, 9, Red Hat Advanced Server 2.1, and on Red Hat Enterprise Linux Advanced Server 3 (RHEL AS 3)

Oracle on Red Hat Linux Portal

Here is a summary (HOWTO) of how I installed:

Oracle 9iR2 (9.2.0) Database on Red Hat Advanced Server 3 (kernel 2.4.21-4.EL, glibc 2.3.2-95.3)

Oracle 9iR2 (9.2.0) Database on Red Hat Advanced Server 2.1 (kernel 2.4.9-e.3, glibc 2.2.4-26)

Oracle 9iR2 (9.2.0) Database on Red Hat 9 (kernel kernel-2.4.20-6, glibc 2.3.2-5)

Oracle 9iR2 (9.2.0) Database on Red Hat 8.0 (kernel 2.4.18-18.8.0, glibc 2.2.93-5)

Oracle 9iR2 (9.2.0) Database on Red Hat 7.3 (kernel 2.4.18-3, glibc 2.2.5-34)

Oracle 9iR1 (9.0.1) Database on Red Hat 7.3 (kernel 2.4.18-3, glibc 2.2.5-34)

Oracle 9iR1 (9.0.1) Database on Red Hat 7.2 (kernel 2.4.7-10, glibc 2.2.4-13)

Oracle 9iR1 (9.0.1) Database on Red Hat 7.1 (kernel 2.4.2-2, glibc 2.2.2-10)

Validation/Certification:

For Validations/Certifications, check the following links:

Oracle's Certification Matrices

Oracle ProdUCts on Red Hat Linux

Red Hat Enterprise Linux Application List

Errors and Problems:

Some of the Oracle errors and problems covered here were only eXPerienced in connection with 9i (9.0.1) and some only with 9iR2 (9.2.0). But since I cannot say for sure that a 9i (9.0.1) installation error will never show up during 9iR2 (9.2.0) installation, I simply kept all errors and problems listed together, see Oracle Installation Errors and Oracle Installation Problems, Important Tips and Hints.

Red Hat Enterprise Linux Advanced Server 3 (RHEL AS 3)

In order to install an Oracle9iR2 database on RH AS 3, the "Oracle9iR2 Patch Set 3 9.2.0.4.0" patchset and some other patches must be applied. Some errors can only be fixed by applying the 9.2.0.4 patchset. For more information, see Running Oracle Installation on Red Hat Enterprise Linux Advanced Server 3.

Red Hat 9:

Red Hat 9 includes now the the Native POSIX Thread Library (NPTL) which is an improved implementation of POSIX threads for Linux. But using NPTL will cause several problems for Oracle applications. Note that Oracle9i has not been certified on Red Hat 9!

So to fix this problem, you can set the environment variable LD_ASSUME_KERNEL to 2.4.1, which means that the old "Linuxthreads with floating stacks" implementation will be used. Otherwise the Oracle installer runInstaller will hang, the Database Configuration Assistant dbca won't start etc.; see Oracle Installation Errors for more information. To see where this environment variable can be set, see Set Oracle Environments. For more information on LD_ASSUME_KERNEL, see Red Hat Linux 9 Release Notes.

NOTE: Before you install Oracle9iR2, make sure that you first read the information about the error message "Error in invoking target install of make file /opt/oracle/product/9.2.0/network/lib/ins_oemagent.mk" in the Oracle Installation Errors section!

Red Hat 8.0:

The only problem I experienced with Oracle 9iR2 (9.2.0) on Red Hat 8.0 was:

"Error in invoking target install of makefile /opt/oracle/product/9.2.0/ctx/lib/ins_ctx.mk"

But this does not necessarily mean that you won't see other problems described here. See Oracle Installation Errors for more information.

This article covers the following subjects and steps:

* Documentations

* Downloading and Installing Red Hat Linux 7.1, 7.2, 7.3, 8.0, 9

* Unpacking Downloaded Oracle9i Installation Files and Burning Oracle9i CDs

* Setting Swap Space

* Setting Shared Memory

* Checking /tmp Space

* Sizing Oracle Disk Space

* The "binutils" Issue

* Checking Development Packages (RPMs)

* JDK

* Creating Oracle User Accounts

* Creating Oracle Directories

* Setting Oracle Environments

* Starting runInstaller

* Running Oracle Installation on RH 7.1, 7.2, 7.3, 8.0, 9, and on RH AS 2.1

* Running Oracle Installation on Red Hat Enterprise Linux Advanced Server 3

* Startup and Shutdown of the Oracle 9i Database

* Oracle Installation Problems, Tips and Hints

* Oracle Installation Errors

Documentations

Oracle9i Database Documentation for Linux

Tuning and Optimizing Red Hat Linux Advanced Server for Oracle9i Database

Oracle9iR2 on Linux: Performance, Reliability and Manageability Enhancements on Red Hat Linux Advanced Server 2.1

An Overview of Red Hat Advanced Server V2.1 Reliability, Availability, Scalability, and Manageability (RASM) Features

Downloading and Installing Red Hat Linux 7.1, 7.2, 7.3, 8.0, 9

To download Red Hat Linux 7.x, 8.0, 9, check the links at http://www.puschitz.com/RedhatDownload.Html

You can find the installation guides for installing Red Hat Linux under Red Hat Linux Manuals.

NOTE: You cannot download Red Hat Linux Advanced Server 2.1,

you can only download the source code. If you want to get the binary CDs, you will have to buy it at http://www.redhat.com/software/linux/advanced/.

Installing Software Packages (RPMs)

You don't have to install all RPMs when you want to run an Oracle9i database on Red Hat Linux.

For instance, if you install Red Hat Advanced Server, you are fine when you select the Installation Type "Advanced Server" and when you don't select the Package Group "Software Development". There are only a few other RPMs that are required for installing Oracle9i. These other RPMs are covered in this article.

Or when you install Oracle9i on Red Hat Linux 7.x, 8.0, or 9, you are fine when you select the installation type "Server".

Unpacking Downloaded Oracle9i Installation Files and Burning Oracle9i CDs

Download Oracle9i for Linux from the following web site:

http://otn.oracle.com/software/products/oracle9i/htdocs/linuxsoft.html

Uncompress and unpack downloaded files:

For Oracle9i (9.2.0):

One step procedure (uses less disk space and is faster):

zcat lnx_920_disk1.cpio.gz cpio -idmv

zcat lnx_920_disk2.cpio.gz cpio -idmv

zcat lnx_920_disk3.cpio.gz cpio -idmv

Two step procedure:

# Uncompress

gunzip lnx_920_disk1.cpio.gz lnx_920_disk2.cpio.gz lnx_920_disk3.cpio.gz Linux9i_Disk3.cpio.gz

# Unpack the downloaded files:

cpio -idmv

cpio -idmv

cpio -idmv

For Oracle9i (9.0.1):

One step procedure (uses less disk space and is faster):

zcat Linux9i_Disk1.cpio.gz cpio -idmv

zcat Linux9i_Disk2.cpio.gz cpio -idmv

zcat Linux9i_Disk3.cpio.gz cpio -idmv

Two step procedure:

# Uncompress

gunzip Linux9i_Disk1.cpio.gz Linux9i_Disk2.cpio.gz Linux9i_Disk3.cpio.gz

# Unpack the downloaded files:

cpio -idmv

cpio -idmv

cpio -idmv

Now you should have 3 directories containing installation files:

Disk1

Disk2

Disk3

I executed the following commands when I burned the 3 CDs:

mkisofs -r Disk1 cdrecord -v --eject dev=0,0,0 speed=15 -

mkisofs -r Disk2 cdrecord -v --eject dev=0,0,0 speed=15 -

mkisofs -r Disk3 cdrecord -v --eject dev=0

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有