Oracle® Database Client Installation Guide 10g Release 1 (10.1) for UNIX Systems: AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux x86, and Solaris Operating System (SPARC) Part No. B12087-01 |
|
![]() |
![]() |
This chapter describes how to install and configure Oracle products non-interactively using response files. It includes information on the following topics:
You can install Oracle software non-interactively by specifying a response file when you start the Oracle Universal Installer. The Installer uses the values contained in the response file to provide answers to some or all of the Installer prompts. If you include responses for all of the Installer prompts in the response file, then you can run a completely non-interactive installation without seeing the Installer windows.
To install and configure Oracle products non-interactively, complete the following steps:
Create the oraInst.loc
file.
Prepare a response file.
Run the Installer non-interactively.
These steps are described in the following sections.
If you plan to install Oracle products non-interactively, you must manually create the oraInst.loc
file if it does not already exist. This file specifies the location of the Oracle Inventory directory where the Installer creates the inventory of Oracle products installed on the system.
Note: If Oracle software has been installed previously on the system, theoraInst.loc file might already exist. If the file does exist, you do not need to create a new file. |
To create the oraInst.loc
file, perform the following steps:
Switch user to root
:
$ su - root
On HP-UX, Solaris, and Tru64 UNIX, create the /var/opt/oracle
directory if it does not exist:
# mkdir /var/opt/oracle
Change directory as follows, depending on your operating system:
AIX and Linux:
# cd /etc
HP-UX, Solaris, and Tru64 UNIX:
# cd /var/opt/oracle
Use a text editor to create the oraInst.loc
file, containing the following lines:
inventory_loc=ORACLE_BASE/oraInventory inst_group=
In this example, ORACLE_BASE
is the path of the Oracle base directory, for example, /01/app/oracle
.
Enter the following commands to set the appropriate owner, group, and permissions on the oraInst.loc
file:
# chown oracle:oinstall oraInst.loc # chmod 664 oraInst.loc
Oracle provides response file templates for each product and installation type, and for each configuration tool. These files are located in the response
directory on the CD-ROM or the client
/response
directory on the DVD-ROM.
Note: If you copied the software to a hard disk, the response files are located in theDisk1/response directory. |
Table B-1 lists the response files provided with Oracle Client.
Table B-1 Response Files
To prepare a response file:
Copy the response file from the response file directory to a directory on your system:
$ cp /directory_path
/response/response_file.rsp local_directory
In this example, directory_path
is the CD-ROM mount point directory or the client
directory on the DVD-ROM. If you have copied the software to a hard drive, you can edit the file in the response
directory if you prefer.
Open the response file in a text editor:
$ vi /local_dir
/response_file.rsp
Edit the file, following the instructions in the file.
Note: The Installer or configuration assistant fails if you do not correctly configure the response file. See "Silent Response File Error Handling" for more information on troubleshooting a failed non-interactive installation. |
To run the Oracle Universal Installer non-interactively, enter a command similar to the following:
Note: Do not specify a relative path to the response file. If you specify a relative path, the Oracle Universal Installer fails. |
$ /directory_path/runInstaller [-silent] -responseFile filename
In the previous example: