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_rac:3-install_oracle_home [14/09/2025 16:31] mdloracle:install19c_rac:3-install_oracle_home [20/11/2025 12:12] (Version actuelle) mdl
Ligne 1: Ligne 1:
-====== Install ORACLE_HOME RAC ======+====== 3 - Install ORACLE_HOME RAC ======
  
  
Ligne 14: Ligne 14:
   * création de l'arborescence (sur les deux noeuds en tant qu'ORACLE)   * création de l'arborescence (sur les deux noeuds en tant qu'ORACLE)
 <code bash> <code bash>
-mkdir -p /u01/app/oracle/product/19c/db_home1+mkdir -p /u01/app/oracle/product/19c/dbhome_1
 </code> </code>
  
Ligne 48: Ligne 48:
 # -- FOLDERS # -- FOLDERS
 INVENTORY_LOCATION=/u01/app/oraInventory  --oracle product catalog INVENTORY_LOCATION=/u01/app/oraInventory  --oracle product catalog
-ORACLE_HOME=/u01/app/oracle/product/19c/db_home1+ORACLE_HOME=/u01/app/oracle/product/19c/dbhome_1
 ORACLE_BASE=/u01/app/oracle                 ORACLE_BASE=/u01/app/oracle                
 # #
Ligne 109: Ligne 109:
 <code bash>  <code bash>
 [oracle@oracle2 db_home1]$ ./runInstaller -silent -responseFile /u01/Downloads/db.rsp  -skipPrereqs [oracle@oracle2 db_home1]$ ./runInstaller -silent -responseFile /u01/Downloads/db.rsp  -skipPrereqs
 +</code>
 +
 +  * Post Install scripts sur les deux noeuds en tant que ROOT
 +<code bash>
 +[root@oracle2 bin]# /u01/app/oracle/product/19c/dbhome_1/root.sh
 +Check /u01/app/oracle/product/19c/dbhome_1/install/root_oracle2.labo.local_2025-09-14_18-48-02-932688370.log for the output of root script
 +
 +
 +root@oracle3 ~]# /u01/app/oracle/product/19c/dbhome_1/root.sh
 +Check /u01/app/oracle/product/19c/dbhome_1/install/root_oracle3.labo.local_2025-09-14_18-48-52-975490788.log for the output of root script
 +</code>
 +
 +  * personnalisation bash_profile ORACLE
 +**__oracle2__**
 +<code BASH>
 +# .bash_profile
 +
 +# Get the aliases and functions
 +if [ -f ~/.bashrc ]; then
 +        . ~/.bashrc
 +fi
 +
 +# User specific environment and startup programs
 +
 +PATH=$PATH:$HOME/.local/bin:$HOME/bin
 +
 +export PATH
 +#
 +##### Oracle Env #####
 +export ORACLE_BASE=/u01/app/oracle
 +export ORACLE_HOME=$ORACLE_BASE/product/19c/dbhome_1
 +##export ORACLE_SID=
 +export LD_LIBRARY_PATH=\$ORACLE_HOME/lib:/lib:/usr/lib
 +export CLASSPATH=\$ORACLE_HOME/jlib:\$ORACLE_HOME/rdbms/jlib
 +PATH=$PATH:$HOME/.local/bin:$ORACLE_HOME/bin
 +
 +</code>
 +**__oracle3__**
 +<code BASH>
 +# .bash_profile
 +
 +# Get the aliases and functions
 +if [ -f ~/.bashrc ]; then
 +        . ~/.bashrc
 +fi
 +
 +# User specific environment and startup programs
 +
 +PATH=$PATH:$HOME/.local/bin:$HOME/bin
 +
 +export PATH
 +#
 +##### Oracle Env #####
 +export ORACLE_BASE=/u01/app/oracle
 +export ORACLE_HOME=$ORACLE_BASE/product/19c/dbhome_1
 +##export ORACLE_SID=
 +export LD_LIBRARY_PATH=\$ORACLE_HOME/lib:/lib:/usr/lib
 +export CLASSPATH=\$ORACLE_HOME/jlib:\$ORACLE_HOME/rdbms/jlib
 +PATH=$PATH:$HOME/.local/bin:$ORACLE_HOME/bin
 </code> </code>