weblogic部署linux静默安装,Weblogic 12c 12.1.3 Linux 静默安装

Weblogic 12c 12.1.3 Linux 静默安装

1.配置java JDK路径

Weblogic 12C 要求JDK 1.7 作者使用的是 1.7.0.80

注:作者过几天又安装了weblogic 12.2.1.3 这个版本要求 jdk 1.8

在用户下.bash_profile文件追加

export JAVA_HOME=/app/weblogic/install/jdk1.7.0_80

export JRE_HOME=/app/weblogic/install/jdk1.7.0_80/jre

export PATH=JAVAHOME/bin:PATH

export CLASSPATH=.:JAVAHOME/lib/dt.jar:JAVA_HOME/lib/tools.jar

export TMPDIR=/app/weblogic/tmp

2.开始安装

Slient Mode静默方式

首先看命令的格式:

java -jar wls_121200.jar -silent -responseFile file -invPtrLoc file

-response file:响应文件

-invPtrLoc file:初始化环境文件

responseFile: 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=/app/weblogic/bea12c

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

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

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

invPtrLoc: oraInst.loc 文件内容

inst_group=weblogic

inventory_loc=/app/weblogic/install/oraInventory

开始安装 安装 wls.rsp,oraInst.loc必须指定绝对路径 java -jar fmw_12.1.3.0.0_wls.jar -silent -responseFile /home/weblogic/wls.rsp -invPtrLoc /home/weblogic/oraInst.loc

3.创建domain域

创建 create_domain.resp 文件 文件内容

read template from "/app/weblogic/bea12c/wlserver/common/templates/wls/wls.jar";

set JavaHome "/app/weblogic/install/jdk1.7.0_80";

set ServerStartMode "dev";

find Server "AdminServer" as AdminServer;

set AdminServer.ListenAddress "133.37.234.230";

set AdminServer.ListenPort "7001";

//set AdminServer.SSL.Enabled "true";

//set AdminServer.SSL.ListenPort "7002";

//create a new user find User "weblogic" as u1;

set u1.password "resconfig2015";

write domain to "/app/weblogic/bea12c/user_projects/domains/res_domain/";

// The domain name will be "demo-domain"

close template;

**进入目录 /app/weblogic/bea12c/wlserver/common/bin

./config.sh -mode=silent -silent_script=/app/weblogic/install/create_domain.resp -logfile=/app/weblogic/create_domain.log**

到此就可以去启动控制台了.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值