Simple Steps to install oracle10gr2 on 64-bit rhel5.5

Source: Internet
Author: User
Simple Steps to install oracle10gr2 on 64-bit rhel5.5

 

1) required rpm for installation:

# Cd/Media/rhel_5.5 x86_64 DVD/server <br/> rpm-IVH compat-libstdc ++-33-3.2.3-61.i386.rpm <br/> rpm-IVH compat-libstdc ++-example <br /> rpm-IVH gcc-C ++-4.1.2-48. el5.x86 _ 64.rpm< br/> rpm-IVH libstdc ++-devel-4.1.2-48.el5.x86_64.rpm <br/> rpm-IVH glibc-headers-2.5-49.x86_64.rpm <br/> rpm-IVH glibc-devel-2.5-49.x86_64.rpm <br/> rpm-IVH glibc-devel-2.5-49.i386.rpm <br/> /> rpm-IVH libgomp-4.4.0-6.el5.x86_64.rpm <br/> rpm-IVH gcc-4.1.2-48.el5.x86_64.rpm <br/> rpm-IVH libXp-1.0.0-8.1.el5.i386.rpm <br/> rpm-IVH sysstat-7.0.2-3.el5.x86_64.rpm <br/> rpm-IVH util-linux-2.13-0.52.el5_4.1.x86_64.rpm <br /> rpm-IVH kernel-headers-2.6.18-194.el5.x86_64.rpm

 

Install the verification package:

# Rpm-Qa -- queryformat "% {name}-% {version}-% {release} (% {arch}) \ n" | grep glibc-devel

2) create an installation group and a user:

# Groupadd-G 1000 oinstall <br/> # groupadd-G 1001 DBA <br/> # groupadd-G 1002 repository <br/> # useradd-u 1000-G oinstall-G dBA, export Oracle <br/> # passwd Oracle

 

 

3) Create the installation directory and set the corresponding permissions:

# Mkdir-P/u01/APP/Oracle# Chown-r ORACLE: oinstall/u01# Chmod-r 775/u01

 

 

4) Adjust the kernel parameters:

# Vim/etc/sysctl. conf <br/> kernel. SEM = 250 32000 100 128 <br/> kernel. shmmax = 2147483648 <br/> kernel. shmmni = 4096 <br/> kernel. shmall= 2097152 <br/> FS. file-max = 65536 <br/> net. ipv4.ip _ local_port_range = 1024 65000 <br/> net. core. rmem_default = 262144 <br/> net. core. rmem_max = 2097152 <br/> net. core. wmem_default = 262144 <br/> net. core. wmem_max= 262144

Make the adjustment take effect:

Sysctl-P

 

5) Adjust shell running parameters:

#/Etc/security/limits. conf <br/> Oracle soft nproc 2047 <br/> Oracle hard nproc 16384 <br/> Oracle soft nofile 1024 <br/> Oracle hard nofile 65536

Load verification module:

# Vim/etc/PAM. d/login <br/> session required pam_limits.so

 

Adjust the maximum number of processes that can be opened by oracle users (U) and number of files (N) (for BASH ):

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

# Vim/etc/profile <br/> If [$ user = "oracle"]; then <br/> If [$ shell = "/bin/KSh"]; then <br/> ulimit-P 16384 <br/> ulimit-N 65536 <br/> else <br/> ulimit-u 16384-N 65536 <br/> fi <br /> fi

 

6) set oracle_base Environment Variables

$ Oracle_base =/u01/APP/Oracle; export oracle_base

 

7) Start installation:

$./Runinstaller

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.