shutdown database

 

Download opatch utility p6880880_121010_Linux-x86-64

unzip it -> OPatch  this folder has to replace with existing OPatch folder

Download patch p24732082_121020_Linux-x86-64 and unzip it like cd patch/24732082

Set Oracle Home and Path as

export ORACLE_HOME=/home/oracle/app/oracle/product/12.2.0/dbhome_1

export PATH=$PATH:$ORACLE_HOME/OPatch:$ORACLE_HOME/bin;


goto cd patch/24732082

opatch  apply


After this post installion steps as follows

Steps Standalone DB Steps Single/Multitenant (CDB/PDB) DB

1

% sqlplus /nolog

1

% sqlplus /nolog

2

SQL> Connect / as sysdba

2

SQL> Connect / as sysdba

3

SQL> startup

3

SQL> startup

4

SQL> quit

4

SQL> alter pluggable database all open;

5

% cd $ORACLE_HOME/OPatch

5

SQL> quit

6

% ./datapatch -verbose

6

% cd $ORACLE_HOME/OPatch

   

7

% ./datapatch -verbose



check last patch applied

opatch lsinventory |grep -i applied