OPATCH 是oracle的一个工具
utility ,主要功能是:
-
Applying the patch 应用补丁
-
Rollback the patch 回滚补丁
-
Conflict check 冲突检查
-
Report the installed components and patches 报告补丁安装情况
最新的OPATCH工具下载地址:
下载时注意选择正确的平台,目前有以下几类:
-
For all releases of 12.2, select the OPatch version 12.2.0.1.0
-
For all releases of 12.1, select the OPatch version 12.1.0.1.0
-
For all releases of 11.2, select the OPatch version 11.2.0.0.0
-
For all releases of 11.1, select the OPatch version 11.1.0.0.0
-
For all releases of 10.2, select the OPatch version 10.2.0.0.0
-
For all releases prior to 10.2 (9.0.4, 9.2, 10.1), select the OPatch version 10.1.0.0.0
下载后的更新方法:
% mv p6880880_101000_SOLARIS64.zip $ORACLE_HOME
% cd $ORACLE_HOME
(If a former OPatch directory already exist, then rename it)
% mv OPatch OPatch_100057_OLD
% unzip p6880880_101000_SOLARIS64.zip
% cd OPatch
% opatch version
调用:
$ORACLE_HOME/OPatch/opatch version
为了方便以后使用,加入环境变量:
For Korn / Bourne shell:
% export PATH=$PATH:$ORACLE_HOME/OPatch
For C Shell:
% setenv PATH $PATH:$ORACLE_HOME/OPatch
参考:
How To Download And Install The Latest OPatch(6880880) Version (文档 ID 274526.1)
Opatch FAQ ( Frequently Asked Questions) (文档 ID 1486109.1)
阅读(2424) | 评论(0) | 转发(0) |