Install Oracle10gRelease2 on RHEL5.5 _ x86_64

Source: Internet
Author: User
I installed it when I first got out of Oracle10g. Now I forgot the specific things and re-installed it. Remember it and leave it to me ~~ :) I. Install the environment in vmware.

I installed it when I first got out of Oracle10g. Now I forgot the specific things and re-installed it. Remember it and leave it to me ~~ :) I. Install the environment in vmware.

[Oracle @ chub_rhel5 database] $./runInstaller

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system versions: Must be a RedHat-3, SUSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2

Pass

All installer requirements are met.


Prepare to start Oracle Universal Installer/tmp/OraInstall2010-04-12_12-21-24AM from the following address. please wait... [oracle @ chub_rhel5 database] $ Exception in thread "main" java. lang. unsatisfiedLinkError:/tmp/OraInstall2010-04-12_12-21-24AM/jre/1.4.2/lib/i386/libawt. so: libXp. so.6: cannot open shared object file: No such file or directory

At java. lang. ClassLoader $ NativeLibrary. load (Native Method)

At java. lang. ClassLoader. loadLibrary0 (Unknown Source)


Install:LibXp-1.0.0-8.1.el5.i386.rpm, as follows:

[Root @ chub_rhel5 Server] # rpm-ivh libXp-1.0.0-8.1.el5.i386.rpm

Warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing... ######################################## ### [100%]

1: libXp ####################################### #### [100%]

[Root @ chub_rhel5 Server] #

Otherwise, the graphical interface is installed. This package is included in the rhel5.5 Cd (or ISO image file.
Ii. configuration before installing Oracle 10g Release2

1. install the software packages required for Oracle 10g R2


333*
#Rpm-Uvh gcc-4*
#Rpm-Uvh libXp-1*
#Rpm-Uvh openmotif22-*
#Rpm-Uvh compat-Db-4*

Except the openmotif22-2.2.3-18 and compat-db-4.2.52-5.1 on the third disk, the rest of the packages are on the first disk.

2. Modify the/etc/redhat-release file

Because Oracle 10g officially only supports RHEL4, so you need to change the version description, edit the/etc/redhat-release file, delete Red Hat Enterprise Linux Server release 5 (Tikanga), change to redhat-4

3. Modify Kernel Parameters

# Vi/etc/sysctl. conf

Max=65536
Net.Ipv4.Ip_local_port_range=1024 65000
Net.Core.Rmem_default=262144
Net.Core.Rmem_max=262144
Net.Core.Wmem_default=262144
Net.Core.Wmem_max=262144

To make the change take effect immediately, run the following command:

# Sysctl-p

4. Create users, groups, and directories required for Oracle Installation

#Groupadd oinstall
#Groupadd dba
#Groupadd rule
#Useradd-G oinstall-G dba oracle
#Passwd oracle

#Mkdir/Oracle
#Chown-R oracle:Oinstall/Oracle
#Chmod-R 775/Oracle

We recommend that you install the oracle installation directory in a separate partition or disk.

5. Set shell limit for oracle users

# Vi/etc/security/limits. conf

Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536

Next, modify the/etc/pam. d/login file and add the following content to make the shell limit take effect:

# Vi/etc/pam. d/login

SessionRequired pam_limits.So

6. Configure the IP address

It is best to use a static IP address when installing RHEL. If DHCP is selected at the time, now you need to change the/etc/sysconfig/network-scripts/ifcfg-eth0 File

[Root@TSM54-Test network-Scripts]#Cat ifcfg-Eth0
#Advanced Micro Devices[AMD]79c970[PCnet32 LANCE]
DEVICE=Eth0
BOOTPROTO=Static
HWADDR=00:0C:29:4B:17:C4
ONBOOT=Yes
IPADDR=192.168.68.98
NETMASK=255.255.255.0
GATEWAY=192.168.68.10

7. Configure oracle user environment variables

The following operations should be performed by logging in to oracle.

To prevent garbled characters during oracle Installation, first change the language environment to English and enter:

Export LC_CTYPE=En_US.UTF-8

Next, edit the. bash_profile file in the/home/oracle directory and add the following content:

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.