Install Oracle10.2.0.1 in RHEL5.1

Source: Internet
Author: User
Installation environment: System: RHEL5. During installation, select the Chinese hardware environment: P43.4G, 2Gmemory disk partition: boot: 100 M; swap: 1998 M; all others are/partition; oracle uses 10201_database_linux32, 1. RHEL environment 1. install RHEL5.1 serial number: 2515dd4e215125dd custom installation: The Development Kit is fully installed, for personal needs, installed apache, mysql2

Installation environment:
System: RHEL 5. Select Chinese during installation
Hardware environment: P4 3.4G, 2G memory
Disk Partition: boot: 100 M; swap: 1998 M; all others are/partition;
Oracle uses 10201_database_linux32,

1. RHEL Environment
1. Install RHEL5.1
Serial number: 2515dd4e215125dd

Custom installation: The Development Kit is fully installed. for personal needs, apache and mysql are installed.
2. Check whether the required installation package is complete)
Rpm-q gcc make binutils openmotif setarch compat-db compat-gcc-c ++ compat-libstdc ++-devel
3. Check memory and disk
# Grep MemTotal/proc/meminfo
MemTotal: 512236 kB
# Grep SwapTotal/proc/meminfo
SwapTotal: 1574360 kB
# Df-h
4. OS parameters require vi/etc/sysctl. conf. Add the following content at the end of the line:
# Use for oracle
Kernel. shmall = 2097152
Kernel. shmmax = 2147483648
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

Run the sysctl-p application and the above parameters.

5. Add the following content at the end of the line vi/etc/security/limits. conf:
# Use for oracle
* Soft nproc 2047
* Hard nproc 16384
* Soft nofile 1024
* Hard nofile 65536

6. Add the following content at the end of the line vi/etc/pam. d/login:
Session required pam_limits.so

7. vi/etc/selinux/config ensure the following content
SELINUX = disabled
Disable SELIINUX

8. vi/etc/profile, and add the following at the end:
If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
Export ORACLE_BASE =/u01/app/oracle
Export ORACLE_SID = orcl

9. Copy the Installation File of oracle 10.2.0.1.

10. Because the default rhel5.1 does not support 10.2 and 0.1, modify the Installation File www.linuxidc.com.
# Vi/10201_database_linux32/database/install/oraparam. ini


#### [Certified Versions]
Linux = RedHat-3, SUSE-9, redhat-4, redhat-5, UnitedLinux-1.0, asianux-1]
Add more
Linux-redhat-5.0-optional
TEMP_SPACE = 80
SWAP_SPACE = 150
MIN_DISPLAY_COLORS = 256

11. modify directory permissions

# Chmod-R 777 10201_database_linux32

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.