ヘッダーをスキップ
Oracle Fusion Middleware Oracle Portal, Forms, Reports and Discovererインストレーション・ガイド
11g リリース1(11.1.1)
B55909-01
  目次
目次
索引
索引

戻る
戻る
 
次へ
次へ
 

C サイレント・インストール

この付録では、Oracle Portal、Forms、ReportsおよびDiscovererをコマンドラインからサイレント・モードでインストールする方法について説明します。 この付録の内容は次のとおりです。

C.1 サイレント・インストールの概要

サイレント・インストールでは、グラフィカル出力の表示がなく、ユーザーによる入力作業も不要であるため、Oracle Portal、Forms、ReportsおよびDiscovererのインストールを監視する必要がありません。

Oracle Portal、Forms、ReportsおよびDiscovererのサイレント・インストールを実行するには、インストーラにレスポンス・ファイルを指定し、コマンドラインで-silentフラグを使用します。 レスポンス・ファイルとは、インストーラ・プロンプトへの応答に使用する変数とパラメータ値を含むテキスト・ファイルです。


注意:

UNIXユーザーについては、今回初めてOracle Portal、Forms、ReportsおよびDiscovererをインストールする場合、インストール作業を開始する前にoraInst.locファイルを作成する必要があります。 詳細は、C.3.1項「UNIXユーザー: oraInst.locファイルの作成」を参照してください。

Oracle Portal、Forms、ReportsおよびDiscovererのインストールでは、root.shスクリプトをrootユーザーとして実行する必要があります。 root.shスクリプトでは環境変数の設定を検出しますので、ローカルbinディレクトリのフルパスを入力できます。



注意:

Windowsユーザーについては、今回初めてOracle Portal、Forms、ReportsおよびDiscovererをインストールする場合、インストール作業を開始する前にレジストリ・キーを作成する必要があります。 レジストリ・キーの作成については、C.3.2項「Windowsユーザー: レジストリ・キーの作成」を参照してください。

C.2 レスポンス・ファイルの作成

サイレント・インストールを実行する前に、インストール固有の情報をレスポンス・ファイルに指定する必要があります。 レスポンス・ファイルを適切に構成せずにインストールを実行しようとすると、インストーラが失敗します。 レスポンス・ファイルは、テキスト・エディタで作成や編集を行うことのできるテキスト・ファイルです。

表C-1に、インストール・メディアのDisk1/stage/Responseディレクトリに格納されているレスポンス・ファイルの一覧を示します。

表C-1 Oracle Portal、Forms、ReportsおよびDiscovererのインストールおよび構成に使用するレスポンス・ファイル・テンプレート

テンプレート 説明

deinstall.rsp

これは、サイレント削除を実行する場合に使用するレスポンス・ファイル・テンプレートです。

このファイルの内容を確認するには、C.2.1項「deinstall.rspファイルの内容」を参照してください。

configure_only.rsp

これは、すでにソフトウェアがシステムにインストールされており、ドメインの作成や拡張のために製品を構成する必要がある場合に使用するレスポンス・ファイル・テンプレートです。

GUIを使用して同等の操作を行う場合は、ORACLE_HOME/bin(UNIXの場合)またはORACLE_HOME\bin(Windowsの場合)ディレクトリからconfig.sh(UNIXの場合)またはconfig.bat(Windowsの場合)スクリプトを実行します。

このファイルの内容を確認するには、C.2.2項「configure_only.rspファイルの内容」を参照してください。

install_only.rsp

これは、システムへのソフトウェアのインストールのみを行う場合に使用するレスポンス・ファイル・テンプレートです。

GUIを使用して同等の操作を行う場合は、「インストール・タイプの選択」画面「ソフトウェアのインストール - 構成なし」オプションを選択します。

このファイルの内容を確認するには、C.2.3項「install_only.rspファイルの内容」を参照してください。

install_and_configure.rsp

これは、ソフトウェアをシステムにインストールして構成する場合に使用するレスポンス・ファイル・テンプレートです。

GUIを使用して同等の操作を行う場合は、「インストール・タイプの選択」画面「インストールと構成」オプションを選択します。

このファイルの内容を確認するには、C.2.4項「install_and_configure.rspファイルの内容」を参照してください。


これらの既存のレスポンス・ファイルに加えて、独自のレスポンス・ファイルを作成することもできます。このようなファイルの作成には、インストールGUIを実行してから、「インストール・サマリー」画面「保存」をクリックします。 このレスポンス・ファイルの名前と作成先の入力を求められます。 作成後は、このレスポンス・ファイルをそのまま使用して他のシステムにインストールをレプリケートしたり、必要に応じてレスポンス・ファイルを変更することができます。

C.2.1 deinstall.rspファイルの内容

この項では、Disk1/stage/Response/deinstall.rspレスポンス・ファイルの内容を示します。

[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 configure_only.rspファイルの内容

この項では、Disk1/stage/Response/configure_only.rspレスポンス・ファイルの内容を示します。

[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 install_only.rspファイルの内容

この項では、Disk1/stage/Response/install_only.rspレスポンス・ファイルの内容を示します。

[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 install_and_configure.rspファイルの内容

この項では、Disk1/stage/Response/install_and_configure.rspレスポンス・ファイルの内容を示します。

[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 サイレント・インストールの保護

レスポンス・ファイルには、インストーラで必要な特定のパスワードが格納されます。 レスポンス・ファイル内でパスワードが必要な場所を見つけるには、password文字列を検索し、対象となる<Value Required>文字列を実際のパスワードに置き換えます。 これらのパスワードは、クリアテキスト形式でレスポンス・ファイル内に格納されます。 これらのレスポンス・ファイル内のパスワードに関するセキュリティの問題を最小限に抑えるには、次のガイドラインに従います。

  • レスポンス・ファイルに対して権限を設定し、サイレント・インストールを実行するオペレーティング・システム・ユーザーからのみ読取り可能とします。

  • 可能な場合は、サイレント・インストールの完了後に、システムからレスポンス・ファイルを削除します。

C.3 インストール前のタスク

この項では、場合によりサイレント・インストールの実行前に必要となるインストール前のタスクについて説明します。

内容は次のとおりです。

C.3.1 UNIXユーザー: oraInst.locファイルの作成

Oracleインベントリ・ディレクトリは、コンピュータにインストールされたすべてのOracle製品を記録するためにインストーラによって使用されます。 このインベントリ・ディレクトリは、oraInst.locという名前のファイルに格納されます。 このファイルがシステム上に存在していない場合は、サイレント・インストールを開始する前に作成する必要があります。 このファイルはインストーラで使用されます。

  1. rootユーザーとしてログインします。

    prompt> su
    
  2. viやemacsなどのテキスト・エディタを使用して、選択したディレクトリにoraInst.locファイルを作成します。 ファイルの内容は、次の2行で構成されます。

    inventory_loc=oui_inventory_directory
    inst_group=oui_install_group
    

    oui_inventory_directory を、インストーラによってインベントリ・ディレクトリが作成されるディレクトリへのフルパスに置き換えます。 次に、oui_install_group を、メンバーがこのディレクトリへの書込み権限を持つグループの名前に置き換えます。

  3. rootユーザーを終了します。

    # exit
    

C.3.2 Windowsユーザー: レジストリ・キーの作成

Oracle Portal、Forms、ReportsおよびDiscovererがまだコンピュータにインストールされていない場合は、次のレジストリ・キーと値を作成する必要があります。

HKEY_LOCAL_MACHINE / SOFTWARE / Oracle / inst_loc = [inventory_directory]

Inventory_Directory をインストーラ・ファイルへのフルパスに置き換えます。次に例を示します。

C:Program Files\Oracle\Inventory

C.4 サイレント・インストールの手順

次に、UNIXシステムでコマンドラインからインストーラを実行する構文を示します。

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

Windowsシステムの場合:

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

表C-2 インストーラのコマンドライン・パラメータ

パラメータ 説明

インストール・モード: 1つのモードのみ指定可能

-i

-install

インストーラをGUIモードで起動します。 これはデフォルトのモードであり、コマンドラインでモードが指定されていない場合に使用されます。

-silent

サイレント・モードでインストールを行います。 インストーラにレスポンス・ファイルまたはコマンドライン変数の値のペアを渡す必要があります。

-d

-deinstall

削除作業を行うためにインストーラをGUIモードで起動します。

-p

-prerequisite

インストーラをGUIモードで起動しますが、前提条件チェックのみを行います。 ソフトウェアはインストールされません。

-v

-validate

インストーラをGUIモードで起動し、すべての前提条件チェックと検証チェックを実行しますが、ソフトウェアのインストールは行いません。

-sv

-silentvalidate

サイレント・モードですべての前提条件チェックと検証チェックを実行します。 インストーラにレスポンス・ファイルまたは一連のコマンドライン変数の値のペアを渡す必要があります。

インストール・オプション

-help

--help

--usage

runInstallerコマンドの使用方法のパラメータを表示します。

-invPtrLoc file

インベントリ・ロケーション・ファイルへのポインタ。 fileoraInst.locファイルのフルパスと名前に置き換えます。

-response file

-responseFile file

レスポンス・ファイルへのポインタ。 file をレスポンス・ファイルのフルパスと名前に置き換えます。

-jreLoc location

Javaランタイム環境(JRE)がインストールされている場所へのポインタ。 location を、JREがインストールされているjreディレクトリへのフルパスに置き換えます。

-logLevel level

インストーラで実行されるロギングのレベルを指定します。指定したlevel より重要度の低いメッセージはすべて記録されます。 有効なレベルは次のとおりです。

  • severe

  • warning

  • info

  • config

  • fine

  • finer

  • finest

-debug

インストーラからデバッグ情報を取得します。

-force

空ではないディレクトリへのサイレント・インストールを許可します。

-printdiskusage

ディスク使用量に関するデバッグ情報をログに記録します。

-printmemory

メモリー使用量に関するデバッグ情報をログに記録します。

-printtime

時間の使用状況に関するデバッグ情報をログに記録します。 このコマンドにより、timeTakentimestamp.logファイルが作成されます。

-waitforcompletion

Windowsのみ: Javaエンジンを起動および終了するかわりに、完了まで待機します。

-noconsole

メッセージがコンソール・ウィンドウに表示されません。

-ignoreSysPrereqs

システムの前提条件チェックの結果を無視し、インストールを続行します。

-executeSysPrereqs

システムの前提条件チェックのみを実行して終了します。

-paramFile file

oraparam.iniファイルへのフルパスを指定します。 このファイルはインストーラの初期化ファイルです。 このファイルのデフォルトの場所は、Disk1/install/platform です。

-novalidation

インストーラにより実行されるすべての検証チェックを無効にします。

-nodefaultinput

GUIインストールの場合は、複数の画面で情報やデフォルト値が事前移入されます。 このオプションを選択すると、このような動作が無効となり、情報や値の事前移入が行われなくなります。

コマンドライン変数

インストーラ変数

インストーラ変数は、varName=value を使用して指定します。次に例を示します。

ORACLE_HOME=/home/Oracle/Middleware/as_1

セッション変数

セッション変数は、session:varName=value を使用して指定します。

コンポーネント変数

コンポーネント変数は、session:compInternalName:[Version:]varName=value を使用して指定します。


C.4.1 サンプル・コマンド

初めてOracle製品をシステムにインストールする場合(Oracleインベントリの場所がまだ存在しない場合)は、次のコマンドを使用してサイレント・インストールを実行します。

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

次に、このコマンドの完全な例を示します。

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

すでにシステムにOracle製品がインストールされており、インベントリの場所を指定する必要がない場合は、次のようなコマンドを使用できます。

> ./runInstaller -silent -response file

次に、このコマンドの完全な例を示します。

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

C.4.2 サンプル出力

次に、Linuxシステムでinstall_only.rspテンプレートを使用してサイレント・インストールを行った場合のサンプル出力を示します。

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.