如何下载并安装最新版本的 OPatch

发布时间:2020-07-07 02:15:27 作者:jason_125
来源:网络 阅读:3032


1、登陆mos站点下载最新版本的 OPatch补丁,这里以p6880880_102000_Linux-x86-64.zip补丁为例。

https://updates.oracle.com/download/6880880.html

 如何下载并安装最新版本的 OPatch


2、上传补丁至服务器,并移动补丁至数据库软件安装目录。

#mv p6880880_102000_Linux-x86-64.zip $ORACLE_HOME


3、切换用户至oracle用户,进入$ORACLE_HOME安装补丁。

[oracle@server ~]$ cd /home/oracle/orahome/

[oracle@server orahome]$ mv OPatch OPatch.old

[oracle@server orahome]$ unzip p6880880_102000_Linux-x86-64.zip 

Archive:  p6880880_102000_Linux-x86-64.zip

   creating: OPatch/

   creating: OPatch/ocm/

 extracting: OPatch/ocm/ocm.zip      

   creating: OPatch/ocm/lib/

  inflating: OPatch/ocm/lib/osdt_jce.jar  

  inflating: OPatch/ocm/lib/osdt_core3.jar  

  inflating: OPatch/ocm/lib/emocmclnt-14.jar  

  inflating: OPatch/ocm/lib/emocmutl.jar  

   creating: OPatch/ocm/bin/

  inflating: OPatch/ocm/bin/emocmrsp  

  inflating: OPatch/ocm/ocm_platforms.txt  

   creating: OPatch/crs/

   creating: OPatch/crs/log/

  inflating: OPatch/crs/patch212.pl  

  inflating: OPatch/crs/crsdelete.pm  

  inflating: OPatch/crs/crspatch.pm  

  inflating: OPatch/crs/s_crsconfig_defs  

  inflating: OPatch/crs/crsconfig_lib.pm  

  inflating: OPatch/crs/oracss.pm    

  inflating: OPatch/crs/auto_patch.pl  

  inflating: OPatch/crs/s_crsconfig_lib.pm  

  inflating: OPatch/opatch           

   creating: OPatch/opatchprereqs/

   creating: OPatch/opatchprereqs/opatch/

  inflating: OPatch/opatchprereqs/opatch/runtime_prereq.xml  

  inflating: OPatch/opatchprereqs/opatch/opatch_prereq.xml  

  inflating: OPatch/opatchprereqs/opatch/rulemap.xml  

  inflating: OPatch/opatchprereqs/prerequisite.properties  

   creating: OPatch/opatchprereqs/oui/

  inflating: OPatch/opatchprereqs/oui/knowledgesrc.xml  

  inflating: OPatch/opatch.ini       

  inflating: OPatch/emdpatch.pl      

  inflating: OPatch/opatch.pl        

   creating: OPatch/jlib/

  inflating: OPatch/jlib/opatchprereq.jar  

  inflating: OPatch/jlib/opatchactions.jar  

  inflating: OPatch/jlib/opatchutil.jar  

  inflating: OPatch/jlib/opatchfmw.jar  

  inflating: OPatch/jlib/opatchext.jar  

  inflating: OPatch/jlib/opatch.jar  

  inflating: OPatch/opatch.bat       

   creating: OPatch/docs/

  inflating: OPatch/docs/Prereq_Users_Guide.txt  

  inflating: OPatch/docs/FAQ         

  inflating: OPatch/docs/Users_Guide.txt  

  inflating: OPatch/README.txt       

[oracle@server orahome]$ cd OPatch

[oracle@server OPatch]$ ./opatch version

Invoking OPatch 10.2.0.5.1

OPatch Version: 10.2.0.5.1

OPatch succeeded.

[oracle@server OPatch]$

4、可以使用绝对路径来启动 OPatch:

[oracle@server OPatch]$ $ORACLE_HOME/OPatch/opatch version

Invoking OPatch 10.2.0.5.1


OPatch Version: 10.2.0.5.1


OPatch succeeded.

[oracle@server OPatch]$


或者可以把 OPatch 所在的目录加到 PATH 这个环境变量中,之后就可以在任何目录运行 OPatch 命令(opatch <args>)而不需要指定绝对路径

For Korn / Bourne shell:

$ export PATH=$PATH:$ORACLE_HOME/OPatch


推荐阅读:
  1. ORACLE 12C ADG 安装最新RU补丁
  2. GoldenGate安装以及补丁安装

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

opatch 安装补丁 下载opatch补丁

上一篇:Go中的方法集

下一篇:redis事务解析

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》