meta données pour cette page
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| oracle:install19c:install_binaires_applyru [16/11/2025 15:35] – mdl | oracle: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' | Il est possible d' | ||
| + | |||
| + | Il faut au préalable installer les prérequis documentés dans [[install_binaires|1 - Oracle 19c - Install Binaires]] | ||
| + | |||
| + | * nous disposons des fichiers suivants: | ||
| + | * **Oracle_Database_19.3.0.0.0.zip** : Les binaires ORACLE_HOME | ||
| + | * **p38291812_192900_Linux-x86-64.zip** : Le RU ORACLE HOME 19.29 | ||
| + | * **p6880880_OPatch12.2.0.1.48_Linux-x86-64.zip** : Le dernier OPATCH | ||
| + | <code bash> | ||
| + | [oracle@oracle1 Downloads]$ ll / | ||
| + | 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 2295670251 16 nov. 11:20 p38291812_192900_Linux-x86-64.zip | ||
| + | -rwxr-xr-x. 1 oracle oinstall | ||
| + | </ | ||
| + | |||
| + | |||
| + | * décompression du **RU 19.29** dans une arborescence dédiée | ||
| + | <code bash> | ||
| + | [oracle@oracle1 Downloads]$ mkdir / | ||
| + | [oracle@oracle1 Downloads]$ cd / | ||
| + | [oracle@oracle1 Patch_192900]$ unzip ../ | ||
| + | |||
| + | [oracle@oracle1 Patch_192900]$ ll / | ||
| + | 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 2295670251 16 nov. 11:20 p38291812_192900_Linux-x86-64.zip | ||
| + | -rwxr-xr-x. 1 oracle oinstall | ||
| + | drwxr-xr-x. 3 oracle oinstall | ||
| + | </ | ||
| + | |||
| + | |||
| + | * Préparation des variables nécessaires | ||
| + | <code bash> | ||
| + | [oracle@oracle1 Patch_192900]$ export | ||
| + | [oracle@oracle1 Patch_192900]$ export ORACLE_BASE=/ | ||
| + | [oracle@oracle1 Patch_192900]$ export ORACLE_HOME=$ORACLE_BASE/ | ||
| + | [oracle@oracle1 Patch_192900]$ export ORA_INVENTORY=/ | ||
| + | [oracle@oracle1 Patch_192900]$ export CV_ASSUME_DISTID=OEL7.6 | ||
| + | </ | ||
| + | |||
| + | * création d'un second **ORACLE_HOME** | ||
| + | <code bash> | ||
| + | [oracle@oracle1 Patch_192900]$ mkdir -p $ORACLE_BASE/ | ||
| + | </ | ||
| + | |||
| + | * décompression des binaires | ||
| + | <code bash> | ||
| + | [oracle@oracle1 Patch_192900]$ cd $ORACLE_HOME | ||
| + | [oracle@oracle1 dbhome_2]$ unzip -oq / | ||
| + | </ | ||
| + | |||
| + | * ajout de la dernière version **OPATCH** | ||
| + | <code bash> | ||
| + | [oracle@oracle1 dbhome_2]$ rm -Rf ./OPatch | ||
| + | [oracle@oracle1 dbhome_2]$ unzip -oq / | ||
| + | [oracle@oracle1 dbhome_2]$ OPatch/ | ||
| + | OPatch Version: 12.2.0.1.48 | ||
| + | |||
| + | OPatch succeeded. | ||
| + | </ | ||
| + | |||
| + | |||
| + | * installation **ORACLE_HOME** | ||
| + | * avec l' | ||
| + | * il faut mini 9524.949MB d' | ||
| + | <code bash> | ||
| + | ./ | ||
| + | -responseFile ${ORACLE_HOME}/ | ||
| + | -applyRU | ||
| + | oracle.install.option=INSTALL_DB_SWONLY | ||
| + | ORACLE_HOSTNAME=${ORACLE_HOSTNAME} | ||
| + | UNIX_GROUP_NAME=oinstall | ||
| + | INVENTORY_LOCATION=${ORA_INVENTORY} | ||
| + | SELECTED_LANGUAGES=en, | ||
| + | ORACLE_HOME=${ORACLE_HOME} | ||
| + | ORACLE_BASE=${ORACLE_BASE} | ||
| + | oracle.install.db.InstallEdition=EE | ||
| + | oracle.install.db.OSDBA_GROUP=dba | ||
| + | oracle.install.db.OSBACKUPDBA_GROUP=dba | ||
| + | oracle.install.db.OSDGDBA_GROUP=dba | ||
| + | oracle.install.db.OSKMDBA_GROUP=dba | ||
| + | oracle.install.db.OSRACDBA_GROUP=dba | ||
| + | SECURITY_UPDATES_VIA_MYORACLESUPPORT=false | ||
| + | DECLINE_SECURITY_UPDATES=true | ||
| + | | ||
| + | | ||
| + | Préparation du répertoire de base auquel appliquer un patch... | ||
| + | Application du patch / | ||
| + | Le patch a été appliqué. | ||
| + | Le journal est disponible à l' | ||
| + | Lancement de l' | ||
| + | |||
| + | [WARNING] [INS-13014] Lenvironnement cible ne respecte pas certaines conditions optionnelles. | ||
| + | | ||
| + | | ||
| + | Le fichier de réponses pour cette session est accessible sur : | ||
| + | / | ||
| + | |||
| + | Le journal de cette session d' | ||
| + | / | ||
| + | |||
| + | En tant qu' | ||
| + | 1. / | ||
| + | |||
| + | Exécutez / | ||
| + | [oracle1] | ||
| + | |||
| + | |||
| + | Successfully Setup Software with warning(s). | ||
| + | </ | ||
| + | |||
| + | |||
| + | * Post Setup script | ||
| + | <code bash> | ||
| + | [root@oracle1 ~]# / | ||
| + | Check / | ||
| + | </ | ||
| + | | ||
| + | | ||
| + | * 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. | ||
| + | |||
| + | SQL> | ||
| + | </ | ||