Hi everyone, I’m just documenting here the process of installing Oracle Database 12cR2 in text mode using a response file.

Installing Oracle Database 12cR2 with a Response File
This is the response file I used, feel free to download it: db_install.rsp. Adjust the response file to your needs, such as directories, OS groups, etc.
Remember all the configuration that must be done on the operating system before running this step.
Let’s get to the installation process of Oracle Database 12cR2… As the oracle user, run the Oracle Universal Installer (runInstaller.sh) passing the -silent parameter to start it in text mode, -showProgress to show the installation progress and -responseFile with the absolute path to the db_install.rsp file.
[oracle@oracle-srv database]$ ./runInstaller -silent -showProgress -responseFile /home/oracle/database/response/db_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 500 MB. Actual 35051 MB Passed
Checking swap space: must be greater than 150 MB. Actual 6149 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-06-09_11-48-27PM.
Please wait ...
You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2017-06-09_11-48-27PM.log
Prepare in progress.
.................................................. 8% Done.
Prepare successful.
Copy files in progress.
.................................................. 17% Done.
.................................................. 22% Done.
.................................................. 27% Done.
.................................................. 32% Done.
.................................................. 40% Done.
.................................................. 45% Done.
.................................................. 50% Done.
.................................................. 55% Done.
.................................................. 60% Done.
.................................................. 65% Done.
.................................................. 70% Done.
.................................................. 75% Done.
.................................................. 80% Done.
....................
Copy files successful.
Link binaries in progress.
..........
Link binaries successful.
Setup files in progress.
..............................
Setup files successful.
Setup Inventory in progress.
Setup Inventory successful.
Finish Setup successful.
The installation of Oracle Database 12c was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2017-06-09_11-48-27PM.log' for more details.
Setup Oracle Base in progress.
Setup Oracle Base successful.
.................................................. 95% Done.
As a root user, execute the following script(s):
1. /u01/app/oracle/product/12.2.0.1/db_1/root.sh
.................................................. 100% Done.
Successfully Setup Software.
[oracle@oracle-srv database]$
Run the root.sh script as root (in this case I didn’t need to run orainstroot.sh because Oracle Database 12cR1 was already installed):
[root@oracle-srv ~]# /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_oracle-srv.localdomain_2017-06-09_23-52-46-732246412.log for the output of root script
Check the root.sh log and verify that it finished successfully:
[root@oracle-srv ~]# cat /u01/app/oracle/product/12.2.0.1/db_1/install/root_oracle-srv.localdomain_2017-06-09_23-52-46-732246412.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
[root@oracle-srv ~]#
I hope it is useful for any installations you need to do. If you have any questions, just leave a comment. In the next article we will see how to create the Listener and the database in text mode.
That’s all for today. Regards and see you soon,
Franky

Comments