Pages

Wednesday, November 21, 2007

Oracle 11gR1 Client Silent Installation on Solaris

Steps:
  1. Download the Oracle 11g Release 1 (11.1.0.6.0) client for Solaris from the location:
    www.oracle.com/technology/software/products/database/oracle11g/111060_sol64soft.html

  2. Extract the client software files from solaris.sparc64_11gR1_client.zip
    % unzip solaris.sparc64_11gR1_client.zip

  3. Create a copy of the response file clientruntime.rsp.
    % cd client/response
    % cp clientruntime.rsp clientruntime.rsp.orig

  4. Edit the variables UNIX_GROUP_NAME, FROM_LOCATION, ORACLE_BASE, ORACLE_HOME and ORACLE_HOME_NAME.

    For example, assuming the client to be installed under /export/home/oracle with UNIX group name dba:
    % diff clientruntime.rsp clientruntime.rsp.orig
    35c35
    < UNIX_GROUP_NAME=dba
    ---
    > UNIX_GROUP_NAME=<Value Unspecified>
    43c43
    < FROM_LOCATION="/export/home/client/stage/products.xml"
    ---
    > FROM_LOCATION="../source/client/Disk1/stage/products.xml"
    62c62
    < ORACLE_BASE=/export/home/oracle
    ---
    > ORACLE_BASE=<Value Required>
    70c70
    < ORACLE_HOME=/export/home/oracle
    ---
    > ORACLE_HOME=<Value Required>
    78c78
    < ORACLE_HOME_NAME=oracle11gr1
    ---
    > ORACLE_HOME_NAME=<Value Required>

  5. Finally run the installer with -silent option, and input the response file you just edited.
     ./runInstaller -silent -responseFile /export/home/client/response/clientruntime.rsp
    Starting Oracle Universal Installer...

    Checking Temp space: must be greater than 180 MB. Actual 70778 MB Passed
    Checking swap space: must be greater than 150 MB. Actual 71261 MB Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-11-13_10-29-33PM. Please wait ...
    Oracle Universal Installer, Version 11.1.0.6.0 Production
    Copyright (C) 1999, 2007, Oracle. All rights reserved.

    You can find the log of this install session at:
    /export/home/oraInventory/logs/installActions2007-11-13_10-29-33PM.log
    ............................................................................... 100% Done.
    ...
    ...
    Installation in progress (Tue Nov 13 22:30:10 PST 2007)
    ............................................................... 75% Done.
    . 75% Done.
    Install successful

    Linking in progress (Tue Nov 13 22:32:32 PST 2007)
    . 75% Done.
    Link successful

    Setup in progress (Tue Nov 13 22:33:13 PST 2007)
    .................. 100% Done.
    Setup successful

    End of install phases.(Tue Nov 13 22:33:23 PST 2007)
    Starting to execute configuration assistants
    Configuration assistant "Oracle Net Configuration Assistant" succeeded
    WARNING:A new inventory has been created in this session. However, it has not yet been registered
    as the central inventory of this system.
    To register the new inventory please run the script '/export/home/oraInventory/orainstRoot.sh'
    with root privileges.
    If you do not register the inventory, you may not be able to update or patch the products you installed.
    The following configuration scripts need to be executed as the "root" user.
    #!/bin/sh
    #Root script to run
    /export/home/oraInventory/orainstRoot.sh
    /export/home/oracle/root.sh
    To execute the configuration scripts:
    1. Open a terminal window
    2. Log in as "root"
    3. Run the scripts

    The installation of Oracle Client was successful.
    Please check '/export/home/oraInventory/logs/silentInstall2007-11-13_10-29-33PM.log' for more details.

    % su
    Password:
    # /export/home/oraInventory/orainstRoot.sh
    Changing permissions of /export/home/oraInventory to 770.
    Changing groupname of /export/home/oraInventory to dba.
    The execution of the script is complete
    # /export/home/oracle/root.sh
______________
Technorati tags:
| |

No comments:

Post a Comment