Install weblogic in silent mode

使用静默(silent)模式来安装weblogic,在需要将安装脚本化,或无法使用图形界面的时候非常有用。

下面按照自己在实际工作中碰到的例子,来慢慢总结不同版本和平台weblogic的静默安装方法。

weblogic 12.1.3

1. reponse file content. below content should be saved as weblogic_install.rsp

[ENGINE]

#DO NOT CHANGE THIS.
Response File Version=1.0.0.0. [GENERIC] #The oracle home location. This can be an existing Oracle Home or a new Oracle Home.
#this is required
ORACLE_HOME=D:\apps\weblogic #Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.
#this is required
INSTALL_TYPE=WebLogic Server #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=<SECURE VALUE> #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
#this is required
DECLINE_SECURITY_UPDATES=true #Set this to true if My Oracle Support Password is specified
#this is required
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false #Provide the Proxy Host
PROXY_HOST= #Provide the Proxy Port
PROXY_PORT= #Provide the Proxy Username
PROXY_USER= #Provide the Proxy Password
PROXY_PWD=<SECURE VALUE> #Type String (URL format) Indicates the OCM Repeater URL which should be of the format [scheme[Http/Https]]://[repeater host]:[repeater port]
COLLECTOR_SUPPORTHUB_URL=

2. install command line

path/to/jdk/bin/java -jar fmw_12.1.3.0.0.jar -silent -reponseFile /absolute/path/to/responseFile
上一篇:paip.取当天记录的方法sql跟hql hibernate


下一篇:linux输出 /dev/null