Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to download and install the latest version of OPatch

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

1. Log in to the mos site to download the latest version of the OPatch patch. Here, take the p6880880_102000_Linux-x86-64.zip patch as an example.

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

2. Upload the patch to the server and move the patch to the database software installation directory.

# mv p6880880_102000_Linux-x86-64.zip $ORACLE_HOME

3. Switch users to oracle users and go to $ORACLE_HOME to install the patch.

[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. You can use the absolute path to start 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] $

Or you can add the directory where OPatch is located to the environment variable PATH, and then you can run the OPatch command (opatch) in any directory without specifying an absolute path

For Korn / Bourne shell:

$export PATH=$PATH:$ORACLE_HOME/OPatch

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report