weblogic 12c 静默安装

前期准备

.新建用户组 weblogic

[root@edwcube3 ~]#
[root@edwcube3 ~]# groupadd weblogic
[root@edwcube3 ~]#

2.新建用户weblogic 并修改用户密码

[root@edwcube3 ~]#
[root@edwcube3 ~]# useradd -g weblogic weblogic //添加用户,并用-g参数来制定 web用户组
[root@edwcube3 ~]
[root@edwcube3 ~]# passwd weblogic //passwd命令修改密码
Changing password for user weblogic.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@edwcube3 ~]#
[root@edwcube3 ~]#
在这里插入图片描述
3.如果没有安装jdk的话,还需要安装jdk
从官网下载即可 这里不再赘述。

开始安装

Slient Mode静默方式

首先看命令的格式:

java -jar fmw_12.1.3.0.0_wls.jar -silent -responseFile file -invPtrLoc file

-response file:响应文件
创建响应文件 wls.rsp [响应文件中的项一定要写全,否则会报参数不足等错误]
在这里插入图片描述

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/weblogic/Oracle/Middleware
	
	#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=

-invPtrLoc file:初始化环境文件

在这里插入图片描述

inventory_loc=/home/weblogic/oraInventory

inst_group=weblogic

保证所需要得目录weblogic用户要用读写权限

/ghca/bea文件用户weblogic必须要有读写权限

oraInst.loc,wls.rsp,fmw_12.1.3.0.0_wls.jar 文件用户weblogic必须要有读写权限

安装 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

$ java -jar fmw_12.1.3.0.0_wls.jar -silent -responseFile /home/weblogic/wls.rsp -invPtrLoc /home/weblogic/oraInst.loc
在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值