ヘッダーをスキップ
Oracle Fusion Middleware Oracle WebCenterインストレーション・ガイド
11gリリース1(11.1.1)
B55910-01
  目次
目次
索引
索引

戻る
戻る
 
次へ
次へ
 

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

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

D.1 サイレント・インストールとは

サイレント・インストールでは、グラフィック出力がなく、ユーザー入力も要求されないため、Oracle WebCenterのインストールを監視する必要がありません。

Oracle WebCenterのサイレント・インストールは、レスポンス・ファイルでインストーラに情報を指定し、コマンドラインで-silentフラグを使用することにより実行します。レスポンス・ファイルとは、インストーラ・プロンプトへの応答を指定する変数とパラメータからなるテキスト・ファイルです。


注意:

UNIXユーザーは、初めてOracle WebCenterをインストールする場合、開始前にoraInst.locファイルを作成する必要があります。詳細は、第D.3.1項「UNIXユーザー対象: oraInst.locファイルの作成」を参照してください。

Oracle WebCenterのインストールが終了したら、root.shスクリプトをrootユーザーとして実行する必要があります。root.shスクリプトを実行すると環境変数の設定が検出されるので、ローカルのbinディレクトリのフルパスを入力できるようになります。



注意:

Windowsユーザーは、初めてOracle WebCenterをインストールする場合、開始前に<レジストリ・キーを作成する必要があります。レジストリ・キーの作成方法の詳細は、第D.3.2項「Windowsユーザー対象: レジストリ・キーの作成」を参照してください。

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

サイレント・インストールを実行する前に、レスポンス・ファイルでインストール固有の情報を指定する必要があります。正しく構成されていないレスポンス・ファイルを使用してインストールを実行しようとすると、インストーラは失敗します。レスポンス・ファイルは、テキスト・エディタで作成または編集できるテキスト・ファイルです。

表D-1に、インストールCD-ROMのDisk1/stage/Responseディレクトリ(UNIXの場合)またはDisk1\stage\Responseディレクトリ(Windowsの場合)に用意されているレスポンス・ファイルを示します。

表D-1 Oracle WebCenterのインストールと構成に使用するレスポンス・ファイルのテンプレート

テンプレート 説明

oracle.as.webcenter.top.Custom.rsp

Oracle WebCenter製品をインストールおよび構成する場合に使用するテンプレート・レスポンス・ファイルです。GUIモードと同等のソフトウェア・インストールを実行してから構成ウィザードを実行して、WebLogicドメインの作成または拡張、およびOracle WebCenter製品の構成を行います。

このテンプレートを完成させるには、<Value Required>が含まれているフィールドごとに有効な値を指定する必要があります。このファイルの内容を確認するには、第D.2.1項「oracle.as.webcenter.top.Custom.rspファイルの内容」を参照してください。

sampleResponse.rsp

Oracle WebCenterソフトウェアのインストールのみを行う場合に使用するテンプレート・レスポンス・ファイルです。ユーザーは構成ウィザードを別途実行して、WebLogicドメインの作成または拡張、およびOracle WebCenter製品の構成を行う必要があります。

このファイルに指定する必要があるパラメータは、ORACLE_HOMEMIDDLEWARE_HOMEのみです。このファイルの内容を確認するには、第D.2.2項「sampleResponse.rspファイルの内容」を参照してください。


あらかじめ用意されているこれらのレスポンス・ファイルのほかに、独自のレスポンス・ファイルを作成することもできます。これには、インストールGUIを実行し、「インストール・サマリー」画面で「保存」をクリックします。このレスポンス・ファイルの名前と作成場所を入力するように求められます。作成されたら、そのファイルを使用して、まったく同じインストールを他のシステムにレプリケートしたり、必要に応じてインストールを修正できます。

D.2.1 oracle.as.webcenter.top.Custom.rspファイルの内容

この項では、UNIXシステムに配置されるDisk1/stage/Response/oracle.as.webcenter.top.Custom.rspレスポンス・ファイルの内容を示します。

####################################################################
## Copyright (c) 1999, 2009 Oracle. All rights reserved.          ##
##                                                                ##
## Specify values for the variables listed below to customize     ##
## your installation.                                             ##
##                                                                ##
## Each variable is associated with a comment. The comment        ##
## identifies the variable type.                                  ##
##                                                                ##
## Please specify the values in the following format:             ##
##                                                                ##
##         Type         Example                                   ##
##         String       "Sample Value"                            ##
##         Boolean      True or False                             ##
##         Number       1000                                      ##
##         StringList   {"String value 1","String Value 2"}       ##
##                                                                ##
## The values that are given as <Value Required> need to be       ##
## specified for a silent installation to be successful.          ##
##                                                                ##
##                                                                ##
## This response file is generated by Oracle Software             ##
## Packager.                                                      ##
####################################################################


RESPONSEFILE_VERSION=2.2.1.0.0

#-------------------------------------------------------------------------------
#Name       : UNIX_GROUP_NAME
#Datatype   : String
#Description: Unix group to be set for the inventory directory. Valid only in Unix platforms.
#Example: UNIX_GROUP_NAME = "install"
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : FROM_LOCATION
#Datatype   : String
#Description: Complete path to the products.xml.
#Example: FROM_LOCATION = "../stage/products.xml"
#-------------------------------------------------------------------------------
FROM_LOCATION="../stage/products.xml"

#-------------------------------------------------------------------------------
#Name       : FROM_LOCATION_CD_LABEL
#Datatype   : String
#Description: This variable should only be used in multi-CD installations. It includes the label of the compact disk where the file "products.xml" exists. The label can be found in the file "disk.label" in the same directory as products.xml.
#Example: FROM_LOCATION_CD_LABEL = "CD Label"
#-------------------------------------------------------------------------------
FROM_LOCATION_CD_LABEL=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : ORACLE_HOME
#Datatype   : String
#Description: Complete path of the Oracle Home.
#Example: ORACLE_HOME = "C:\OHOME1"
#-------------------------------------------------------------------------------
ORACLE_HOME=<Value Required>

#-------------------------------------------------------------------------------
#Name       : ORACLE_BASE
#Datatype   : String
#Description: Complete path of the Oracle Base.
#Example: ORACLE_BASE =
#-------------------------------------------------------------------------------
ORACLE_BASE=<Value Required>

#-------------------------------------------------------------------------------
#Name       : ORACLE_HOME_NAME
#Datatype   : String
#Description: Oracle Home Name. Used in creating folders and services.
#Example: ORACLE_HOME_NAME = "OHOME1"
#-------------------------------------------------------------------------------
ORACLE_HOME_NAME="OHOME1"

#-------------------------------------------------------------------------------
#Name       : SHOW_WELCOME_PAGE
#Datatype   : Boolean
#Description: Set to true if the Welcome page in OUI needs to be shown.
#Example: SHOW_WELCOME_PAGE = false
#-------------------------------------------------------------------------------
SHOW_WELCOME_PAGE=false

#-------------------------------------------------------------------------------
#Name       : SUPPRESS_BUGLIST_WARNING
#Datatype   : Boolean
#Description: Set to true if the Welcome page in OUI needs to be shown.
#Example: SUPPRESS_BUGLIST_WARNING = false
#-------------------------------------------------------------------------------
SUPPRESS_BUGLIST_WARNING=false

#-------------------------------------------------------------------------------
#Name       : SHOW_NODE_SELECTION_PAGE
#Datatype   : Boolean
#Description: Set to true if the node selection page in OUI needs to be shown.
#Example: SHOW_NODE_SELECTION_PAGE = false
#-------------------------------------------------------------------------------
SHOW_NODE_SELECTION_PAGE=false

#-------------------------------------------------------------------------------
#Name       : SHOW_CUSTOM_TREE_PAGE
#Datatype   : Boolean
#Description: Set to true if the custom tree page in OUI needs to be shown.
#Use this page to select or de-select dependencies. This page appears only in a custom install type.
#Example: SHOW_CUSTOM_TREE_PAGE = false
#-------------------------------------------------------------------------------
SHOW_CUSTOM_TREE_PAGE=false
#-------------------------------------------------------------------------------
#Name       : SHOW_COMPONENT_LOCATIONS_PAGE
#Datatype   : Boolean
#Description: Set to true if the component locations page in OUI needs to be shown.
#This page only appears if there are products whose installed directory can be changed.
#If you set this to false you will prevent the user from being able to specify alternate directories.
#Example: SHOW_COMPONENT_LOCATIONS_PAGE = false
#-------------------------------------------------------------------------------
SHOW_COMPONENT_LOCATIONS_PAGE=false

#-------------------------------------------------------------------------------
#Name       : SHOW_SUMMARY_PAGE
#Datatype   : Boolean
#Description: Set to true if the summary page in OUI needs to be shown.
#The summary page shows the list of components that will be installed in this session.
#Example: SHOW_SUMMARY_PAGE = true
#-------------------------------------------------------------------------------
SHOW_SUMMARY_PAGE=true

#-------------------------------------------------------------------------------
#Name       : SHOW_INSTALL_PROGRESS_PAGE
#Datatype   : Boolean
#Description: Set to true if the install progress page in OUI needs to be shown.
#This page shows the current status in the installation. The current status includes the product being installed and the file being copied.
#Example: SHOW_INSTALL_PROGRESS_PAGE = true
#-------------------------------------------------------------------------------
SHOW_INSTALL_PROGRESS_PAGE=true

#-------------------------------------------------------------------------------
#Name       : SHOW_REQUIRED_CONFIG_TOOL_PAGE
#Datatype   : Boolean
#Description: Set to true if the required config assistants page in OUI needs to be shown.
#This page shows the list of required configuration assistants that are part of this installation.
#It shows the status of each assistant, including any failures with detailed information on why it failed.
#Example: SHOW_REQUIRED_CONFIG_TOOL_PAGE = true
#-------------------------------------------------------------------------------
SHOW_REQUIRED_CONFIG_TOOL_PAGE=true

#-------------------------------------------------------------------------------
#Name       : SHOW_CONFIG_TOOL_PAGE
#Datatype   : Boolean
#Description: Set to true if the config assistants page in OUI needs to be shown.
#This page shows the list of configuration assistants that are part of this installation and are configured to launch automatically.
#It shows the status of each assistant, including any failures with detailed information on why it failed.
#Example: SHOW_CONFIG_TOOL_PAGE = true
#-------------------------------------------------------------------------------
SHOW_CONFIG_TOOL_PAGE=true
#-------------------------------------------------------------------------------
#Name       : SHOW_RELEASE_NOTES
#Datatype   : Boolean
#Description: Set to true if the release notes of this installation need to be shown at the end of installation.
#This dialog is launchable from the End of Installation page and shows the list of release notes available for the products just installed.
# This also requires the variable SHOW_END_SESSION_PAGE variable to be set to true.
#Example: SHOW_RELEASE_NOTES = true
#-------------------------------------------------------------------------------
SHOW_RELEASE_NOTES=true

#-------------------------------------------------------------------------------
#Name       : SHOW_ROOTSH_CONFIRMATION
#Datatype   : Boolean
#Description: Set to true if the Confirmation dialog asking to run the root.sh script in OUI needs to be shown.
#Valid only for Unix platforms.
#Example: SHOW_ROOTSH_CONFIRMATION = true
#-------------------------------------------------------------------------------
SHOW_ROOTSH_CONFIRMATION=true

#-------------------------------------------------------------------------------
#Name       : SHOW_END_SESSION_PAGE
#Datatype   : Boolean
#Description: Set to true if the end of session page in OUI needs to be shown.
#This page shows if the installation is successful or not.
#Example: SHOW_END_SESSION_PAGE = true
#-------------------------------------------------------------------------------
SHOW_END_SESSION_PAGE=true

#-------------------------------------------------------------------------------
#Name       : SHOW_EXIT_CONFIRMATION
#Datatype   : Boolean
#Description: Set to true if the confirmation when exiting OUI needs to be shown.
#Example: SHOW_EXIT_CONFIRMATION = true
#-------------------------------------------------------------------------------
SHOW_EXIT_CONFIRMATION=true

#-------------------------------------------------------------------------------
#Name       : NEXT_SESSION
#Datatype   : Boolean
#Description: Set to true to allow users to go back to the File Locations page for another installation. This flag also needs to be set to true in order to process another response file (see NEXT_SESSION_RESPONSE).
#Example: NEXT_SESSION = true
#-------------------------------------------------------------------------------
NEXT_SESSION=true

#-------------------------------------------------------------------------------
#Name       : NEXT_SESSION_ON_FAIL
#Datatype   : Boolean
#Description: Set to true to allow users to invoke another session even if current install session has failed. This flag is only relevant if NEXT_SESSION is set to true.
#Example: NEXT_SESSION_ON_FAIL = true
#-------------------------------------------------------------------------------
NEXT_SESSION_ON_FAIL=true

#-------------------------------------------------------------------------------
#Name       : NEXT_SESSION_RESPONSE
#Datatype   : String
#Description: Set to true to allow users to go back to the File Locations page for another installation. This flag also needs to be set to true in order to process another response file (see NEXT_SESSION_RESPONSE).
#Example: NEXT_SESSION_RESPONSE = "nextinstall.rsp"
#-------------------------------------------------------------------------------
NEXT_SESSION_RESPONSE=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : DEINSTALL_LIST
#Datatype   : StringList
#Description: List of components to be deinstalled during a deinstall session.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
#    oracle.as.webcenter.top, 11.0.0.0.0 : Oracle WebCenter Suite 11g 11.0.0.0.0
#Example: DEINSTALL_LIST = {"oracle.as.webcenter.top","11.0.0.0.0"}
#-------------------------------------------------------------------------------
DEINSTALL_LIST={"oracle.as.webcenter.top","11.0.0.0.0"}

#-------------------------------------------------------------------------------
#Name       : SHOW_DEINSTALL_CONFIRMATION
#Datatype   : Boolean
#Description: Set to true if deinstall confimation is needed during a deinstall session.
#Example: SHOW_DEINSTALL_CONFIRMATION = true
#-------------------------------------------------------------------------------
SHOW_DEINSTALL_CONFIRMATION=true

#-------------------------------------------------------------------------------
#Name       : SHOW_DEINSTALL_PROGRESS
#Datatype   : Boolean
#Description: Set to true if deinstall progress is needed during a deinstall session.
#Example: SHOW_DEINSTALL_PROGRESS = true
#-------------------------------------------------------------------------------
SHOW_DEINSTALL_PROGRESS=true

#-------------------------------------------------------------------------------
#Name       : CLUSTER_NODES
#Datatype   : StringList
#Description: This variable represents the cluster node names selected by the user for installation.
#Example: CLUSTER_NODES = {"node1"}
#-------------------------------------------------------------------------------
CLUSTER_NODES=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : REMOTE_NODES
#Datatype   : StringList
#Description: This variable represents the remote node names on which installation is carried out.
#Example: REMOTE_NODES =
#-------------------------------------------------------------------------------
REMOTE_NODES=<Value Required>
#-------------------------------------------------------------------------------
#Name       : LOCAL_NODE
#Datatype   : String
#Description: This variable represents the local node.
#Example: LOCAL_NODE =
#-------------------------------------------------------------------------------
LOCAL_NODE=<Value Required>

#-------------------------------------------------------------------------------
#Name       : RESTART_SYSTEM
#Datatype   : Boolean
#Description: Set to true to allow automatic restart of the system, if set to false then installer will exit without restarting, no exit confirmation dialog is shown
#Example: RESTART_SYSTEM = false
#-------------------------------------------------------------------------------
RESTART_SYSTEM=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : RESTART_REMOTE_SYSTEM
#Datatype   : Boolean
#Description: Set to true to allow automatic restart of the remote systems, if set to false then installer will not restart the remote systems, no exit confirmation dialog is shown
#Example: RESTART_REMOTE_SYSTEM = false
#-------------------------------------------------------------------------------
RESTART_REMOTE_SYSTEM=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : ORACLE_HOSTNAME
#Datatype   : String
#Description: This variable holds the hostname of the system as set by the user.
#Example: ORACLE_HOSTNAME =
#-------------------------------------------------------------------------------
ORACLE_HOSTNAME=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : REMOVE_HOMES
#Datatype   : StringList
#Description: List of the homes to be removed during a deinstall session. Each home is represented by its full path.
#Example: REMOVE_HOMES = {<full_path_of_home1>,<full_path_of_home2>, ...}
#-------------------------------------------------------------------------------
REMOVE_HOMES=<Value Unspecified>

#-------------------------------------------------------------------------------
#Name       : SHOW_XML_PREREQ_PAGE
#Datatype   : Boolean
#Description: This variable determines whether or not to show the prereq page.
#Example: SHOW_XML_PREREQ_PAGE = true
#-------------------------------------------------------------------------------
SHOW_XML_PREREQ_PAGE=true
#-------------------------------------------------------------------------------
#Name       : SHOW_END_OF_INSTALL_MSGS
#Datatype   : Boolean
#Description: Set to true if the text on end of install screen is to be shown. The text is always available under <Oracle Home>/install/readme.txt.
#Example: SHOW_END_OF_INSTALL_MSGS = true
#-------------------------------------------------------------------------------
SHOW_END_OF_INSTALL_MSGS=true

#-------------------------------------------------------------------------------
#Name       : ACCEPT_LICENSE_AGREEMENT
#Datatype   : Boolean
#Description: By setting this variable to true, you are accepting the license agreement. This variable is used only for silent installations.
#Example: ACCEPT_LICENSE_AGREEMENT = true
#-------------------------------------------------------------------------------
ACCEPT_LICENSE_AGREEMENT=true

#-------------------------------------------------------------------------------
#Name       : METALINK_LOCATION
#Datatype   : String
#Description: This variable represents the Oracle metalink location.
#Example: METALINK_LOCATION =
#-------------------------------------------------------------------------------
METALINK_LOCATION=<Value Required>

#-------------------------------------------------------------------------------
#Name       : METALINK_USERNAME
#Datatype   : String
#Description: This variable represents the Oracle metalink user name.
#Example: METALINK_USERNAME =
#-------------------------------------------------------------------------------
METALINK_USERNAME=<Value Required>

#-------------------------------------------------------------------------------
#Name       : MYORACLESUPPORT_USERNAME
#Datatype   : String
#Description: This variable represents the Oracle metalink user name.
#Example: MYORACLESUPPORT_USERNAME =
#-------------------------------------------------------------------------------
MYORACLESUPPORT_USERNAME=<Value Required>

#-------------------------------------------------------------------------------
#Name       : METALINK_PASSWORD
#Datatype   : String
#Description: This variable represents the corresponding Oracle metalink password.
#Example: METALINK_PASSWORD =
#-------------------------------------------------------------------------------
METALINK_PASSWORD=<Value Required>

#-------------------------------------------------------------------------------
#Name       : MYORACLESUPPORT_PASSWORD
#Datatype   : String
#Description: This variable represents the corresponding Oracle metalink password.
#Example: MYORACLESUPPORT_PASSWORD =
#-------------------------------------------------------------------------------
MYORACLESUPPORT_PASSWORD=<Value Required>

#-------------------------------------------------------------------------------
#Name       : PROXY_HOST
#Datatype   : String
#Description: The proxy host  used to connect to Oracle metalink.
#Example: PROXY_HOST =
#-------------------------------------------------------------------------------
PROXY_HOST=<Value Required>

#-------------------------------------------------------------------------------
#Name       : PROXY_PORT
#Datatype   : String
#Description: The proxy port used to connect to Oracle metalink.
#Example: PROXY_PORT =
#-------------------------------------------------------------------------------
PROXY_PORT=<Value Required>

#-------------------------------------------------------------------------------
#Name       : PROXY_REALM
#Datatype   : String
#Description: The realm for the proxy used to connect to Oracle metalink.
#Example: PROXY_REALM =
#-------------------------------------------------------------------------------
PROXY_REALM=<Value Required>

#-------------------------------------------------------------------------------
#Name       : PROXY_USER
#Datatype   : String
#Description: The username for the proxy  used to connect to Oracle metalink.
#Example: PROXY_USER =
#-------------------------------------------------------------------------------
PROXY_USER=<Value Required>

#-------------------------------------------------------------------------------
#Name       : PROXY_PWD
#Datatype   : String
#Description: The password for the proxy  used to connect to Oracle metalink.
#Example: PROXY_PWD =
#-------------------------------------------------------------------------------
PROXY_PWD=<Value Required>

#-------------------------------------------------------------------------------
#Name       : DONT_PROXY_FOR
#Datatype   : String
#Description: The dont proxy for list.
#Example: DONT_PROXY_FOR =
#-------------------------------------------------------------------------------
DONT_PROXY_FOR=<Value Required>

#-------------------------------------------------------------------------------
#Name       : DECLINE_SECURITY_UPDATES
#Datatype   : Boolean
#Description: OUI Session variable set to decline from receiving the security updates
#Example: DECLINE_SECURITY_UPDATES =
#-------------------------------------------------------------------------------
DECLINE_SECURITY_UPDATES=<Value Required>
#-------------------------------------------------------------------------------
#Name       : COLLECTOR_RESPONSE_FILE
#Datatype   : String
#Description: OUI Session variable used to provide the OCM response file location
#Example: COLLECTOR_RESPONSE_FILE =
#-------------------------------------------------------------------------------
COLLECTOR_RESPONSE_FILE=<Value Required>

#-------------------------------------------------------------------------------
#Name       : SECURITY_UPDATES_VIA_METALINK
#Datatype   : Boolean
#Description: OUI Session variable used to set if the security updates should be received via Metalink details
#Example: SECURITY_UPDATES_VIA_METALINK =
#-------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_METALINK=<Value Required>

#-------------------------------------------------------------------------------
#Name       : SECURITY_UPDATES_VIA_MYORACLESUPPORT
#Datatype   : Boolean
#Description: OUI Session variable used to set if the security updates should be received via Metalink details
#Example: SECURITY_UPDATES_VIA_MYORACLESUPPORT =
#-------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_MYORACLESUPPORT=<Value Required>

#-------------------------------------------------------------------------------
#Name       : TOPLEVEL_COMPONENT
#Datatype   : StringList
#Description: The top level component to be installed in the current session.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
#    oracle.as.webcenter.top, 11.0.0.0.0 : Oracle WebCenter Suite 11g 11.0.0.0.0
#Example: TOPLEVEL_COMPONENT = {"oracle.as.webcenter.top","11.0.0.0.0"}
#-------------------------------------------------------------------------------
TOPLEVEL_COMPONENT={"oracle.as.webcenter.top","11.0.0.0.0"}

#-------------------------------------------------------------------------------
#Name       : SHOW_SPLASH_SCREEN
#Datatype   : Boolean
#Description: Set to true if the initial splash screen in OUI needs to be shown.
#Example: SHOW_SPLASH_SCREEN =
#-------------------------------------------------------------------------------
SHOW_SPLASH_SCREEN=true
#-------------------------------------------------------------------------------
#Name       : SELECTED_LANGUAGES
#Datatype   : StringList
#Description: Languages in which the components will be installed.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.
#    en,   : English
#    fr,   : French
#    ar,   : Arabic
#    bn,   : Bengali
#    pt_BR,   : Brazilian Portuguese
#    bg,   : Bulgarian
#    fr_CA,   : Canadian French
#    ca,   : Catalan
#    hr,   : Croatian
#    cs,   : Czech
#    da,   : Danish
#    nl,   : Dutch
#    ar_EG,   : Egyptian
#    en_GB,   : English (United Kingdom)
#    et,   : Estonian
#    fi,   : Finnish
#    de,   : German
#    el,   : Greek
#    iw,   : Hebrew
#    hu,   : Hungarian
#    is,   : Icelandic
#    in,   : Indonesian
#    it,   : Italian
#    ja,   : Japanese
#    ko,   : Korean
#    es,   : Latin American Spanish
#    lv,   : Latvian
#    lt,   : Lithuanian
#    ms,   : Malay
#    es_MX,   : Mexican Spanish
#    no,   : Norwegian
#    pl,   : Polish
#    pt,   : Portuguese
#    ro,   : Romanian
#    ru,   : Russian
#    zh_CN,   : Simplified Chinese
#    sk,   : Slovak
#    sl,   : Slovenian
#    es_ES,   : Spanish
#    sv,   : Swedish
#    th,   : Thai
#    zh_TW,   : Traditional Chinese
#    tr,   : Turkish
#    uk,   : Ukrainian
#    vi,   : Vietnamese
#Example: SELECTED_LANGUAGES = {"en"}
#-------------------------------------------------------------------------------
#SELECTED_LANGUAGES={"en"}
#-------------------------------------------------------------------------------
#Name       : COMPONENT_LANGUAGES
#Datatype   : StringList
#Description: Languages in which the components will be installed.
#The following choices are available. The value should contain only one of these choices.
#The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.
#    en,   : English
#    fr,   : French
#    ar,   : Arabic
#    bn,   : Bengali
#    pt_BR,   : Brazilian Portuguese
#    bg,   : Bulgarian
#    fr_CA,   : Canadian French
#    ca,   : Catalan
#    hr,   : Croatian
#    cs,   : Czech
#    da,   : Danish
#    nl,   : Dutch
#    ar_EG,   : Egyptian
#    en_GB,   : English (United Kingdom)
#    et,   : Estonian
#    fi,   : Finnish
#    de,   : German
#    el,   : Greek
#    iw,   : Hebrew
#    hu,   : Hungarian
#    is,   : Icelandic
#    in,   : Indonesian
#    it,   : Italian
#    ja,   : Japanese
#    ko,   : Korean
#    es,   : Latin American Spanish
#    lv,   : Latvian
#    lt,   : Lithuanian
#    ms,   : Malay
#    es_MX,   : Mexican Spanish
#    no,   : Norwegian
#    pl,   : Polish
#    pt,   : Portuguese
#    ro,   : Romanian
#    ru,   : Russian
#    zh_CN,   : Simplified Chinese
#    sk,   : Slovak
#    sl,   : Slovenian
#    es_ES,   : Spanish
#    sv,   : Swedish
#    th,   : Thai
#    zh_TW,   : Traditional Chinese
#    tr,   : Turkish
#    uk,   : Ukrainian
#    vi,   : Vietnamese
#Example: COMPONENT_LANGUAGES = {"en"}
#Component  : oracle.as.webcenter.top
#-------------------------------------------------------------------------------
COMPONENT_LANGUAGES={"en"}

#-------------------------------------------------------------------------------
#Name       : DEPENDENCY_LIST
#Datatype   : StringList
#Description: List of dependees that need to be installed along with this product.
#The following choices are available. The value can contain any combination of these choices.
#The choices are of the form Internal Name, Version : External name. Please use the internal name and version while specifying the value.
#    oracle.sysman.common.core, 10.2.0.1.0 : Enterprise Manager Common Core Files 11.1.0.2.0
#Example: DEPENDENCY_LIST = {"oracle.sysman.common.core:10.2.0.1.0"}
#Component  : oracle.sysman.common
#-------------------------------------------------------------------------------

DEPENDENCY_LIST={ "oracle.sysman.common.core:11.1.0.2.0" }

D.2.2 sampleResponse.rspファイルの内容

この項では、UNIXシステムに配置されるDisk1/stage/Response/sampleResponse.rspレスポンス・ファイルの内容を示します。

[ENGINE]

#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0

[GENERIC]

#Provide the Oracle Home location. The location has to be the immediate child under the specified Middleware Home location. The Oracle Home directory name may only contain alphanumeric , hyphen (-) , dot (.) and underscore (_) characters, and it must begin with an alphanumeric character. The total length has to be less than or equal to 128 characters. The location has to be an empty directory or a valid WebCenter Oracle Home.
ORACLE_HOME=/home/middleware/Oracle_WC1

#Provide existing Middleware Home location.
MIDDLEWARE_HOME=/home/middleware


[SYSTEM]


[APPLICATIONS]


[RELATIONSHIPS]

D.2.3 サイレント・インストールの保護

レスポンス・ファイルには、インストーラに必要な特定のパスワードが記述されています。レスポンス・ファイル内のこれらのパスワードに関係するセキュリティ問題を最小限に抑えるには、次のガイドラインに従います。

  • サイレント・インストールを実行するオペレーティング・システム・ユーザーのみがファイルを開けるように、レスポンス・ファイルに権限を設定します。

  • 可能であれば、インストールが完了した後、レスポンス・ファイルをシステムから削除します。

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

この項では、サイレント・インストールの実行前に必要となる可能性のある事前タスクについて説明します。

この項の内容は次のとおりです。

D.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
    

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

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

HKEY_LOCAL_MACHINE / SOFTWARE / Oracle / inst_loc = [inventory_directory]

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

C:Program Files\Oracle\Inventory

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

UNIXシステムの場合、コマンドラインからインストーラを実行するための構文は次のようになります。

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

Windowsシステム:

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

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

パラメータ 説明

インストール・モード: 指定できるモードは1つのみ

-i

-install

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

-silent

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

-d

-deinstall

削除を実行するインストーラをGUIモードで起動します。

-p

-prerequisite

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

-v

-validate

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

-sv

-silentvalidate

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

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

-help

--help

--usage

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

-invPtrLoc ファイル

インベントリの場所ファイルへのポインタ。ファイルには、oraInst.locファイルのフルパスと名前を代入します。

-response ファイル

-responseFile ファイル

レスポンス・ファイルへのポインタ。ファイルには、レスポンス・ファイルのフルパスと名前を代入します。

-jreLoc 場所

Java Runtime Environment(JRE)のインストール場所へのポインタ。場所には、JREのインストール先となるjreディレクトリのフルパスを代入します。

-logLevel レベル

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

  • 重度

  • 警告

  • 情報

  • 構成

  • 詳細

  • 最も詳細

-debug

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

-force

空ではないディレクトリでサイレント・インストールを続行できます。

-printdiskusage

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

-printmemory

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

-printtime

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

-waitforcompletion

Windowsのみ: インストーラはJavaエンジンを作成して終了するのではなく、完了するまで待機します。

-noconsole

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

-ignoreSysPrereqs

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

-executeSysPrereqs

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

-paramFile ファイル

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

-novalidation

インストーラで実行される妥当性検証チェックをすべて無効にします。

-nodefaultinput

GUIインストールでは、情報やデフォルト値が事前に移入されている画面がいくつかあります。このオプションを指定すると、この動作が無効になるため、情報や値は事前に移入されません。

コマンドライン変数

インストーラ変数

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

ORACLE_HOME=/scratch/jdoe/Oracle/Middleware/Oracle_WC1

セッション変数

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

コンポーネント変数

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


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

UNIXシステムでは、システムで初めてインストールを行う(つまり、Oracleインベントリの場所がまだ作成されていない)場合は、次のコマンドを使用してサイレント・インストールを実行します。

./runInstaller -silent -response file -invPtrLoc file

Windowsシステム:

setup.exe -silent -response file -invPtrLoc file

UNIXシステムでは、このコマンドの詳細な使用例は次のようになります。

./runInstaller -silent -response /home/jdoe/response/devWC.rsp -invPtrLoc /home/jdoe/oraInst.loc

Windows:

setup.exe -silent -response C:\home\Oracle\samples\jdoe\response\devWC.rsp -invPtrLoc c:\home\Oracle\oraInst.loc

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

./runInstaller -silent -response file

Windowsシステム:

setup.exe -silent -response file

UNIXシステムでは、このコマンドの詳細な使用例は次のようになります。

./runInstaller -silent -response /home/jdoe/response/devWC.rsp

Windows:

setup.exe -silent -response c:\home\Oracle\samples\jdoe\devWC.rsp

D.4.2 サンプル出力

次のサンプルは、UNIXシステムでsampleResponse.rspテンプレートを使用してサイレント・インストールを実行した場合の出力を示しています。

$ ./runInstaller -jreLoc /home/jdoe/Oracle/Middleware/jdk160_11/ -silent -response /home/jdoe/sampleResponse.rsp
Platform is Linux X86 32 bit
Starting Oracle Universal Installer...

Checking if CPU speed is above 300 MHz.    Actual 2999 MHz    Passed
Checking Temp space: must be greater than 150 MB.   Actual 69669 MB    Passed
Checking swap space: must be greater than 512 MB.   Actual 1395 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-04-03_10-49-20PM. Please wait ...[jdoe@dadvmn0789 Disk1]$ Log: /home/jdoe/oraInventory/logs/install2009-04-03_10-49-20PM.log
Copyright © 1999, 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
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 WebCenter Suite 11g completed successfully.