下載和安裝最新OPatch

renjixinchina發表於2014-01-08


1.      最新OPatch下載地址

2.      安裝

grid@node1 ~]$ /u01/app/11.2.0/grid/OPatch/opatch  -help

Invoking OPatch 11.1.0.6.6

 

Oracle Interim Patch Installer version 11.1.0.6.6

Copyright (c) 2009, Oracle Corporation.  All rights reserved.

 

 

 Usage: opatch [ -help ] [ -r[eport] ] [ command ]

 

            command := apply

                       lsinventory

                       napply

                       nrollback

                       rollback

                       query

                       version

                       prereq

                       util

 

  := -help       Displays the help message for the command.

                       -report     Print the actions without executing.

 

 example:

   'opatch -help'

   'opatch apply -help'

   'opatch lsinventory -help'

   'opatch napply -help'

   'opatch nrollback -help'

   'opatch rollback -help'

   'opatch prereq -help'

   'opatch util -help'

  

 

 

OPatch succeeded.

 

 

 

 

[grid@node1 ~]$ cd $ORACLE_HOME

 

[[root@node1 grid]$ mv OPatch OPatch_bak

 

 

[root@node1 grid]# unzip p6880880_112000_LINUX.zip

Archive:  p6880880_112000_LINUX.zip

   creating: OPatch/

   creating: OPatch/jlib/

  inflating: OPatch/jlib/oracle.opatch.classpath.jar 

  inflating: OPatch/jlib/oracle.opatch.classpath.windows.jar 

  inflating: OPatch/jlib/opatch.jar 

   creating: OPatch/jlib/fa/

  inflating: OPatch/jlib/fa/oracle.opatch.fa.classpath.windows.jar 

  inflating: OPatch/jlib/fa/oracle.opatch.fa.classpath.unix.jar 

  inflating: OPatch/jlib/fa/oracle.opatch.fa.classpath.jar 

  inflating: OPatch/jlib/opatchsdk.jar 

  inflating: OPatch/jlib/oracle.opatch.classpath.unix.jar 

   creating: OPatch/oplan/

  inflating: OPatch/oplan/oplan.bat 

   creating: OPatch/oplan/jlib/

  inflating: OPatch/oplan/jlib/oplan.jar 

  inflating: OPatch/oplan/jlib/osysmodel-utils.jar 

  inflating: OPatch/oplan/jlib/patchsdk.jar 

  inflating: OPatch/oplan/jlib/JMXDrivers.jar 

  inflating: OPatch/oplan/jlib/Validation.jar 

  inflating: OPatch/oplan/jlib/bundle.jar 

  inflating: OPatch/oplan/jlib/oracle.oplan.classpath.jar 

  inflating: OPatch/oplan/jlib/OuiDriver.jar 

  inflating: OPatch/oplan/jlib/automation.jar 

   creating: OPatch/oplan/jlib/jaxb/

  inflating: OPatch/oplan/jlib/jaxb/jaxb-impl.jar 

  inflating: OPatch/oplan/jlib/jaxb/activation.jar 

  inflating: OPatch/oplan/jlib/jaxb/jaxb-api.jar 

  inflating: OPatch/oplan/jlib/jaxb/jsr173_1.0_api.jar 

  inflating: OPatch/oplan/jlib/EMrepoDrivers.jar 

  inflating: OPatch/oplan/jlib/CRSProductDriver.jar 

  inflating: OPatch/oplan/jlib/ValidationRules.jar 

   creating: OPatch/oplan/jlib/apache-commons/

  inflating: OPatch/oplan/jlib/apache-commons/commons-cli-1.0.jar 

  inflating: OPatch/oplan/jlib/OsysModel.jar 

  inflating: OPatch/oplan/oplan     

  inflating: OPatch/oplan/README.txt 

  inflating: OPatch/oplan/README.html 

   creating: OPatch/opatchprereqs/

  inflating: OPatch/opatchprereqs/prerequisite.properties 

   creating: OPatch/opatchprereqs/opatch/

  inflating: OPatch/opatchprereqs/opatch/opatch_prereq.xml 

  inflating: OPatch/opatchprereqs/opatch/runtime_prereq.xml 

  inflating: OPatch/opatchprereqs/opatch/rulemap.xml 

   creating: OPatch/opatchprereqs/oui/

  inflating: OPatch/opatchprereqs/oui/knowledgesrc.xml 

  inflating: OPatch/emdpatch.pl     

  inflating: OPatch/opatch.pl       

  inflating: OPatch/opatch          

  inflating: OPatch/opatch.bat      

  inflating: OPatch/README.txt      

   creating: OPatch/docs/

  inflating: OPatch/docs/Prereq_Users_Guide.txt 

  inflating: OPatch/docs/Users_Guide.txt 

  inflating: OPatch/docs/FAQ        

   creating: OPatch/crs/

  inflating: OPatch/crs/patch11203.pl 

   creating: OPatch/crs/log/

  inflating: OPatch/crs/patch11202.pl 

  inflating: OPatch/crs/auto_patch.pl 

  inflating: OPatch/crs/patch112.pl 

  inflating: OPatch/crs/installPatch.excl 

  inflating: OPatch/opatchdiag.bat  

   creating: OPatch/ocm/

  inflating: OPatch/ocm/ocm_platforms.txt 

 extracting: OPatch/ocm/ocm.zip     

   creating: OPatch/ocm/lib/

  inflating: OPatch/ocm/lib/emocmclnt.jar 

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

  inflating: OPatch/ocm/lib/http_client.jar 

  inflating: OPatch/ocm/lib/osdt_jce.jar 

  inflating: OPatch/ocm/lib/jnet.jar 

  inflating: OPatch/ocm/lib/emocmcommon.jar 

  inflating: OPatch/ocm/lib/xmlparserv2.jar 

  inflating: OPatch/ocm/lib/log4j-core.jar 

  inflating: OPatch/ocm/lib/jcert.jar 

  inflating: OPatch/ocm/lib/jsse.jar 

  inflating: OPatch/ocm/lib/osdt_core3.jar 

  inflating: OPatch/ocm/lib/regexp.jar 

   creating: OPatch/ocm/bin/

  inflating: OPatch/ocm/bin/emocmrsp 

 extracting: OPatch/version.txt     

  inflating: OPatch/opatch.ini       

  inflating: OPatch/opatchdiag    

 

[root@node1 grid]# chown -R grid:oinstall OPatch

 

3.      檢視最新版本

[grid@node1 ~]$ /u01/app/11.2.0/grid/OPatch/opatch version

OPatch Version: 11.2.0.3.6

 

OPatch succeeded.

 

 

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15747463/viewspace-1068368/,如需轉載,請註明出處,否則將追究法律責任。

相關文章