Easy steps to install ORACLE10GR2 on 64-bit RHEL5.5 ____oracle

Source: Internet
Author: User
Easy steps to install ORACLE10GR2 on 64-bit RHEL5.5

1) installation of the required RPM:

# cd/media/rhel_5.5 x86_64 dvd/server
rpm-ivh compat-libstdc++-33-3.2.3-61.i386.rpm rpm-ivh compat-libstdc+
+-33-3.2.3-61.x86_64.rpm 
rpm-ivh gcc-c++-4.1.2-48.el5.x86_64.rpm 
rpm-ivh libstdc++- devel-4.1.2-48.el5.x86_64.rpm 
rpm-ivh glibc-headers-2.5-49.x86_64.rpm 
rpm-ivh glibc-devel-2.5-49.x86_64. RPM 
rpm-ivh glibc-devel-2.5-49.i386.rpm 
rpm-ivh libgomp-4.4.0-6.el5.x86_64.rpm 
RPM-IVH gcc-4.1.2-48.el5.x86_64.rpm 
rpm-ivh libxp-1.0.0-8.1.el5.i386.rpm 
rpm-ivh sysstat-7.0.2-3.el5.x86_64.rpm 
rpm-ivh util-linux-2.13-0.52.el5_4.1.x86_64.rpm 
rpm-ivh kernel-headers-2.6.18-194.el5.x86_64.rpm

Verifying Package Installation:



2 Create installation groups and users:

# groupadd-g 1000 oinstall
# groupadd-g 1001 DBAs
# groupadd-g 1002 Oper
# useradd-u 1000-g oinstall-g DB A,oper Oracle
# passwd Oracle

3 Create the installation directory and set the appropriate permissions:

# mkdir-p/u01/app/oracle
# Chown-r Oracle:oinstall/u01
# Chmod-r 775/u01

4) Adjust kernel parameters:

# vim/etc/sysctl.conf
Kernel.sem = 32000 128 Kernel.shmmax = 2147483648 Kernel.shmmni
= 4096
ker Nel.shmall = 2097152
Fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
Net.core.rmem_max = 2097152
net.core.wmem_default = 262144 Net.core.wmem_max
= 262144


To bring the adjustment into effect:

Sysctl-p


5) Adjust the shell operation parameters:

#/etc/security/limits.conf
Oracle              soft    nproc   2047
Oracle              hard    nproc
16384 Oracle              Soft    nofile  1024
Oracle              hard    nofile  65536


Load Verification Module:

# Vim/etc/pam.d/login
session    required     pam_limits.so

Adjust the maximum number of processes (U) and Files (n) (for bash) that Oracle users can open:

http://www.ibm.com/developerworks/cn/linux/l-cn-ulimit/

# vim/etc/profile
If [$USER = "Oracle"]; then
        if [$SHELL = "/bin/ksh"]; then
              ulimit-p 16384
              It-n 65536
        Else
              ulimit-u 16384-n 65536
        fi
fi


6 Set oracle_base environment variable

$ oracle_base=/u01/app/oracle; Export Oracle_base


7) Start Installation:

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.