meta données pour cette page
  •  

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
oracle:install19c:install_binaires_applyru [16/11/2025 15:39] mdloracle:install19c:install_binaires_applyru [16/11/2025 16:30] (Version actuelle) mdl
Ligne 1: Ligne 1:
 ====== 1.1 - Oracle 19c - Install Binaires + APPLYRU ====== ====== 1.1 - Oracle 19c - Install Binaires + APPLYRU ======
 Il est possible d'appliquer des Patchs/RU, en même temps que l'installation des binaires. Il est possible d'appliquer des Patchs/RU, en même temps que l'installation des binaires.
 +
 +Il faut au préalable installer les prérequis documentés dans [[install_binaires|1 - Oracle 19c - Install Binaires]]
  
   * nous disposons des fichiers suivants:   * nous disposons des fichiers suivants:
Ligne 15: Ligne 17:
  
  
-  * décompression du RU 19.29 dans une arborescence dédiée+  * décompression du **RU 19.29** dans une arborescence dédiée
 <code bash> <code bash>
-mkdir /u01/Downloads/Patch_192900 +[oracle@oracle1 Downloads]$ mkdir /u01/Downloads/Patch_192900 
-cd /u01/Downloads/Patch_192900 +[oracle@oracle1 Downloads]$ cd /u01/Downloads/Patch_192900 
-unzip ../p38291812_192900_Linux-x86-64.zip+[oracle@oracle1 Patch_192900]$ unzip ../p38291812_192900_Linux-x86-64.zip
  
-[oracle@oracle1 Downloads]$ ll /u01/Downloads/+[oracle@oracle1 Patch_192900]$ ll /u01/Downloads/
 total 5229876 total 5229876
 -rwxr-xr-x. 1 oracle oinstall 3059705302 16 nov.  11:44 Oracle_Database_19.3.0.0.0.zip -rwxr-xr-x. 1 oracle oinstall 3059705302 16 nov.  11:44 Oracle_Database_19.3.0.0.0.zip
Ligne 30: Ligne 32:
  
  
 +  * Préparation des variables nécessaires
 +<code bash>
 +[oracle@oracle1 Patch_192900]$ export  ORACLE_HOSTNAME=oracle1.labo.local
 +[oracle@oracle1 Patch_192900]$ export ORACLE_BASE=/u01/app/oracle
 +[oracle@oracle1 Patch_192900]$ export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_2
 +[oracle@oracle1 Patch_192900]$ export ORA_INVENTORY=/u01/app/oraInventory
 +[oracle@oracle1 Patch_192900]$ export CV_ASSUME_DISTID=OEL7.6
 +</code> 
  
-export  ORACLE_HOSTNAME=oracle1.labo.local +  * création d'un second **ORACLE_HOME** 
-export ORACLE_BASE=/u01/app/oracle +<code bash> 
-export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_2 +[oracle@oracle1 Patch_192900]$ mkdir -p $ORACLE_BASE/product/19.0.0/dbhome_2 
-export ORA_INVENTORY=/u01/app/oraInventory +</code> 
-export CV_ASSUME_DISTID=OEL7.6+
  
-mkdir -p $ORACLE_BASE/product/19.0.0/dbhome_2 +  * décompression des binaires 
- +<code bash> 
-cd $ORACLE_HOME +[oracle@oracle1 Patch_192900]$ cd $ORACLE_HOME 
-unzip -oq /u01/Downloads/Oracle_Database_19.3.0.0.0.zip+[oracle@oracle1 dbhome_2]$ unzip -oq /u01/Downloads/Oracle_Database_19.3.0.0.0.zip 
 +</code> 
  
 +  * ajout de la dernière version **OPATCH**
 +<code bash>
 [oracle@oracle1 dbhome_2]$ rm -Rf ./OPatch [oracle@oracle1 dbhome_2]$ rm -Rf ./OPatch
 [oracle@oracle1 dbhome_2]$ unzip -oq /u01/Downloads/p6880880_OPatch12.2.0.1.48_Linux-x86-64.zip  [oracle@oracle1 dbhome_2]$ unzip -oq /u01/Downloads/p6880880_OPatch12.2.0.1.48_Linux-x86-64.zip 
Ligne 48: Ligne 60:
  
 OPatch succeeded. OPatch succeeded.
 +</code> 
  
-il faut mini 9524.949MB d'espace libre dans ORACLE_HOME 
  
 +  * installation **ORACLE_HOME**
 +    * avec l'option -applyRU qui pointe vers le RU 19.29
 +    * il faut mini 9524.949MB d'espace libre dans ORACLE_HOME
 +<code bash>
 ./runInstaller -ignorePrereq -waitforcompletion -silent                        \ ./runInstaller -ignorePrereq -waitforcompletion -silent                        \
     -responseFile ${ORACLE_HOME}/install/response/db_install.rsp               \     -responseFile ${ORACLE_HOME}/install/response/db_install.rsp               \
Ligne 94: Ligne 110:
  
 Successfully Setup Software with warning(s). Successfully Setup Software with warning(s).
 +</code> 
  
  
 +  * Post Setup script
 +<code bash>
 [root@oracle1 ~]# /u01/app/oracle/product/19.0.0/dbhome_2/root.sh [root@oracle1 ~]# /u01/app/oracle/product/19.0.0/dbhome_2/root.sh
 Check /u01/app/oracle/product/19.0.0/dbhome_2/install/root_oracle1.labo.delag.fr_2025-11-16_13-51-08-589577012.log for the output of root script Check /u01/app/oracle/product/19.0.0/dbhome_2/install/root_oracle1.labo.delag.fr_2025-11-16_13-51-08-589577012.log for the output of root script
 +</code>     
          
          
 +  * Nous disposons désormais d'un **ORACLE_HOME** directement patché en 19.29
 +<code bash>
 +[oracle@oracle1 dbhome_2]$ sqlplus /nolog
 +
 +SQL*Plus: Release 19.0.0.0.0 - Production on Sun Nov 16 16:48:15 2025
 +Version 19.29.0.0.0
 +
 +Copyright (c) 1982, 2025, Oracle.  All rights reserved.
 +
 +SQL> 
 +</code>