Install Oracle10gRelease2 on RHEL5 (Oracle11gR1 is basically the same)

Source: Internet
Author: User
1. In the installation environment, I use the virtual RHEL5 in Wmware. The allocated memory is 1 GB and the SWAP partition is 1 GB. We recommend that you change the SWAP partition to 2G. Otherwise, the monitoring fails when the test is performed. (Of course, it's okay if you force install it) 2. Configure Oracle10gRelease2 before installation 1. install the software package required for Oracle10gR2 # cd/mnt/cdrom/Server/# rpm-Uvhse

I. installation environment

I am a virtual RHEL5 in Wmware. The allocated memory is 1 GB and the SWAP partition is 1 GB. We recommend that you change the SWAP partition to 2G. Otherwise, the monitoring fails when the test is performed. (Of course, it's okay if you force install it)

Ii. configuration before installing Oracle 10g Release2

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

# cd /mnt/cdrom/Server/
# rpm -Uvh setarch-2*
# rpm -Uvh make-3*
# rpm -Uvh glibc-2*
# rpm -Uvh libaio-0*
# rpm -Uvh compat-libstdc++-33-3*
# rpm -Uvh compat-gcc-34-3*
# rpm -Uvh compat-gcc-34-c++-3*
# 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

kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-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 oper
#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.

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.