Install Oracle 11g version 2 on CentOS 5.5

Source: Internet
Author: User

First, download an Oracle 11 GB package from the oracle official website (it indicates that you try to package all the development packages when installing CentOS 5.5, so that you will install fewer packages when detecting the installation package, you can select the development tool overview option when installing CentOS. Second, the SWAP for CentOS installation requires about 1.5 times the physical memory size. Finally, you can disable linux Firewall and SElinux when installing CentOS)

1. Download the Oracle 11g File

Download oracle from http://www.oracle.com/cn/index.html

2. Installation Package detection and Installation

Run the following command on the terminal: rpm-q gcc make binutils setarch compat-db compat-gcc-c ++ compat-libstdc ++-devel unixODBC-devel libaio-devel sysstat

The result is as follows:

Vel sysstat

Gcc-4.1.2-42.el5

Make-3.81-3.el5

Binutils-2.17.50.0.6-6.el5

Setarch-2.0-1.1

Package compat-db is not installed

Package compat-gcc is not installed

Package compat-gcc-c ++ is not installed

Package compat-libstdc ++ is not installed

Package compat-libstdc ++-devel is not installed

UnixODBC-2.2.11-7.1

Package unixODBC-devel is not installed

Package libaio-devel is not installed

Package sysstat is not installed

Analysis:

The package is not installed section above indicates that this package is not installed. You can find it on the CD and install it with rpm-ivh. These packages are used in the centos installation disk; you can also directly use the yum install package to install it. The specific operations are as follows:

Yum install compat-db

Successfully Installed: compat-db.i386. 2.52-5.1 Complete!

Yum install compat .)

Installed: compat * ...... Complete!

Yum install unixODBC-devel

Successfully Installed: unixODBC-devel.i386 0: 2. 2.11-7.1 Complete!

Yum install libaio-devel

Successfully Installed: libaio-devel.i386 0: 0. 3.106-3.2 Complete!

Yum install sysstat

Installed: sysstat. i386. 0.2-1. el5 Complete!

Note: You can run the rpm-q package again as follows:

Gcc-4.1.2-42.el5

Make-3.81-3.el5

Binutils-2.17.50.0.6-6.el5

Setarch-2.0-1.1

Compat-db-4.2.52-5.1

Package compat-gcc is not installed

Package compat-gcc-c ++ is not installed

Package compat-libstdc ++ is not installed

Package compat-libstdc ++-devel is not installed

UnixODBC-2.2.11-7.1

UnixODBC-devel-2.2.11-7.1

Libaio-devel-0.3.106-3.2

Sysstat-7.0.2-1.el5

As mentioned above: there are still four software packages not installed, so ignore this. In fact, the compat package we just installed already contains

Note: In addition to the software above, install the latest Oracle Database 11g 2nd

You also need to install:

Pdksh

Therefore, you need to run:

Yum install pdksh

Here is an explanation:

Why install so many software packages? Visit the official website.

Http://download.oracle.com/docs/cd/E11882_01/install.112/e10857/toc.htm#BABFGGIE

Let's talk about the internal Installation Process of ORACLE:

Oracle provides a management tool OUI (Oracle Universal Installer). OUI is used to install Oracle products, and the OUI center is

Product list. The product list is used to store detailed information about all Oracle products installed on a computer, including version, location, and sometimes applied patch information.

When you run OUI every time, the system checks incompatibility in the list before continuing to install the existing product to the Oracle main directory, to update the product list. The product list is specified by oraInst. loc.

DBA can select the location of the Linux product list when running OUI for the first time. This file is used in Linux.

/Etc/oraInst. loc

OraInst. loc this file stores the location of the product list. The content of oraInst. loc is as follows:

[Oracle @ localhost etc] $ cat oraInst. loc

Inventory_loc =/u01/app/oraInventory

Inst_group = dba

Note: The above/u01/app/oraInventory is the position of the product list.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next Page

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.