Notes on installing Oracle10g in RHEL5

Source: Internet
Author: User
The following process is a personal note on installing Oracle10g under RHEL5. Install Oracle10g step by step and follow this step. 1. install RPM package rpm-aq | greplibgcc // check package file rpm-Uvh * // install all package files binutilscompat-dbcompat-libstdc ++ control-centergccgcc-c ++ glibcglibc-commonlibstd

The following process is a step-by-step installation step.

1. Install the RPM package
Rpm-aq | grep libgcc // check the package file
Rpm-Uvh * // install all package files
Binutils
Compat-db
Compat-libstdc ++
Control-center
Gcc
Gcc-c ++
Glibc
Glibc-common
Libstdc ++
Libstdc ++-devel
Make
Sysstat
Setarch
LibXp (to start runInstaller)
---------------------------------------------

2. Modify/ect/sysctl. conf
Kernel. shmall = 268435456
Kernel. sem = 250 32000 100 128
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 4194304
Net. core. rmem_max = 4194304
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
---------------------------------------------

3. sysctl. conf takes effect.
Sysctl-p
---------------------------------------------

4. Create ORACLE users and groups
Groupadd oinstall
Groupadd dba
Useradd-g oinstall-G dba oracle // belongs to the oinstall group and supports the dba group
Passwd oracle
---------------------------------------------

5. Create a directory
Mkdir/db
Chown-R oracle: oinstall/db
---------------------------------------------

6. edit user environment variables
Vi/home/oracle/. bash_profile
# Get the aliases and functions
If [-f ~ /. Bashrc]; then
.~ /. Bashrc
Fi
# User specific environment and startup programs
ORACLE_SID = orcl
ORACLE_BASE =/db/oracle
ORACLE_HOME = $ ORACLE_BASE/product/10.2.0/db_1
Export ORACLE_SID ORACLE_BASE ORACLE_HOME
PATH = $ PATH: $ ORACLE_HOME/bin: $ HOME/bin
Export PATH
---------------------------------------------

7. vi/ect/security/limits. conf
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
---------------------------------------------

8. vi/ect/pam. d/login
Session required/lib/security/pam_limits.so
Session required/lib64/security/pam_limits.so // X86_64 Kernel
---------------------------------------------

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

10. Authorized Installation
Chmod-R 777 Database
./Filename-ignoreSysPrereqs skip OS Detection (Change 5.1 in/etc/RedHat-release to 4)
./RunInstall-

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.