Oracle 11g grid Software installation [20180121]

Source: Internet
Author: User
Tags dba iptables

  Lab Environment:    system->redhat 6.5    Oracle software version->oracle 11.2.0.4.0      System initialization     setting hosts hostname and corresponding IP address         vi/etc/hosts             192.168.139.11 t-redhat-02 t-redhat-02.com    Close selinux        vi /etc/selinux/config         #SELINUX =enforcing         SELINUX=disabled    Turn off firewall and auto         service iptables stop& &service ip6tables stop        chkconfig iptables off&&chkconfig ip6tables off    Update system kernel parameters         vim/etc/sysctl.conf        & nbsp;    #ADD #kernel.shmmax->use os default no change# shmmax:smallest of (half the size of the physic Al memory) or (4gb-1 byte) #kernel. shmall->use os default no ChangekernEl.shmmni = 4096# SEMAPHORES:SEMMSL, semmns, semopm, Semmnikernel.sem = + 32000 142fs.aio-max-nr = 1048576fs.file-m Ax = 6815744net.ipv4.ip_local_port_range = 9000 65000net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default =262144net.core.wmem_max = 1048576          Limit Oracle &grid number of user processes and files         vim/etc/security/limits.conforacle           soft     nproc            2047oracle          hard      nproc            16384oracle          soft      nofile          1024oracle           hard     nofile           65536 grid             Soft          nproc         2047grid             hard         nproc         16384grid              soft          nofile          1024grid             hard        & Nbsp;nofile         65536 vim /etc/pam.d/login    session     required     pam_limits.so  vim/etc/profile  if [/$USER = "Oracle"] | | [/$USER = "Grid"]; then            IF [/$SHELL = "/bin/ksh"]; then                ulimit-p 16384       & nbsp        Ulimit-n 65536            else    & nbsp           ulimit-u 16384-n 65536            FI&NBS P               umask 022           fi    Create grids and Oracle users         GROUPADD-G 501 oinstall        GROUPADD-G 502 dba        GROUPADD-G 503 osasm        Groupadd -G 504 asmoper         useradd-g oinstall-g osasm,asmoper grid      &n Bsp Useradd-g oninstall-g dba oracle     update grid and Oracle User environment variables      &nbsp  vim/home/grid/.bash_profile            export oracle_base=/u01/ App/oracle  export oracle_home= $ORACLE _base/product/11.2.0.4/dbhome_1             export grid_home=/u01/app/grid/product/11.2.0.4              export path= $ORACLE _home/bin: $GRID _home/bin: $ORACLE _home/opatch: $PATH   Vim/home/oracle/.bash_profileExport oracle_base=/u01/app/oracle; Export oracle_home= $ORACLE _base/product/11.2.0.4/dbhome_1 export path= $ORACLE _home/bin: $PATH Install the required dependency package Y Um-y Install Binutils yum-y Install Compat-libcap1Yum-y Install compat-libstdc++*yum-y Install libgccyum-y install libgccyum-y install libstdc++yum-y install libstdc++ -develyum-y Install sysstatyum-y Install gccyum-y install gcc-c++yum-y install kshyum-y install makeyum-y install GL Ibcyum-y Install glibc-develyum-y Install libaioyum-y install libaio-develyum-y install elfutils-libelfyum-y Install Elfutils-libelf-develyum-y Install glibc-commonyum-y install glibc-headersyum-y install expat            RPM-VIH pdksh-5.2.14-30*     creating catalogs for grids and Oracle software          mkdir-p/u01/app/grid/product/11.2.0.4        mkdir-p/u01/app/ orainventory        mkdir-p/u01/app/oracle    Licensing for directories     & nbsp;   chown-r grid.oinstall/u01/app/grid        chown-r oracle.oinstall/ u01/app/oracle        chowN-r grid.oinstall/u01/app/orainventory        chmod-r 775/u01/app/grid/u01/app/ oracle  /u01/app/orainventory   first install the grid software

Install only grid software

Configure the RAC CD $GRID _home/crs/config./config.sh https://docs.oracle.com/cd/E11882_01/install.112/e41961/crsunix.htm# CWLIN2950

Oracle 11g grid Software installation [20180121]

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.