Wednesday, March 6, 2013

Silent install Oracle client 11gr2

I was working from home and busy with creating a BI cluster.
This als involed installing an Oracle Client.
I could't use the gui because my reflection X sessie wasn't working.
So is use the silent installer so i didn't have to use the gui.

First you copied the client_install.rsp  to /tmp

 $ cp /install/install_sw/client/64bit/11.2.0.3/client/response/client_install.rsp /tmp

Now we edit the client_install.rsp
In our client_instaal.rsp i edit the following parameters

UNIX_GROUP_NAME=dba
INVENTORY_LOCATION=/u01/app/oracle/oraInventory
ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/cl_100
ORACLE_BASE=/u01/app/oracle
oracle.install.client.installType=Custom
oracle.install.client.customComponents= "oracle.sqlj:11.2.0.3.0",

                                                                       "oracle.rdbms.util:11.2.0.3.0",
                                                                       "oracle.sqlplus:11.2.0.3.0",
                                                                       "oracle.dbjava.jdbc:11.2.0.3.0",
                                                                       "oracle.rdbms.oci:11.2.0.3.0",
                                                                       "oracle.network.client:11.2.0.3.0",

                                                                       "oracle.has.client:11.2.0.3.0"
oracle.installer.autoupdates.option=SKIP_UPDATES

The other parmeters i left untouched.

the i started the installation of the Oracle client.

$ ./runInstaller -silent -ignorePrereq -responseFile /tmp/client_install.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB.   Actual 3175 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 3071 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-02-25_01-27-35PM. Please wait
...oracle@test10005:+ASM1:/install/install_sw/client/64bit/11.2.0.3/client
$ You can find the log of this install session at:
/u01/app/oracle/oraInventory/logs/installActions2013-02-25_01-27-35PM.log
The installation of Oracle Client was successful.
Please check '/u01/app/oracle/oraInventory/logs/silentInstall2013-02-25_01-27-35PM.log' for more details.
Successfully Setup Software.


And so easy was it

Thats it.

No comments:

Post a Comment