Problems with installing Oracle 11g R2 in CentOS

Source: Internet
Author: User
Tags putty settings xming

I tried to install Oracle 11g R2 under CenOS s5.5 in VMware. I thought it was simple, but I found many problems.

Installation steps:

1. check the corresponding rpm package

It doesn't matter if the check is complete. It will check the installation of oracle.

According to the official package CHECK, the version can only be high or not low.

The following or later version of packages for Oracle Linux 4 and Red Hat Enterprise Linux 4 shoshould be installed:

Binutils-2.15.92.0.2
Compat-libstdc ++-33-3.2.3
Elfutils-libelf-0.97
Elfutils-libelf-devel-0.97
Gcc-3.4.6
Gcc-c ++-3.4.6
Glibc-2.3.4-2.41
Glibc-common-2.3.4
Glibc-devel-2.3.4
Glibc-headers-2.3.4
Libaio-devel-0.3.105
Libaio-0.3.105
Libgcc-3.4.6
Libstdc ++-3.4.6
Libstdc +-devel-3.4.6
Make-3.80
Numactl-0.6.4.i386
Pdksh-5.2.14
Sysstat-5.0.5unixODBC-2.2.14-11.el6.i686 or later
UnixODBC-devel-2.2.14-11.el6.i686 or later

Note that the elfutils-libelf-devel-0.97 package installation is a bit problematic, this package and its corresponding static package is dependent on each other, need to use rpm-ivh Package 1 package 2 command to install together.

2. Add users and user groups (I will not describe them in detail)

Groupadd oinstall

Groupadd dba

Useradd-g oinstall-G dba oracle

3. For details about how to modify the Kernel Parameters, refer to routing ing Kernel Parameters on the Internet or http://docs.oracle.com/cd/E11882_01/install.112/e24324/toc.htm.

4. Remote display of putty

To remotely execute oracle Installation, you must find a way to display the installation interface. Xming is used here, And Xming is installed on my local computer (WIN7), all of which are default.

Putty settings, find connection -- SSH--X11 Enable X11 forwarding this to be checked, then select MIT-Magic-Cookie-1

Then, log on as the root user. First, echo $ DISPLAY to see what the environment variable of DISPLAY is configured?

Here I directly modify export DISPLAY = Local (WIN7) IP: 0

In this way, you can.

Note that after switching to the oracle user, you need to re-export the port.

  • 1
  • 2
  • Next Page

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.