Oracle
Universal Installer (OUI) Silent Installations
By default, the Oracle Universal Installer (OUI) is a GUI tool,
requiring user input to define the type of installation required. The
OUI allows you to record the selections made in the GUI screens,
writing them to a response file. This response file, modified or not,
can then be used to perform silent installations. The process is
similar to using Kickstart
for Linux installations.
To create a response file, start the OUI with the following command and
perform an installation as normal.
./runInstaller -record -destinationFile /tmp/10gR2.rsp
The "-record" parameter tells the installer to write to the response
file and the "-destinationFile" parameter defines the name and location
of the response file.
The response files are quite large, containing a large number of
parameters and comments. The 10gR2.rsp
file is an example of a response file from an Oracle Database 10g
installation generated by the previous command.
A silent installation is initiated using the following command.
./runInstaller -silent -responseFile /tmp/10gR2.rsp
The "-silent" parameter indicates that this is a silent installation
and the "-responseFile" parameter defines the name and location of the
response file.
A silent installation using the 10gR2.rsp
file results in the following output.
[oracle@centos4 database]$ ./runInstaller -silent -responseFile /tmp/10gR2.rsp
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLin ux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2006-11-24_09 -51-29AM. Please wait ...
[oracle@centos4 database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
You can find a log of this install session at:
/u01/app/oracle/oraInventory/logs/installActions2006-11-24_09-51-29AM.log
................................................................................
.................... 100% Done.
Loading Product Information
................................................................................
................................... 100% Done.
Analyzing dependencies
..................................
Check complete: Passed
Sun JDK 1.4.2.0.8
Sun JDK extensions 10.1.2.0.0
-----------------------------------------------------------------------------
[oracle@centos4 database]$
Installation in progress (Fri Nov 24 09:52:02 GMT 2006)
[oracle@centos4 database]$
............................................................... 11% Done.
............................................................... 23% Done.
............................................................... 35% Done.
............................................................... 47% Done.
.............................................. 55% Done.
Install successful
Linking in progress (Fri Nov 24 09:56:13 GMT 2006).............. 55% Done.
Link successful
Setup in progress (Fri Nov 24 09:58:44 GMT 2006)
.................... 100% Done.
Setup successful
End of install phases.(Fri Nov 24 09:58:54 GMT 2006)
Starting to execute configuration assistants
Configuration assistant "Oracle Net Configuration Assistant" succeeded
Configuration assistant "Oracle Database Configuration Assistant" succeeded
Configuration assistant "iSQL*Plus Configuration Assistant" succeeded
WARNING:The following configuration scripts
/u01/app/oracle/product/10.2.0/db_1/root.sh
need to be executed as root for configuring the system. If you skip the execution
of the configuration tools, the configuration will not be complete and the product
wont function properly. In order to get the product to function properly, you will
be required to execute the scripts and the configuration tools after exiting the OUI.
The installation of Oracle Database 10g was successful.
Please check '/u01/app/oracle/oraInventory/logs/silentInstall2006-11-24_09-51-29AM.log' for more details.
[oracle@centos4 database]$
Once the "root.sh" file is run as instructed, the installation is
complete.