当前位置: 首页>編程日記>正文

Weblogic安装部署步骤

Weblogic安装部署步骤

                      Weblogic安装部署步骤

1.部署环境:

weblogic:  fmw_12.1.3.0.0_wls.jar

jdk:1.7

使用java -version查看jdk是否安装好以及版本。在.bash_profile文件中配置java环境变量。source .bash_profile使之生效。

 

  1. 创建响应文件 wls.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=/home/open/weblogic/app   此处的路径是weblogic的安装路径

#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=

  1. 创建Loc文件 oraInst.loc

inventory_loc=/home/open/oraInventory

inst_group=open   //此处是weblogic安装的所属用户

4.安装weblogic

$java -jar fmw_12.1.3.0.0_wls.jar  -silent  -responseFile  /home/open/weblogic/wls.rsp  -invPtrLoc /home/open/weblogic/oraInst.loc

 

启动程序日志文件为/tmp/OraInstall2016-12-07_11-28-48AM/launcher2016-12-07_11-28-48AM.log。

正在提取文件........

Java HotSpot(TM) Server VM warning: You have loaded library /tmp/orcl3700411247043593693.tmp/Disk1/install/linux/libjni.so which might have disabled stack guard. The VM will try to fix the stack guard now.

It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

启动 Oracle Universal Installer

检查 CPU 速度是否大于 300 MHz。   实际为 2128.009 MHz    通过

检查交换空间: 必须大于 512 MB。   实际为 8388604 MB    通过

检查此平台是否需要 64 位 JVM。   实际为32    通过 (不需要 64 位)

检查临时空间: 必须大于 300 MB。   实际为 3559 MB    通过

准备从/tmp/OraInstall2016-12-07_11-28-48AM启动 Oracle Universal Installer

Java HotSpot(TM) Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0    ---可忽略

日志:/tmp/OraInstall2016-12-07_11-28-48AM/install2016-12-07_11-28-48AM.log

版权所有 (c) 1996, 2014, Oracle 和/或其附属公司。保留所有权利。

正在读取响应文件...

开始检查: CertifiedVersions

预期的结果: enterprise-4,enterprise-5,enterprise-6,redhat-6,redhat-4,redhat-5,SuSE-11之一

实际结果: (未知操作系统版本)

检查完成。此次检查的总体结果为: 未通过 <<<< 可忽略

问题: 此 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安装成功了。

5.创建域(通过纯命令行安装)

 1.配置环境变量

export WL_HOME=/home/open/weblogic/app/oracle_common

export MW_HOME=/home/open/weblogic/app

2.

cd /open/weblogic/app/wlserver/common/bin

./commEnv.sh

 ./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('/home/open/weblogic/app/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('/home/open//weblogic/app/user_projects/domains/base_domain')  

closeTemplate()

exit()

PS:最后一步等待时间稍微较长;

6.启动

cd /open/weblogic/app/user_projects/domains/base_domain/bin

$./startWeblogic.sh

 

 

 


https://www.fengoutiyan.com/post/14086.html

相关文章:

  • 鏡像模式如何設置在哪,圖片鏡像操作
  • 什么軟件可以把圖片鏡像翻轉,C#圖片處理 解決左右鏡像相反(旋轉圖片)
  • 手機照片鏡像翻轉,C#圖像鏡像
  • 視頻鏡像翻轉軟件,python圖片鏡像翻轉_python中鏡像實現方法
  • 什么軟件可以把圖片鏡像翻轉,利用PS實現圖片的鏡像處理
  • 照片鏡像翻轉app,java實現圖片鏡像翻轉
  • 什么軟件可以把圖片鏡像翻轉,python圖片鏡像翻轉_python圖像處理之鏡像實現方法
  • matlab下載,matlab如何鏡像處理圖片,matlab實現圖像鏡像
  • 圖片鏡像翻轉,MATLAB:鏡像圖片
  • 鏡像翻轉圖片的軟件,圖像處理:實現圖片鏡像(基于python)
  • canvas可畫,JavaScript - canvas - 鏡像圖片
  • 圖片鏡像翻轉,UGUI優化:使用鏡像圖片
  • Codeforces,CodeForces 1253C
  • MySQL下載安裝,Mysql ERROR: 1253 解決方法
  • 勝利大逃亡英雄逃亡方案,HDU - 1253 勝利大逃亡 BFS
  • 大一c語言期末考試試題及答案匯總,電大計算機C語言1253,1253《C語言程序設計》電大期末精彩試題及其問題詳解
  • lu求解線性方程組,P1253 [yLOI2018] 扶蘇的問題 (線段樹)
  • c語言程序設計基礎題庫,1253號C語言程序設計試題,2016年1月試卷號1253C語言程序設計A.pdf
  • 信奧賽一本通官網,【信奧賽一本通】1253:抓住那頭牛(詳細代碼)
  • c語言程序設計1253,1253c語言程序設計a(2010年1月)
  • 勝利大逃亡英雄逃亡方案,BFS——1253 勝利大逃亡
  • 直流電壓測量模塊,IM1253B交直流電能計量模塊(艾銳達光電)
  • c語言程序設計第三版課后答案,【渝粵題庫】國家開放大學2021春1253C語言程序設計答案
  • 18轉換為二進制,1253. 將數字轉換為16進制
  • light-emitting diode,LightOJ-1253 Misere Nim
  • masterroyale魔改版,1253 Dungeon Master
  • codeformer官網中文版,codeforces.1253 B
  • c語言程序設計考研真題及答案,2020C語言程序設計1253,1253計算機科學與技術專業C語言程序設計A科目2020年09月國家開 放大學(中央廣播電視大學)
  • c語言程序設計基礎題庫,1253本科2016c語言程序設計試題,1253電大《C語言程序設計A》試題和答案200901
  • 肇事逃逸車輛無法聯系到車主怎么辦,1253尋找肇事司機