weblogic12C 的靜默安裝以及建立域
在weblogic升級到12.1.2版本的時候,強制性的使用圖形介面才能進行安裝,但是還是可以進行靜默安裝,
步驟如下:
1:安裝JDK並配置環境變數
JAVA_HOME=/opt/jdk1.7/jdk1.7.0_71
export JRE_HOME=/opt/jdk1.7/jdk1.7.0_71/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
source .bash_profile
2:建立weblogic賬號和使用者組
useradd weblogic
3: 編輯響應檔案:wls1212.rsp
[ENGINE]
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
[GENERIC]
#The oracle home location. This can be an existing Oracle Home or a new Oracle Home
ORACLE_HOME=/data/wls1212
#Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.
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
DECLINE_SECURITY_UPDATES=true
#Set this to true if My Oracle Support Password is specified
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=
4:編輯oraInst.loc檔案
inventory_loc=/home/weblogic/oraInventory1
inst_group=weblogic
5:進行靜默安裝
java -jar wls_121200.jar -silent -responseFile /data/wls.rsp -invPtrLoc /data/oraInst.loc
[weblogic@web_gx data]$ java -jar wls_121200.jar -silent -responseFile /data/wls.rsp -invPtrLoc /data/oraInst.loc
正在提取檔案......
啟動 Oracle Universal Installer
檢查 CPU 速度是否大於 300 MHz。 實際為 2399.998 MHz 透過
檢查交換空間: 必須大於 512 MB。 實際為 4128760 MB 透過
檢查此平臺是否需要 64 位 JVM。 實際為64 透過 (不需要 64 位)
檢查臨時空間: 必須大於 300 MB。 實際為 9265 MB 透過
準備從/tmp/OraInstall2015-09-29_10-32-32AM啟動 Oracle Universal Installer
/bin/chmod: ....?¨?......"/home/weblogic/oraInventory1": ..........................ò........
/bin/chmod: ....?¨?......"/logs/installActions2015-09-29_10-32-32AM.log": ..........................ò........
日誌:/home/weblogic/oraInventory1 /logs/install2015-09-29_10-32-32AM.log
版權所有 (c) 1996, 2013, Oracle 和/或其附屬公司。保留所有權利。
正在讀取響應檔案...
預期的結果: enterprise-4,enterprise-5,enterprise-6,redhat-6,redhat-4,redhat-5,SuSE-10,SuSE-11之一
實際結果: enterprise-6
檢查完成。此次檢查的總體結果為: 透過
CertifiedVersions 檢查: 成功。
預期的結果: 1.7
實際結果: 1.7.0_71
檢查完成。此次檢查的總體結果為: 透過
CheckJDKVersion 檢查: 成功。
正在驗證資料...
正在複製檔案...
-----------20%----------40%----------60%----------80%--------100%
WebLogic Server 12.1.2.0.0 的 installation 已成功完成。
:
步驟如下:
1:安裝JDK並配置環境變數
JAVA_HOME=/opt/jdk1.7/jdk1.7.0_71
export JRE_HOME=/opt/jdk1.7/jdk1.7.0_71/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH
source .bash_profile
2:建立weblogic賬號和使用者組
useradd weblogic
3: 編輯響應檔案:wls1212.rsp
[ENGINE]
#DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0
[GENERIC]
#The oracle home location. This can be an existing Oracle Home or a new Oracle Home
ORACLE_HOME=/data/wls1212
#Set this variable value to the Installation Type selected. e.g. WebLogic Server, Coherence, Complete with Examples.
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
DECLINE_SECURITY_UPDATES=true
#Set this to true if My Oracle Support Password is specified
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=
4:編輯oraInst.loc檔案
inventory_loc=/home/weblogic/oraInventory1
inst_group=weblogic
5:進行靜默安裝
java -jar wls_121200.jar -silent -responseFile /data/wls.rsp -invPtrLoc /data/oraInst.loc
[weblogic@web_gx data]$ java -jar wls_121200.jar -silent -responseFile /data/wls.rsp -invPtrLoc /data/oraInst.loc
正在提取檔案......
啟動 Oracle Universal Installer
檢查 CPU 速度是否大於 300 MHz。 實際為 2399.998 MHz 透過
檢查交換空間: 必須大於 512 MB。 實際為 4128760 MB 透過
檢查此平臺是否需要 64 位 JVM。 實際為64 透過 (不需要 64 位)
檢查臨時空間: 必須大於 300 MB。 實際為 9265 MB 透過
準備從/tmp/OraInstall2015-09-29_10-32-32AM啟動 Oracle Universal Installer
/bin/chmod: ....?¨?......"/home/weblogic/oraInventory1": ..........................ò........
/bin/chmod: ....?¨?......"/logs/installActions2015-09-29_10-32-32AM.log": ..........................ò........
日誌:/home/weblogic/oraInventory1 /logs/install2015-09-29_10-32-32AM.log
版權所有 (c) 1996, 2013, Oracle 和/或其附屬公司。保留所有權利。
正在讀取響應檔案...
預期的結果: enterprise-4,enterprise-5,enterprise-6,redhat-6,redhat-4,redhat-5,SuSE-10,SuSE-11之一
實際結果: enterprise-6
檢查完成。此次檢查的總體結果為: 透過
CertifiedVersions 檢查: 成功。
預期的結果: 1.7
實際結果: 1.7.0_71
檢查完成。此次檢查的總體結果為: 透過
CheckJDKVersion 檢查: 成功。
正在驗證資料...
正在複製檔案...
-----------20%----------40%----------60%----------80%--------100%
WebLogic Server 12.1.2.0.0 的 installation 已成功完成。
:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28869493/viewspace-1811400/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- weblogic靜默方式建立域Web
- 應用黑名單以及靜默安裝的實現
- rac靜默安裝
- Oracle靜默安裝Oracle
- 靜默方式安裝、升級oracle(二): 建立資料庫Oracle資料庫
- Linux下靜默安裝OraceLinux
- 【靜默】在RHEL 6.5上靜默安裝Oracle 18cOracle
- 靜默安裝and手動建庫
- oracle 19C 靜默安裝Oracle
- 靜默安裝oracle時報錯Oracle
- AnolisOS 7.9 靜默安裝Oacle 11.2.0.4
- centos 7.4靜默安裝oracle 19.3CentOSOracle
- Windows 7平臺靜默安裝11.2.0.4軟體及靜默建庫Windows
- 靜默方式安裝11gR2
- Oracle Linux 7.1 靜默安裝Weblogic 12.2.1.3OracleLinuxWeb
- 靜默安裝19C RAC的指令碼指令碼
- win10如何禁止靜默執行_win10禁止靜默安裝方法Win10
- RedHat上靜默安裝Oracle11gRedhatOracle
- CentOS 7.2靜默安裝Oracle11gCentOSOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- 【11g 單庫解除安裝、靜默安裝】實驗
- windows10系統禁止靜默安裝的方法Windows
- Oracle 19C的下載和安裝部署(圖形安裝和靜默安裝)Oracle
- 靜默安裝Oracle11g資料庫Oracle資料庫
- 靜默方式安裝oracle 11g 完整攻略Oracle
- oracle11g客戶端靜默安裝Oracle客戶端
- 靜默安裝Oracle資料庫11gOracle資料庫
- RedHat 7 靜默安裝Oracle11g的補充RedhatOracle
- linux7 靜默安裝 11GR2 RACLinux
- Oracle Linux 7.1 靜默安裝Oracle 18c RACOracleLinux
- Android 流氓軟體靜默安裝是怎麼實現的?Android
- Linux下利用指令碼靜默安裝Oracle11GLinux指令碼Oracle
- 19c(19.3) 單機資料庫靜默安裝資料庫
- GoldenGate 12.3 MA架構介紹系列(5) - 靜默安裝Go架構
- oracle11g在linux7的靜默安裝指令碼OracleLinux指令碼
- 【配置安裝】靜默安裝Oracle資料庫軟體12c&19cOracle資料庫
- [重慶思莊每日技術分享]-監聽的靜默配置安裝