zoukankan      html  css  js  c++  java
  • 12c oracle grid p28662603 psu 安装---2018年10月最新的补丁

    安装包下载路径:链接:https://share.weiyun.com/5PfciYG 密码:521521

    删除原有目录
    mv /opt/grid/products/12.2.0/OPatch /opt/grid/products/12.2.0/OPatch.bak
    mv /opt/oracle/products/12.2.0/OPatch /opt/oracle/products/12.2.0/OPatch.bak

    将打补丁工具拖入进去
    mkdir /tmp/psu
    chmod 777 /tmp/psu
    unzip /tmp/p6880880_122010_Linux-x86-64.zip -d /opt/grid/products/12.2.0/
    unzip /tmp/p6880880_122010_Linux-x86-64.zip -d /opt/oracle/products/12.2.0/
    unzip /tmp/p28662603_122010_Linux-x86-64.zip -d /tmp/psu/

    改打补丁工具的权限
    chmod -R 777 /tmp/psu/
    chown -R grid:oinstall /opt/grid/products/12.2.0/OPatch
    chown -R oracle:oinstall /opt/oracle/products/12.2.0/OPatch

    检查是否有冲突
    su - grid
    /opt/oracle/products/12.2.0/OPatch/opatch lsinventory -detail -oh /opt/oracle/products/12.2.0/

    安装补丁
    su - root
    cd /opt/grid/products/12.2.0/OPatch/
    export PATH=$PATH:/opt/grid/products/12.2.0/OPatch
    opatchauto apply /tmp/psu/28662603/

    如果意外会话中断,可执行回滚操作:
    su - root
    export PATH=$PATH:/opt/grid/products/12.2.0/OPatch
    opatchauto rollback /tmp/psu/28662603/

    之后再次重复上面安装补丁操作

  • 相关阅读:
    influxdb服务器 relay
    browse-agent type and curl post
    使用 Ansible 管理 MySQL 复制
    ansible里的item和with_items
    Ansible 从MySQL数据库添加或删除用户
    ansibel---tag模块
    ll | wc -l的陷阱
    ansible 判断和循环
    Ansible详解(二)
    Ansible详解(一)
  • 原文地址:https://www.cnblogs.com/cnhyk/p/12125155.html
Copyright © 2011-2022 走看看