3.4 Installing with a Response File
When installing in silent mode you must ensure that there is enough disk space and that the login ID has proper permissions to access Oracle inventory directory.
To invoke the silent installation procedure, execute the following steps:
- Create a file containing the required variables set to valid data.
- At a command line prompt go to the directory containing the installer executable.
- Enter the following command:
sh ./runInstaller.sh -responseFile <filename> -silent <optional_parameters> (on Linux)Note:
All Silent options are stored in a response file (.rsp). You must specify the complete responseFile path. If you do not, Oracle Universal Installer assumes the location to be relative to the oraparam.ini associated with the launched Oracle Universal Installer.
Optional parameters you can use with the -responseFile flag are:
-waitforcompletion— Use the-waitforcompletionflag with-silentflag to wait for completion instead of spawning the java engine and exiting.
For help on command line usage, enter the following at the command line in the directory where the executable file is stored:
sh ./runInstaller.sh -help (on Linux)
For example, on a Linux machine, enter:
sh ./runInstaller.sh -responseFile /tsam/tsam_linux_silent.rsp -silent
If the ORACLE_HOME directory is not empty, use the -force option only if you intend to overwrite the existing contents. Otherwise, you will receive the following error:
SEVERE:OUI-10029: You have specified a non-empty directory to install this product. It is recommended to specify either an empty or a non-existent directory. You may, however, choose to ignore this message if the directory contains Operating System generated files or sub-directories like lost+found.