C Silent Installation

This appendix describes how to install Oracle Portal, Forms, Reports, and Discoverer from the command line in silent mode. This appendix contains the following topics:

C.1 What is a Silent Installation?

Silent installation eliminates the need to monitor the Oracle Portal, Forms, Reports, and Discoverer installation because no graphical output is displayed and no input by the user is required.

Silent installation of Oracle Portal, Forms, Reports, and Discoverer is accomplished by supplying the installer with a response file and using the -silent flag on the command line. The response file is a text file containing variables and parameter values which provide answers to the installer prompts.

Note:

For UNIX users, if this is a first time installation of Oracle Portal, Forms, Reports, and Discoverer you must create the oraInst.loc file before starting. Please refer to Section C.3.1, "UNIX Users: Creating the oraInst.loc File" for more information.

Following installation of Oracle Portal, Forms, Reports, and Discoverer, you need to run the root.sh script as the root user. The root.sh script detects settings of environment variables and enables you to enter the full path of the local bin directory.

Note:

For Windows users, if this is a first time installation of Oracle Portal, Forms, Reports, and Discoverer, you must create the registry keys before starting. Registry key creation is described in Section C.3.2, "Windows Users: Creating the Registry Key"

C.2 Creating Response Files

Before doing a silent installation, you must provide information specific to your installation in a response file. The installer will fail if you attempt an installation using a response file that is not configured correctly. Response files are text files that you can create or edit in a text editor.

Table C-1 lists the response files provided in the Disk1/stage/Response directory on the installation CD-ROM:

Table C-1 Oracle Portal, Forms, Reports and Discoverer Installation and Configuration Response File Templates

Template Description

deinstall.rsp

This is the template response file that should be used if you want to do a silent deinstallation.

See Section C.2.1, "Contents of the deinstall.rsp File" to view the contents of this file.

configure_only.rsp

This is the template response file that should be used if you have already installed the software on your system, and now need to configure the products to either create or extend a domain.

The equivalent using the GUI would be to run the config.sh (on UNIX operating systems) or config.bat (on Windows operating systems) script from the ORACLE_HOME/bin (on UNIX operating systems) or ORACLE_HOME\bin (on Windows operating systems) directory.

See Section C.2.2, "Contents of the configure_only.rsp File" to view the contents of this file.

install_only.rsp

This is the template response file that should be used if you only want to install the software on your system.

The equivalent using the GUI would be selecting Install Software - Do Not Configure option on the Select Installation Type Screen.

See Section C.2.3, "Contents of the install_only.rsp File" to view the contents of this file.

install_and_configure.rsp

This is the template response file that should be used if you want to install and configure the software on your system.

The equivalent using the GUI would be selecting Install and Configure option on the Select Installation Type Screen.

See Section C.2.4, "Contents of the install_and_configure.rsp File" to view the contents of this file.


In addition to these pre-existing response files, you can create your own response file by running the install GUI, then clicking Save on the Installation Summary Screen. You will be prompted for a name and location where you want to create this response file. After it is created, you can use it exactly as-is to replicate the installation on other systems, or modify it as needed.

C.2.1 Contents of the deinstall.rsp File

This section shows the contents of the Disk1/stage/Response/deinstall.rsp response file:

[ENGINE]
 
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
 
[GENERIC]
 
#
OH_HOME_DEINSTALL=false
 
#
DOMAIN_MANAGED_ASINSTANCE_DEINSTALL=true
 
#
UNMANAGED_ASINSTANCE_DEINSTALL=false
 
#
DEINSTALL_IN_ASINSTANCE_MODE=true
 
#
DEINSTALL INSTANCE LIST=
 
 
[SYSTEM]
 
 
[APPLICATIONS]
 
 
[RELATIONSHIPS]
 
#
MIDDLEWARE_HOME=
 
#
WEBLOGIC_HOME=
 
#
DOMAIN_HOST_NAME=
 
#
DOMAIN_PORT_NO=7001
 
#
DOMAIN_USER_NAME=weblogic
 
#
DOMAIN_USER_PASSWORD=
 
#
MANAGED_INSTANCE_LIST=

C.2.2 Contents of the configure_only.rsp File

This section shows the contents of the Disk1/stage/Response/configure_only.rsp response file:

[ENGINE]
 
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
 
[GENERIC]
 
#Set this to true if you want to create a new domain, all other required variables need to be provided. If this is set to true then variables "EXTEND_DOMAIN" and "EXPAND_CLUSTER" must be set to false, since the variables are mutually exclusive.
CREATE_DOMAIN=true
 
#Set this to true if you want to extend an already existing domain, all other required variables need to be provided. If this is set to true then variables "CREATE_DOMAIN" and "EXPAND_CLUSTER" must be set to false, since the variables are mutually exclusive.
EXTEND_DOMAIN=false
 
#Set this to true if you want to expand a cluster in an already existing domain, all other required variables need to be provided. If this is set to true then variables "CREATE_DOMAIN" and "EXTEND_DOMAIN" must be set to false, since the variables are mutually exclusive.
EXPAND_CLUSTER=false
 
#Write the name of the domain you want to create. Domain name may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters.
DOMAIN_NAME=
 
#Write the name of the host to which you want to connect. It should have an already existing domain configured.
DOMAIN_HOSTNAME=
 
#Give the port number at which the host should be connected.
DOMAIN_PORT=
 
#Give an administrator user name for the domain if you are creating a new one otherwise give the administrator user name for the domain configured at the host.
ADMIN_USER_NAME=weblogic
 
#Give an administrator password for the domain if you are creating a new one otherwise give the administrator password for the domain configured at the host.
ADMIN_PASSWORD=
 
#Write the administrator password again to confirm.
ADMIN_CONFIRM_PASSWORD=
 
#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
MYORACLESUPPORT_USERNAME=
 
#Provide the My Oracle Support Password
MYORACLESUPPORT_PASSWORD=
 
#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration
DECLINE_SECURITY_UPDATES=false
 
#Set this to true if My Oracle Support Password is specified
SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
#Provide the Proxy Host
PROXY_HOST=
 
#Provide the Proxy Port
PROXY_PORT=
 
#Provide the Proxy Username
PROXY_USER=
 
#Provide the Proxy Password
PROXY_PWD=
 
#Give the complete path to a valid Middleware Home with WebLogic Server installed.
MW_HOME=
 
#Give the complete path to a valid WebLogic Server Home for the corresponding Middleware Home entered.
WL_HOME=
 
#Give the complete path for an Oracle Home to be created. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character.
ORACLE_HOME=
 
#Give the complete path for an Oracle Instance directory to be created. This is the location where the software configuration files and runtime processes will reside.
INSTANCE_HOME=
 
#Give a name for Oracle Instance corresponding to the Instance Home. The Oracle Instance name may only contain alphanumeric and underscore (_) characters, it must begin with an alphabetic (a-z or A-Z) character, and must be from 4 to 30 characters in length.
INSTANCE_NAME=asinst_1
 
#Set this to true if you want the configuration wizard to assign the ports automatically.
AUTOMATIC_PORT_DETECT=true
 
#Give the location for the file containing the list of static ports if you manually want to assign ports.
STATICPORT INI FILE LOCATION=
 
#Set this to true if you do not want to use proxy.
DO NOT USE PROXY SETTINGS=true
 
#Set this to true if you do want to use proxy.
ENABLE PROXY=false
 
#Give the host name for proxy settings.
PROXY HOST NAME=
 
#Give the port for proxy settings.
PROXY PORT NO=
 
#Give the bypass addresses for proxy settings.
PROXY BY PASS ADDRESS=
#Give the connection string to establish a connection to a database.
DATABASE_CONNECTION_STRING=
 
#Set this to true if you want to register Discoverer Schema, schema name and password details need to be provided.
REGISTER_DISCOVERER_SCHEMA=true
 
#Give the Discoverer Schema Name.
DISCOVERER_SCHEMA_NAME=
 
#Give the Portal Schema Name.
PORTAL_SCHEMA_NAME=
 
#Give the Discoverer Schema Password.
DISCOVERER_SCHEMA_PASSWORD=
 
#Give the Portal Schema Password.
PORTAL_SCHEMA_PASSWORD=
 
#Set this to true if you want to register Portlet Schema, schema name and password details need to be provided.
REGISTER_PORTLET_SCHEMA=true
 
#Give the Portlet Schema Name.
PORTLET_SCHEMA_NAME=
 
#Give the Portlet Schema Password.
PORTLET_SCHEMA_PASSWORD=
 
#Set this to true if you want to use Application OID. It has to be true you are configuring Oracle Portal.
USE_OID=true
 
#Give the Application OID hostname.
OID_HOST=
 
#Give the Application OID port.
OID_PORT=
 
#Give the Application OID user name.
OID_USERNAME=cn=orcladmin
 
#Give the Application OID password.
OID_PASSWORD=
 
#Set this to true if you want to use Application OID in SSL mode.
OID_USE_SSL=false
 
 
[SYSTEM]
 
 
[APPLICATIONS]
 
 
[RELATIONSHIPS]
#Set this to true if you want to configure Oracle Portal. "CONFIGURE_WEBCACHE" and "CONFIGURE_OHS" must also be set to true then as Oracle Portal Configuration is dependent on them.
CONFIGURE_PORTAL=true
 
#Set this to true if you want to configure Oracle Forms
CONFIGURE_FORMS=true
 
#Set this to true if you want to configure Oracle Reports
CONFIGURE_REPORTS=true
 
#Set this to true if you want to configure Oracle Discoverer. "CONFIGURE_OHS" must also be set to true then as Oracle Discoverer Configuration is dependent on it.
CONFIGURE_DISCO=true
 
#Set this to true if you want to configure Oracle Forms Builder. "CONFIGURE_FORMS" must also be set to true then as Oracle Forms Builder Configuration is dependent on it.
CONFIGURE_FORMS_BUILDER=false
 
#Set this to true if you want to configure Oracle Reports Builder. "CONFIGURE_REPORTS" must also be set to true then as Oracle Reports Builder Configuration is dependent on it.
CONFIGURE_REPORTS_BUILDER=false
 
#Set this to true if you want to configure Oracle HTTP Server.
CONFIGURE_OHS=true
 
#Set this to true if you want to configure Oracle Webcache. "CONFIGURE_OHS" must also be set to true then as Oracle Webcahce Configuration is dependent on it.
CONFIGURE_WEBCACHE=true
 
#Set this to true if you want to configure Oracle Enterprise Manager.
ENTERPRISE_MANAGEMENT=true
 
#Set this to true if you want to create a cluster for the selected applications
CREATE_CLUSTERED=true

C.2.3 Contents of the install_only.rsp File

This section shows the contents of the Disk1/stage/Response/install_only.rsp response file:

[ENGINE]
 
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
 
[GENERIC]
 
#Set this to true if installation and configuration need to be done, all other required variables need to be provided. Variable "INSTALL AND CONFIGURE LATER TYPE" must be set to false if this is set to true as the variables are mutually exclusive
INSTALL AND CONFIGURE TYPE=false
 
#Set this to true if only Software only installation need to be done. If this is set to true then variable "INSTALL AND CONFIGURE TYPE" must be set to false, since the variables are mutually exclusive.
INSTALL AND CONFIGURE LATER TYPE=true
 
#Give the complete path for an Oracle Home to be created. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character.
ORACLE_HOME=
 
#Write the complete path to a valid Middleware Home.
MW_HOME=
 
#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
MYORACLESUPPORT_USERNAME=
 
#Provide the My Oracle Support Password
MYORACLESUPPORT_PASSWORD=
 
#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration
DECLINE_SECURITY_UPDATES=false
 
#Set this to true if My Oracle Support Password is specified
SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
 
#Provide the Proxy Host
PROXY_HOST=
 
#Provide the Proxy Port
PROXY_PORT=
 
#Provide the Proxy Username
PROXY_USER=
 
#Provide the Proxy Password
PROXY_PWD=
 
 
[SYSTEM]
 
 
[APPLICATIONS]
 
 
[RELATIONSHIPS]

C.2.4 Contents of the install_and_configure.rsp File

This section shows the contents of the Disk1/stage/Response/install_and_configure.rsp response file:

[ENGINE]
 
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
 
[GENERIC]
 
#Set this to true if installation and configuration need to be done, all other required variables need to be provided. Variable "INSTALL AND CONFIGURE LATER TYPE" must be set to false if this is set to true as the variables are mutually exclusive
INSTALL AND CONFIGURE TYPE=true
 
#Set this to true if only Software only installation need to be done. If this is set to true then variable "INSTALL AND CONFIGURE TYPE" must be set to false, since the variables are mutually exclusive.
INSTALL AND CONFIGURE LATER TYPE=false
 
#Set this to true if you want to create a new domain, all other required variables need to be provided. If this is set to true then variables "EXTEND_DOMAIN" and "EXPAND_CLUSTER" must be set to false, since the variables are mutually exclusive.
CREATE_DOMAIN=true
 
#Set this to true if you want to extend an already existing domain, all other required variables need to be provided. If this is set to true then variables "CREATE_DOMAIN" and "EXPAND_CLUSTER" must be set to false, since the variables are mutually exclusive.
EXTEND_DOMAIN=false
 
#Set this to true if you want to expand a cluster in an already existing domain, all other required variables need to be provided. If this is set to true then variables "CREATE_DOMAIN" and "EXTEND_DOMAIN" must be set to false, since the variables are mutually exclusive.
EXPAND_CLUSTER=false
 
#Write the name of the domain you want to create. Domain name may only contain alphanumeric characters, or the underscore (_) or hyphen (-) characters.
DOMAIN_NAME=
 
#Write the name of the host to which you want to connect. It should have an already existing domain configured.
DOMAIN_HOSTNAME=
 
#Give the port number at which the host should be connected.
DOMAIN_PORT=
 
#Give an administrator user name for the domain if you are creating a new one otherwise give the administrator user name for the domain configured at the host.
ADMIN_USER_NAME=weblogic
 
#Give an administrator password for the domain if you are creating a new one otherwise give the administrator password for the domain configured at the host.
ADMIN_PASSWORD=
 
#Write the administrator password again to confirm.
ADMIN_CONFIRM_PASSWORD=
 
#Provide the My Oracle Support Username. If you wish to ignore Oracle Configuration Manager configuration provide empty string for user name.
MYORACLESUPPORT_USERNAME=
 
#Provide the My Oracle Support Password
MYORACLESUPPORT_PASSWORD=
#Set this to true if you wish to decline the security updates. Setting this to true and providing empty string for My Oracle Support username will ignore the Oracle Configuration Manager configuration
DECLINE_SECURITY_UPDATES=false
 
#Set this to true if My Oracle Support Password is specified
SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
 
#Provide the Proxy Host
PROXY_HOST=
 
#Provide the Proxy Port
PROXY_PORT=
 
#Provide the Proxy Username
PROXY_USER=
 
#Provide the Proxy Password
PROXY_PWD=
 
#Give the complete path to a valid Middleware Home with WebLogic Server installed.
MW_HOME=
 
#Give the complete path to a valid WebLogic Server Home for the corresponding Middleware Home entered.
WL_HOME=
 
#Give the complete path for an Oracle Instance directory to be created. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character.
ORACLE_HOME=
 
#Give the complete path for an Oracle Instance directory to be created. This is the location where the software configuration files and runtime processes will reside.
INSTANCE_HOME=
 
#Give a name for Oracle Instance corresponding to the Instance Home. The Oracle Instance name may only contain alphanumeric and underscore (_) characters, it must begin with an alphabetic (a-z or A-Z) character, and must be from 4 to 30 characters in length.
INSTANCE_NAME=asinst_1
 
#Set this to true if you want the configuration wizard to assign the ports automatically.
AUTOMATIC_PORT_DETECT=true
 
#Give the location for the file containing the list of static ports if you manually want to assign ports.
STATICPORT INI FILE LOCATION=
 
#Set this to true if you do not want to use proxy.
DO NOT USE PROXY SETTINGS=true
 
#Set this to true if you do want to use proxy.
ENABLE PROXY=false
 
#Give the host name for proxy settings.
PROXY HOST NAME=
 
#Give the port for proxy settings.
PROXY PORT NO=
#Give the bypass addresses for proxy settings.
PROXY BY PASS ADDRESS=
 
#Give the connection string to establish a connection to a database.
DATABASE_CONNECTION_STRING=
 
#Set this to true if you want to register Discoverer Schema, schema name and password details need to be provided.
REGISTER_DISCOVERER_SCHEMA=true
 
#Give the Discoverer Schema Name.
DISCOVERER_SCHEMA_NAME=
 
#Give the Portal Schema Name.
PORTAL_SCHEMA_NAME=
 
#Give the Discoverer Schema Password.
DISCOVERER_SCHEMA_PASSWORD=
 
#Give the Portal Schema Password.
PORTAL_SCHEMA_PASSWORD=
 
#Set this to true if you want to register Portlet Schema, schema name and password details need to be provided.
REGISTER_PORTLET_SCHEMA=true
 
#Give the Portlet Schema Name.
PORTLET_SCHEMA_NAME=
 
#Give the Portlet Schema Password.
PORTLET_SCHEMA_PASSWORD=
 
#Set this to true if you want to use Application OID. It has to be true you are configuring Oracle Portal.
USE_OID=true
 
#Give the Application OID hostname.
OID_HOST=
 
#Give the Application OID port.
OID_PORT=
 
#Give the Application OID user name.
OID_USERNAME=cn=orcladmin
 
#Give the Application OID password.
OID_PASSWORD=
 
#Set this to true if you want to use Application OID in SSL mode.
OID_USE_SSL=false
 
 
[SYSTEM]
 
 
[APPLICATIONS]
 
 
[RELATIONSHIPS]
#Set this to true if you want to configure Oracle Portal. "CONFIGURE_WEBCACHE" and "CONFIGURE_OHS" must also be set to true then as Oracle Portal Configuration is dependent on them.
CONFIGURE_PORTAL=true
 
#Set this to true if you want to configure Oracle Forms
CONFIGURE_FORMS=true
 
#Set this to true if you want to configure Oracle Reports
CONFIGURE_REPORTS=true
 
#Set this to true if you want to configure Oracle Discoverer. "CONFIGURE_OHS" must also be set to true then as Oracle Discoverer Configuration is dependent on it.
CONFIGURE_DISCO=true
 
#Set this to true if you want to configure Oracle Forms Builder. "CONFIGURE_FORMS" must also be set to true then as Oracle Forms Builder Configuration is dependent on it.
CONFIGURE_FORMS_BUILDER=false
 
#Set this to true if you want to configure Oracle Reports Builder. "CONFIGURE_REPORTS" must also be set to true then as Oracle Reports Builder Configuration is dependent on it.
CONFIGURE_REPORTS_BUILDER=false
 
#Set this to true if you want to configure Oracle HTTP Server.
CONFIGURE_OHS=true
 
#Set this to true if you want to configure Oracle Webcache. "CONFIGURE_OHS" must also be set to true then as Oracle Webcahce Configuration is dependent on it.
CONFIGURE_WEBCACHE=true
 
#Set this to true if you want to configure Oracle Enterprise Manager.
ENTERPRISE_MANAGEMENT=true
 
#Set this to true if you want to create a cluster for the selected applications
CREATE_CLUSTERED=true

C.2.5 Securing Your Silent Installation

Your response files contain certain passwords required by the installer. To find the places in the response file where passwords are required, search for the password string and replace the corresponding <Value Required> string with the actual password. These passwords are stored in the response file clear text format. To minimize security issues regarding these passwords in the response file, follow these guidelines:

  • Set the permissions on the response files so that they are readable only by the operating system user who will be performing the silent installation.

  • If possible, remove the response files from the system after the silent installation is completed.

C.3 Pre-Installation Tasks

This section covers the pre-installation tasks that may be required before you are able to perform a silent installation.

The following topics are covered:

C.3.1 UNIX Users: Creating the oraInst.loc File

The Oracle inventory directory is used by the installer to keep track of all Oracle products installed on the computer. The inventory directory is stored in a file called oraInst.loc. If this file does not already exist on your system, you must create it before starting a silent installation. This file is used by the installer.

  1. Log in as the root user.

    prompt> su
    
  2. Using a text editor such as vi or emacs, create the oraInst.loc file in the directory of your choice. The contents of the file consist of the following two lines:

    inventory_loc=oui_inventory_directory
    inst_group=oui_install_group
    

    Replace oui_inventory_directory with the full path to the directory where you want the installer to create the inventory directory. Then, replace oui_install_group with the name of the group whose members have write permissions to this directory.

  3. Exit from the root user.

    # exit
    

C.3.2 Windows Users: Creating the Registry Key

If you have not installed Oracle Portal, Forms, Reports, and Discoverer on your computer, then you need to create the following Registry key and value:

HKEY_LOCAL_MACHINE / SOFTWARE / Oracle / inst_loc = [inventory_directory]

Replace Inventory_Directory with the full path to your installer files. For example:

C:Program Files\Oracle\Inventory

C.4 Silent Installation Instructions

The syntax for running the installer from the command line on UNIX systems is shown below:

runInstaller [-mode] [-options] [(<CommandLinevariable=Value>)*]

On Windows systems:

setup.exe [-mode] [-options] [(<CommandLinevariable=Value>)*]

Table C-2 Installer Command Line Parameters

Parameter Description

Installation Modes - Only One Mode Can be Specified

-i

-install

Launches the installer in GUI mode. This is the default mode and is used if no mode is specified on the command line.

-silent

Install in silent mode. The installer must be passed either a response file or command line variable value pairs.

-d

-deinstall

Launches the installer in GUI mode for deinstallation.

-p

-prerequisite

Launches the installer in GUI mode but only checks the prerequisites. No software is installed.

-v

-validate

Launches the installer in GUI mode and performs all prerequisite and validation checking, but does not install any software.

-sv

-silentvalidate

Performs all prerequisite and validation checking in silent mode. You must pass the installer either a response file or a series of command line variable value pairs.

Installation Options

-help

--help

--usage

Displays the usage parameters for the runInstaller command.

-invPtrLoc file

Pointer to the inventory location file. Replace file with the full path and name of the oraInst.loc file.

-response file

-responseFile file

Pointer to the response file. Replace file with the full path and name of the response file.

-jreLoc location

Pointer to the location where Java Runtime Environment (JRE) is installed. Replace location with the full path to the jre directory where your JRE is installed.

-logLevel level

Specify the level of logging performed by the installer; all messages with a lower priority than the specified level will be recorded. Valid levels are:

  • severe

  • warning

  • info

  • config

  • fine

  • finer

  • finest

-debug

Obtain debug information from the installer.

-force

Allow the silent installation to proceed in a non-empty directory.

-printdiskusage

Log debugging information pertaining to disk usage.

-printmemory

Log debugging information pertaining to memory usage.

-printtime

Log debugging information pertaining to time usage. This command causes the timeTakentimestamp.log file to be created.

-waitforcompletion

Windows only - the installer will wait for completion instead of spawning the Java engine and exiting.

-noconsole

Messages will not be displayed to the console window.

-ignoreSysPrereqs

Ignore the results of the system prerequisite checks and continue with the installation.

-executeSysPrereqs

Execute the system prerequisite checks only, then exit.

-paramFile file

Specify the full path to the oraparam.ini file. This file is the initialization file for the installer. The default location of this file is Disk1/install/platform.

-novalidation

Disables all validation checking performed by the installer.

-nodefaultinput

For the GUI install, several screens have information or default values pre-populated. Specifying this option disables this behavior so that no information or values are pre-populated.

Command Line Variables

Installer Variables

Installer variables are specified using varName=value. For example:

ORACLE_HOME=/home/Oracle/Middleware/as_1

Session Variables

Session variables are specified using session:varName=value.

Component Variables

Component variables are specified using session:compInternalName:[Version:]varName=value.


C.4.1 Sample Commands

If this is the first time you are installing on your system (meaning there is no pre-existing Oracle inventory location, use the following command to perform a silent installation:

> ./runInstaller -silent -response file -invPtrLoc file

Below is a full example of this command:

> ./runInstaller -silent -response /home/jdoe/response/oracle.classicwls.top.Custom.rsp -invPtrLoc /home/jdoe/oraInst.loc

If you have already installed an Oracle product on your system and do not need to specify an inventory location, then you can use a command similar to the following:

> ./runInstaller -silent -response file

Below is a full example of this command:

> ./runInstaller -silent -response /home/jdoe/response/oracle.classicwls.top.Custom.rsp

C.4.2 Sample Output

Below is a sample output from a silent install using the install_only.rsp template on a Linux system:

Platform is Linux X86 32 bit
Starting Oracle Universal Installer...
 
Checking Temp space: must be greater than 80 MB.   Actual 66993 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 4030 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-04-29_12-59-35PM. Please wait ...[kh
wang@dadvmn0789 Disk1]$ Log: /scratch/khwang/oraInventory/logs/install2009-04-29_12-59-35PM.log
Copyright © 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Expected result: One of enterprise-4,enterprise-5,redhat-4,redhat-5,SuSE-10
Actual Result: enterprise-4
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.
Checking for gcc-3.4.3-22.1; found gcc-3.4.6-10.0.1-i386.       Passed
Checking for gcc-c++-3.4.3-22.1; found gcc-c++-3.4.6-10.0.1-i386.       Passed
Checking for openmotif21-2.1.30-11.RHEL4.4 ; found openmotif21-2.1.30-11.0.1.RHEL4.6-i386.      Passed
Checking for setarch-1.6-1; found setarch-1.6-1-i386.   Passed
Checking for pdksh-5.2.14-30; found pdksh-5.2.14-30.6-i386.     Passed
Checking for sysstat-5.0.5-1; found sysstat-5.0.5-19.el4-i386.  Passed
Checking for gnome-libs-1:1.4.1.2.90-44.1; found gnome-libs-1:1.4.1.2.90-44.2-i386.     Passed
Checking for libstdc++-3.4.3-22.1 ; found libstdc++-3.4.6-10.0.1-i386.  Passed
Checking for libstdc++-devel-3.4.3-22.1; found libstdc++-devel-3.4.6-10.0.1-i386.       Passed
Checking for compat-libstdc++-296-2.96-132.7.2; found compat-libstdc++-296-2.96-132.7.2-i386.   Passed
Checking for compat-db-4.1.25-9; found compat-db-4.1.25-9-i386. Passed
Checking for control-center-2.8.0-12; found control-center-1:2.8.0-12.rhel4.5-i386.     Passed
Checking for glibc-common-2.3.4-2.9; found glibc-common-2.3.4-2.41-i386.        Passed
Checking for binutils-2.15.92.0.2-13; found binutils-2.15.92.0.2-25-i386.       Passed
Checking for make-1:3.80-5; found make-1:3.80-7.EL4-i386.       Passed
Checking for xscreensaver-4.18-5.rhel4.2; found xscreensaver-1:4.18-5.rhel4.14.0.1-i386.        Passed
Checking for openmotif-2.2.3; found openmotif-2.2.3-10.2.el4-i386.      Passed
Check complete. The overall result of this check is: Passed
Packages Check: Success.
Checking for VERSION=2.6.9; found VERSION=2.6.9-78.0.0.0.1.ELxenU.      Passed
Checking for hardnofiles=4096; found hardnofiles=4096.  Passed
Checking for softnofiles=4096; found softnofiles=4096.  Passed
Check complete. The overall result of this check is: Passed
Kernel Check: Success.
Expected result: ATLEAST=2.3.4-2.19 
Actual Result: 2.3.4-2.41
Check complete. The overall result of this check is: Passed
GLIBC Check: Success.
Expected result: 922MB
Actual Result: 4000MB
Check complete. The overall result of this check is: Passed
TotalMemory Check: Success.
Verifying data......
Copying Files...
-----------20%----------40%----------60%----------80%--------100%

The installation of Oracle Portal, Forms, Reports and Discoverer 11g completed successfully.

C.5 Silent De-Installation

You can also de-install the software on your system by using the -d or -deinstall parameter from the command line.

On UNIX systems:

./runInstaller -silent -deinstall -response file

On Windows systems:

setup.exe -silent -deinstall -response file