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)
阅读(2201) | 评论(0) | 转发(0) |