Installation rdbms 12.2.0.1 with response file
Create the necessary groups:
[root@dg1 ~]# groupadd -g 54325 backupdba [root@dg1 ~]# groupadd -g 54326 dgdba [root@dg1 ~]# groupadd -g 54327 kmdba [root@dg1 ~]# groupadd -g 54328 racdba [root@dg1 ~]# id -a oracle uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),995(vboxsf),54322(dba),54323(asmadmin),54324(asmdba) [root@dg1 ~]# usermod -a -G backupdba,dgdba,kmdba,racdba oracle [root@dg1 ~]# id -a oracle uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),995(vboxsf),54322(dba),54323(asmadmin),54324(asmdba),54325(backupdba),54326(dgdba),54327(kmdba),54328(racdba)
We configure the ORACLE_HOME
[oracle@dg1 ~]$ export ORACLE_HOME=/u01/app/oracle/product/12.2.0.1/db_1
Response file used:
[oracle@dg1 ~]$ cat rdbms.rsp oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.2.0 oracle.install.option=INSTALL_DB_SWONLY UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/u01/app/oraInventory ORACLE_HOME=/u01/app/oracle/product/12.2.0.1/db_1 ORACLE_BASE=/u01/app/oracle oracle.install.db.InstallEdition=EE oracle.install.db.OSDBA_GROUP=dba oracle.install.db.OSBACKUPDBA_GROUP=backupdba oracle.install.db.OSDGDBA_GROUP=dgdba oracle.install.db.OSKMDBA_GROUP=kmdba oracle.install.db.OSRACDBA_GROUP=racdba
We launch the installation of the database software but whitout creating a database:
[oracle@dg1 ~]$ /media/sf_12.2/database/runInstaller -silent -responseFile /home/oracle/rdbms.rsp Iniciando Oracle Universal Installer... Comprobando el espacio temporal: debe ser mayor que 500 MB. Real 40357 MB Correcto Comprobando el espacio de intercambio: debe ser mayor que 150 MB. Real 3958 MB Correcto Preparando para iniciar Oracle Universal Installer desde /tmp/OraInstall2017-06-20_01-17-41PM. Espere...[oracle@dg1 ~]$ Encontrará el log de esta sesión de instalación en: /u01/app/oraInventory/logs/installActions2017-06-20_01-17-41PM.log La instalación de Oracle Database 12c ha sido correcta. Consulte '/u01/app/oraInventory/logs/silentInstall2017-06-20_01-17-41PM.log' para obtener más información. Como usuario raíz, ejecute los siguientes scripts: 1. /u01/app/oracle/product/12.2.0.1/db_1/root.sh Successfully Setup Software.
Execute root.sh with root user:
[root@dg1 ~]# /u01/app/oracle/product/12.2.0.1/db_1/root.sh Check /u01/app/oracle/product/12.2.0.1/db_1/install/root_dg1.localdomain_2017-06-20_13-26-14-169877943.log for the output of root script [root@dg1 ~]# cat /u01/app/oracle/product/12.2.0.1/db_1/install/root_dg1.localdomain_2017-06-20_13-26-14-169877943.log Performing root user operation. The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/product/12.2.0.1/db_1 Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. Oracle Trace File Analyzer (TFA) is available at : /u01/app/oracle/product/12.2.0.1/db_1/suptools/tfa/release/tfa_home/bin/tfactl
Adding value with Arumel!!