weblogic12 linux部署,linux系统中安装部署weblogic12.1.3
問題: 此 Oracle 軟件未經當前操作系統認證。
建議案: 確保在正確的平臺上安裝軟件。
警告: 檢查:CertifiedVersions 失敗。
開始檢查: CheckJDKVersion
預期的結果: 1.7.0_15
實際結果: 1.8.0_111
檢查完成。此次檢查的總體結果為: 通過
CheckJDKVersion 檢查: 成功。
已啟用此會話的驗證。
正在驗證數據...
正在復制文件...
可以在以下位置找到本次安裝會話的日志:
/tmp/OraInstall2016-12-07_11-28-48AM/install2016-12-07_11-28-48AM.log
-----------20%----------40%----------60%----------80%--------100%
Oracle Fusion Middleware 12c WebLogic Server 和 Coherence 12.1.3.0.0 的 安裝 已成功完成。
日志已成功復制到/home/weblogic/oraInventory/logs。?? -----打印此信息,說明weblogic安裝成功了。
8、 創建domain域名
A、通過控制臺安裝
export MW_HOME="/u02/bea"
export WL_HOME="/u02/bea/oracle_common"
[root@WAAA-NM1 bin]# pwd
/ghca/bea/wlserver/common/bin
[root@WAAA-NM1 bin]# ./commEnv.sh
[root@WAAA-NM1 bin]# ./wlst.sh
Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Initializing WebLogic Scripting Tool (WLST) ...
Jython scans all the jar files it can find at first startup. Depending on the system, this process may take a few minutes to complete, and WLST may not return a prompt right away.
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> readTemplate('/u02/bea/wlserver/common/templates/wls/wls.jar')
wls:/offline/base_domain>cd('Servers/AdminServer')
wls:/offline/base_domain/Server/AdminServer>set('ListenAddress','')
wls:/offline/base_domain/Server/AdminServer>set('ListenPort', 7001)
wls:/offline/base_domain/Server/AdminServer>cd('../..')
wls:/offline/base_domain>cd('Security/base_domain/User/weblogic')
wls:/offline/base_domain/Security/base_domain/User/weblogic>cmo.setPassword('weblogic123')
wls:/offline/base_domain/Security/base_domain/User/weblogic>setOption('OverwriteDomain', 'true')
wls:/offline/base_domain/Security/base_domain/User/weblogic>writeDomain('/u02/bea/user_projects/domains/base_domain')
closeTemplate()
exit()
PS:最后一步等待時間稍微較長;
B、通過參數文件實現靜默安裝
創建文件: create_domain.rsp
read template from "/u02/bea/wlserver/common/templates/wls/wls.jar";
set JavaHome "/usr/local/jdk1.8";
set ServerStartMode "dev";
find Server "AdminServer" as AdminServer;
set AdminServer.ListenAddress "";
set AdminServer.ListenPort "7001";
set AdminServer.SSL.Enabled "true";
set AdminServer.SSL.ListenPort "7002";
//create a new user
create User "weblogic2" as u2;
set u2.password "weblogic123";
write domain to "/u02/bea/user_projects/domains/base_domain/";
// The domain name will be "demo-domain"
close template;
9、啟動
$cd /u02/bea/user_projects/domains/base_domain/bin
$./startWeblogic.sh
參考官網資料:
https://docs.oracle.com/middleware/1213/core/OUIRF/silent.htm#OUIRF337
10、安裝部署中遇到的問題
1、wls.rsp 文件內容有錯誤
[weblogic@model ~]$ java -jar fmw_12.1.3.0.0_wls.jar? -silent -responseFile /u02/wls.rsp? -invPtrLoc /u02/oraInst.loc
Launcher log file is /tmp/OraInstall2016-12-06_10-52-14PM/launcher2016-12-06_10-52-14PM.log.
Extracting files........................................
Starting Oracle Universal Installer
Checking if CPU speed is above 300 MHz.?? Actual 2294.749 MHz??? Passed
Checking swap space: must be greater than 512 MB.?? Actual 511992 MB??? Passed
Checking if this platform requires a 64-bit JVM.?? Actual 32??? Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.?? Actual 3066 MB??? Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2016-12-06_10-52-14PM
Log: /tmp/OraInstall2016-12-06_10-52-14PM/install2016-12-06_10-52-14PM.log
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Parse Error at line number:1
NE]
Variables must be defined in a section in the format:VARIABLE_NAME=VALUE. No "="found!
Error: An error occured while reading the response file. Ensure that the response file exists and is in correct format.
oracle.as.install.engine.modules.response.exception.ResponseFiError in reading response file. Aborting Install.leFormatException: Parse error at line no:1:NE]
at oracle.as.install.engine.modules.response.action.INIFileReader.parseError(INIFileReader.java:299)
總結
以上是生活随笔為你收集整理的weblogic12 linux部署,linux系统中安装部署weblogic12.1.3的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux nginx 代理iis,ng
- 下一篇: linux ubuntu fadora,