实验环境:
    系统->Redhat 6.5
    Oracle软件版本->oracle 11.2.0.4.0
    
 
系统初始化
    设定hosts主机名和对应IP地址
        vi /etc/hosts
            192.168.139.11 t-redhat-02 t-redhat-02.com
    关闭selinux
        vi /etc/selinux/config
        #SELINUX=enforcing
        SELINUX=disabled
    关闭防火墙和自动
        service iptables stop&&service ip6tables stop
        chkconfig iptables off&&chkconfig ip6tables off
    更新系统内核参数
        vim /etc/sysctl.conf
            #ADD
#kernel.shmmax ->use os default no change
# shmmax: Smallest of -> (Half the size of the physical memory) or (4GB - 1 byte)
#kernel.shmall ->use os default no change
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 142
fs.aio-max-nr = 1048576
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65000
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default =262144
net.core.wmem_max = 1048576
 
 
        限制oracle&grid用户进程数和文件数
        vim /etc/security/limits.conf
oracle          soft     nproc           2047
oracle          hard     nproc           16384
oracle          soft     nofile          1024
oracle          hard     nofile          65536
 
grid             soft         nproc         2047
grid             hard         nproc         16384
grid             soft          nofile         1024
grid             hard         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
                ulimit -n 65536
            else
                ulimit -u 16384 -n 65536
            fi
                umask 022
          fi
   创建grid和oracle用户
        groupadd -g 501 oinstall
        groupadd -g 502 dba
        groupadd -g 503 osasm
        groupadd -g 504 asmoper
 
        useradd -g oinstall -G osasm,asmoper grid
        useradd -g oninstall -G dba oracle
 
    更新grid和oracle用户环境变量
        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_profile

    
           export  ORACLE_BASE=/u01/app/oracle;
           export ORACLE_HOME=$ORACLE_BASE/product/ 11.2.0.4/dbhome_1
           export PATH=$ORACLE_HOME/bin:$PATH
 
 
 
安装所需依赖包

yum -y install binutils

yum -y install compat-libcap1
yum -y install compat-libstdc++*
yum -y install libgcc
yum -y install libgcc
yum -y install libstdc++
yum -y install libstdc++-devel
yum -y install sysstat
yum -y install gcc
yum -y install gcc-c++
yum -y install ksh
yum -y install make
yum -y install glibc
yum -y install glibc-devel
yum -y install libaio
yum -y install libaio-devel
yum -y install elfutils-libelf
yum -y install elfutils-libelf-devel
yum -y install glibc-common
yum -y install glibc-headers
yum -y install expat
           rpm -vih pdksh-5.2.14-30*
 
    为grid和oracle软件创建目录
        mkdir -p /u01/app/grid/product/11.2.0.4
        mkdir -p /u01/app/oraInventory
        mkdir -p /u01/app/oracle
    分别为目录进行授权
        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
 
 首先安装grid软件

只安装grid软件

 

 

 
配置RAC
    cd $GRID_HOME/crs/config
    ./config.sh
 
 

oracle 11g grid软件安装[20180121]的更多相关文章

  1. 卸载oracle 11g grid软件

    一,使用deinstall 同样,卸载grid软件在11g中也推出了了卸载工具deinstall卸载同卸载oracle数据库软件 具体可参考:Behaviour of the Oracle De-in ...

  2. Oracle 11g 单实例安装文档

    这里介绍在Red Hat Enterprise Linux Server release 5.7 (Tikanga)下安装ORACLE 11.2.0.1.0的过程,本文仅仅是为了写这样安装指导文档而整 ...

  3. Linux 完整卸载oracle和grid软件

    本文主要描述如何在Linux下完全卸载oracle和grid软件. 操作环境 SuSE11 oracle用户完整删除操作步骤 1.登录oracle用户,停止Oracle数据库监听和数据库实例 orac ...

  4. oracle 11g GRID 中 关于 OLR 须要知道的一些内容

     oracle 11g GRID 中 关于 OLR 须要知道的一些内容 1.检查olr 的状态: [root@vmrac1 ~]# ocrcheck -local Status of Oracle ...

  5. oracle 11g 64位安装sqldeveloper打开不了

    oracle 11g 64位安装sqldeveloper打开不了解决方法: 1.到官网下载对应版本的sqldeveloper. 2.找对应安装路径下的F:\app\Administrator\prod ...

  6. windows 环境怎样恢复 (oracle 11g grid) ocr voting 损坏的集群

     windows 环境怎样恢复 (oracle 11g grid) ocr voting 损坏的集群 oracle 11g 以后 ocr 能够放到 asm 磁盘上,而ASM的启动依赖于ocr和vo ...

  7. Oracle 11g 客户端的安装和配置。

    原文:Oracle 11g 客户端的安装和配置. 数据库和客户端在不同的机器之上. 在安装之前,在安装Oracle数据库的服务器上导航到下面的目录. 将listener.ora和tnsnames.or ...

  8. 【oracle 11G Grid 】Crsctl start cluster 和 crsctl start crs 有差别么?

     [oracle 11G Grid ]Crsctl start cluster 和 crsctl start crs 有差别么? q:Crsctl start cluster 是 11.2新特性和 ...

  9. Oracle RAC集群安装之:Grid软件安装过程蓝屏

    前几天在安装一套RAC服务器的过程中,遇到了蓝屏事件,折腾了蛮久(在排查是否存在硬件问题上花费了相当多一部分时间),整个过程大概说明如下: 1.两台华为的PC SERVER,操作系统为WIN SERV ...

随机推荐

  1. html 表格的一些属性设置

    第一种:单元格跨行 第二种:单元格间距 第三种:带有标题的表格 第四种:带标题的表格

  2. struts-config.xml 中 action 与 forward 的重要属性

    1.forward 的 redirect 可以为true.false(默认).yes.no true和yes一样,false和no一样: redirect="false",容器内跳 ...

  3. spring@Autowired注入为null的问题,2017年9月14日21点41分记录

    这个小问题纠结了三个小时..发出来留个纪念 这是启动项目的时候 这是请求控制器的时候   图1注入的时候是null,图2请求控制器的时候是有的,这是因为图1debug的地方是构造器..autowire ...

  4. installed_oracle_can't_use

    Preface 1.my server is windowsxp 2.database is the oralce 10g step A.CHECK SERVER 1.win + r cmd sqlp ...

  5. ZT acct 中文man页面(1)

    acct 中文man页面(1) 2011-08-18 13:57 佚名 博客转载 我要评论(0) 字号:T | T 如果在内核编译时开启了进程记账选项(CONFIG_BSD_PROCESS_ACCT) ...

  6. MATLAB安装与注册(血泪总结)

    工具/原料   R2016a_win64.iso(安装文件) Matlab 2016a Win64 Crack.rar(破解文件) 方法/步骤   1 下载R2016a_win64.iso(安装文件) ...

  7. AndroidStudio 添加 AndroidAnnotations

    1.添加对apt的依赖 buildscript { repositories { mavenCentral() } dependencies { classpath 'com.neenbedankt. ...

  8. 计算次数,POJ(1207)

    题目链接:http://poj.org/problem?id=1207 #include <stdio.h> #include <algorithm> using namesp ...

  9. 2018.11.21 struts2获得servletAPI方式及如何获得参数

    访问servletAPI方式 第一种:通过ActionContext (重点及常用 都是获得原生对象) 原理 Action配置 被引入的配置文件 在页面调用取值 第二种:通过ServletAction ...

  10. 【luogu P2146 [NOI2015]软件包管理器】 题解

    题目链接:https://www.luogu.org/problemnew/show/P2146 变量名真毒瘤 我真的再也不把l,left,r,right弄反了 反向思维更好做一些 #include ...