LinuxRHEL5.0 + Oracle10G Installation

Source: Internet
Author: User
The system uses minimal installation, installation steps are not refined 1 installation RPM package: # rpm-ivhglibc-headers-2.5-12.i386.rpm # rpm-ivhglibc-headers-2.5-12.i386.rpm # rpm-ivhlibaio-0.3.106-3.2.i386.rpm & nbsp

The system uses minimal installation, and the installation steps are not detailed.

1. Install the RPM package:

# Rpm-ivh glibc-headers-2.5-12.i386.rpm

# Rpm-ivh glibc-headers-2.5-12.i386.rpm

# Rpm-ivh libaio-0.3.106-3.2.i386.rpm

# Rpm-ivh libgomp-4.1.1-52. el5.i386. rpm

# Rpm-ivh libXmu-1.0.2-5.i386.rpm

# Rpm-ivh libXp-1.0.0-8.i386.rpm

# Rpm-ihv make-3.81-1.1.i386.rpm

# Rpm-ivh openmotif-2.3.0-0.3.el5.i386.rpm

# Rpm-ivh setarch-2.0-1.1.i386.rpm

# Rpm-ivh cpp-4.1.1-52.el5.i386.rpm

# Rpm-ivh gcc-4.1.1-52.el5.i386.rpm

# Rpm-ivh glibc-2.5-12.i386.rpm

# Rpm-ivh compat-db-4.2.52-5.1.i386.rpm

# Rpm-ivh compat-gcc-34-3.4.6-4.i386.rpm

# Rpm-ivh compat-gcc-34-c + +-3.4.6-4. i386.rpm

# Rpm-ihv compat-libstdc ++-33-3.2.3-61.i386.rpm

2. Modify kernel parameters:

# Vi/etc/sysctl. conf

Kernel. shmall = 2097152 (actual physical memory size)
Kernel. shmmax = 2147483648 (actual physical internal * 1024*1024/2)
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

3. Run the command to make it take effect:

# Sysctl-p

4. Create an Oracle user

# Groupadd oinstall

# Groupadd dba

# Useradd-m-g oinstall-G dba oracle

5. Create an oracle Installation Directory

# Mkdir-p/oracle/DB/10g

# Chown-R oracle. oinstall/oracle

6. modify the configuration file

# Vi/etc/RedHat-release

Red Hat Enterprise Linux Server release 5 (Tikanga) to Red Hat Enterprise Linux Server release 4 (Tikanga)

# Vi/etc/security/limits. conf

* Soft nproc 2047

* Hard nproc 16384

* Soft nofile 1024

* Hard nofile 65536

# Vi/etc/pam. d/login

Session required/lib/security/pam_limits.so

7. log in to oracle to modify the variable

# Su-oracle

8 # vi ~ /. Bash_profile

Export TMP =/tmp

Export TMPDIR = $ TMP

Export ORACLE_BASE =/oracle/DB

Export ORACLE_HOME = $ ORACLE_BASE/10g

Export ORACLE_SID = orcl

Export ORACLE_TERM = xterm

Export PATH = $ ORACLE_HOME/bin: $ ORACLE_HOME/Apache/bin: $ PATH

Export LD_LIBRARY_PATH = $ ORACLE_HOME/lib: $ LD_LIBRARY_PATH

Export CLASSPATH = $ ORACLE_HOME/jre: $ ORACLE_HOME/jlib: $ ORACLE_HOME/rdbms/jlib

Export NLS_LANG = "AMERICAN_AMERICA.zhs16gbk"

Export DISPLAY = 192.168.0.244: 0.0

If [$ USER = "oracle"]; then

If [$ SHELL = "/bin/ksh"]; then

Ulimit-p 16384

Ulimit-n 65536

Else

Ulimit-u 16384-n 65536

Fi

Fi

9 save and run source/home/oracle/. bash_profile

10. For details about netca and dbca, refer to the source.

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.