redhat5.9 installation on a 32-bit system oracle11.2.0g

Source: Internet
Author: User


  1. Groupadd dba

    Groupadd Oinstall

    USERADD-G oinstall-g dba Oracle

    passwd Oracle

  2. Mkdir/opt/oracle-pv

    Chown-r oracle.oinstall/opt/oracle

  3. Check for dependent packages:

    Binutils

    Compat-libstdc

    Gcc

    Gcc-c++

    glibc

    Glibc-common

    Glibc-devel

    Glibc-headers

    Kernel-headers

    Ksh

    Libaio

    Libaio-devel

    libgcc

    Libgomp

    Libstdc++

    Libstdc++44-devel

    Make

    Numactl-devel

    Sysstat

    UnixODBC

    Unixodbc-devel

  4. Install Java

    jdk-1_5_0_06- Linux-i586.bin

    sh jdk-1_5_0_06- Linux-i586.bin

    cp -rv  jdk-1_5_0_06  /usr/local

    ln-s/usr/local/jdk-1_5_0_06/  /USR/LOCAL/JDK

    ln-s/usr/local//usr/local/jdk-1_5_0_06/bin/java /usr/bin/java

    ln-s

  5. Configuring Java Environment variables

    Cd/etc/profile.d

    VI java.sh

    Export Java_home=/usr/local/jak

    Export path= $PATH: $JAVA _home/bin

    Export classpath= $JAVA _home/lib/tools.tar:.: $JAVA _home/lib/dt.jar

  6. System Configuration

    Chkconfig iptables off

    Selinux=disabled

  7. Kernel configuration

    Oracle soft Nproc 2047

    Oracle Soft Nofile 1024x768

    Oracle Hard Nproc 16384

    Oracle Hard nofile 65536

  8. Kernel optimization parameters

    VI /etc/sysctl.conf

    net.ipv4.ip_forward= 0

    Net.ipv4.conf.default.rp_filter = 1

    Net.ipv4.conf.default.accept_source_route =0

    KERNEL.SYSRQ = 0

    Kernel.core_uses_pid = 1

    Net.ipv4.tcp_syncookies = 1

    Net.ipv4.ip_local_port_range = 1024 65500

    KERNEL.MSGMNB = 65536

    Kernel.msgmax = 65536

    Kernel.shmmax = 4294967295

    Kernel.shmall = 268435456

    Kernel.shmmni = 4096

    Kernel.sem = 250 32000 100 128

    Fs.file-max = 65536

    Net.core.rmem_default = 262144

    Net.core.rmem_max = 262144

    Net.core.wmem_deault = 262144

    Net.core.wmem_max = 262144

  9. Configuring Oracle Environment Variables


    Export TMP=/tmp
    Export tmpdir= $TMP
    Export oracle_base=/opt/oracle
    Export oracle_home= $ORACLE _base/product/11.2.0/dbhome _1
    Export ORACLE_SID=ORCL
    Export oracle_term=xterm
    Export path=/usr/sbin: $PATH
    Export Path= $ORACLE _ Home/bin: $PATH
    Export ld_library_path= $ORACLE _home/lib:/lib:/usr/lib
    Export classpath= $ORACLE _home/jre:$ Oracle_home/jlib: $ORACLE _home/rdbms/jlib: $ORACLE _home/network/jlib
    Export display=:0.0
    Export ora_nls33=$ Oracle_home/ocommon/nls/admin/data

    ###############################################################################
    # # #set JDK Environment
    Java_home=/usr/local/jdk;export Java_home
    #PATH = $PATH: $JAVA _home/bin: $JAVA _home/jre/lib/i386: $HOME/bin:/home/oracle/bin:/opt/oracle/product/11.2.0/bin; Export PATH
    Path= $PATH: $JAVA _home/bin: $JAVA _home/jre/lib/i386:/home/oracle/bin: $ORACLE _home/bin; export PATH
    nls_lang= "Simplified Chinese_china". Zhs16gbk;export Nls_lang
    #export nls_lang= "American_china. ZHS16GBK "
    #
    Lc_ctype=zh_cn. GB2312
    Lc_all=zh_cn
    Lang=zh_cn. GB2312
    Umask 022
    #
    if [$USER = "Oracle"]; Then
    if [$SHELL = "/bin/ksh"];then
    Ulimit-p 16384
    Ulimit-n 65536
    Else
    Ulimit-u 16384-n 65536
    Fi
    Fi

  10. Start installation

Xhost local:oracle non-network localconnections being added to access control list

Su-oracle.

Cd/opt/oracle/database

Export Lang=c

./runinstaller


This article is from the "Common Documents" blog, so be sure to keep this source http://yujianglei.blog.51cto.com/7215578/1559218

redhat5.9 installation on a 32-bit system oracle11.2.0g

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.