RedHat ES 5.5 64-bit installation of oracle 11g R2 Standard Edition

Source: Internet
Author: User

Installation environment:

RedHat es 5.5 64-bit, 8 GB system memory, 10 Gb swap, Oracle 11G R2 Standard Edition

1. Preparations before Oracle Installation
Check the packages and install them all:
Binutils-2.17.50.0.6
Compat-libstdc ++-33-3.2.3
Compat-libstdc ++-33-3.2.3 (32 bit)
Elfutils-libelf-0.125
Elfutils-libelf-devel-0.125
Gcc-4.1.1
Gcc-c ++-4.1.1
Glibc-2.5-12
Glibc-2.5-12 (32 bits)
Glibc-common-2.5
Glibc-devel-2.5
Glibc-devel-2.5-12 (32 bits)
Libaio-0.3.106
Libaio-0.3.106 (32 bits)
Libaio-devel-0.3.106
Libgcc-4.1.1
Libgcc-4.1.1 (32 bits)
Libstdc ++-4.1.1
Libstdc ++-4.1.1 (32 bit)
Libstdc ++-devel 4.1.1
Make-3.81
Sysstat-7.0.0

Note: The package will be missing after the system is installed by default: www.bkjia.com
Fonts-chinese-3.02-12.el5.noarch.rpm
Fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm
Libaio-devel-0.3.106-5.i386.rpm
Libaio-devel-0.3.106-5.x86_64.rpm
Sysstat-7.0.2-3.el5.x86_64.rpm
UnixODBC-2.2.11-7.1.i386.rpm
UnixODBC-2.2.11-7.1.x86_64.rpm
UnixODBC-devel-2.2.11-7.1.i386.rpm
UnixODBC-devel-2.2.11-7.1.x86_64.rpm

2. Create oracle users and groups

Run the following shell command:

Su-root

/Usr/sbin/groupadd oinstall

/Usr/sbin/groupadd dba

/Usr/sbin/groupadd Partition

/Usr/sbin/useradd-g oinstall-G dba, using oracle

Set Password

Passwd oracle

3. System Parameters and configuration files
Add the following to the/etc/sysctl. conf file:
Kernel. sysrq = 0
Kernel. core_uses_pid = 1
Net. ipv4.tcp _ syncookies = 1
Kernel. msgmnb = 65536
Kernel. msgmax = 65536
Kernel. shmmax = 4294967295
Kernel. shmall = 268435456
Kernel. shmmni = 4096
Kernel. sem = 250 32000 100 128
Net. ipv4.ip _ local_port_range = 9000 65500
Net. core. rmem_default = 4194304
Net. core. rmem_max = 4194304
Net. core. wmem_default = 262144
Net. core. wmem_max = 1048576
Fs. file-max = 6815744
Fs. aio-max-nr = 1048576

/Sbin/sysctl-p


/Etc/security/limits. conf
Add as follows:

Session required/lib64/security/pam_limits.so
Session required pam_limits.so

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

/Etc/profile
Add:

If [$ USER = "oracle"]; then
If [$ SHELL = "/bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi

  • 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.