Mecanisme qui permet d'exporter un ORACLE_HOME patché.
cd $ORACLE_HOME ./runInstaller -createGoldImage -destinationLocation /u01/Downloads/ -silent Launching Oracle Database Setup Wizard... Successfully Setup Software. Gold Image location: /u01/Downloads//db_home_2025-01-29_03-10-16PM.zip
yum install oracle-database-preinstall-19c
mkdir -p /u01/Downloads mkdir -p /u01/app/oracle/product/19.0.0/dbhome_1 mkdir -p /u02/oradata mkdir -p /u07/oradata/FRA chown -R oracle:oinstall /u01 /u02 /u07 /home/oracle chmod -R 775 /u01 /u02/* /u07/*
sudo su - oracle export ORACLE_HOSTNAME=host1.labo.local export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=$ORACLE_BASE/product/19.0.0/dbhome_1 export ORA_INVENTORY=/u01/app/oraInventory export CV_ASSUME_DISTID=OL8 export SOFTWARE_DIR=/u01/Downloads
cd $ORACLE_HOME unzip -oq ${SOFTWARE_DIR}/oracle_home-19.23_2025-01-29.zip
./runInstaller -ignorePrereq -waitforcompletion -silent \ -responsefile ${ORACLE_HOME}/install/response/db_install.rsp \ oracle.install.option=INSTALL_DB_SWONLY \ ORACLE_HOSTNAME=${ORACLE_HOSTNAME} \ UNIX_GROUP_NAME=oinstall \ INVENTORY_LOCATION=${ORA_INVENTORY} \ SELECTED_LANGUAGES=en,en_GB \ 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 Launching Oracle Database Setup Wizard... [WARNING] [INS-13001] Oracle Database is not supported on this operating system. Installer will not perform prerequisite checks on the system. CAUSE: This operating system may not have been in the certified list at the time of the release of this software. ACTION: Refer to My Oracle Support portal for the latest certification information for this operating system. Proceed with the installation if the operating system has been certified after the release of this software. The response file for this session can be found at: /u01/app/oracle/product/19.0.0/dbhome_1/install/response/db_2025-01-29_04-30-02PM.rsp You can find the log of this install session at: /tmp/InstallActions2025-01-29_04-30-02PM/installActions2025-01-29_04-30-02PM.log As a root user, execute the following script(s): 1. /u01/app/oraInventory/orainstRoot.sh 2. /u01/app/oracle/product/19.0.0/dbhome_1/root.sh Execute /u01/app/oraInventory/orainstRoot.sh on the following nodes: [xxxxx] Execute /u01/app/oracle/product/19.0.0/dbhome_1/root.sh on the following nodes: [xxxxx]
/u01/app/oraInventory/orainstRoot.sh /u01/app/oracle/product/19.0.0/dbhome_1/root.sh