centos7系统Weblogic14部署安装教程

本文提供了一篇详细的CentOS7系统中Weblogic14的部署安装教程,包括安装Java环境、创建Weblogic用户、安装Weblogic、配置响应文件、执行安装、创建Domain、设置Weblogic及启动服务,最后通过用户名和密码访问Web页面。
摘要由CSDN通过智能技术生成

一、准备环境
linux操作系统
java环境
weblogic安装包

1、安装java

# tar -zxvf jdk-8u251-linux-x64.tar.gz
# cd /usr/local/
# mkdir jdk
# cd jdk/
# mv /home/jdk1.8.0_251/ .
# vim /etc/profile #添加以下内容
export JAVA_HOME=/usr/local/jdk/jdk1.8.0_251
export JRE_HOME=${
   JAVA_HOME}/jre
export CLASSPATH=.:${
   JAVA_HOME}/lib:${
   JRE_HOME}/lib
export PATH=${
   JAVA_HOME}/bin:$PATH
# source /etc/profile
# java -version
java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)

2、创建weblogic用户

# useradd weblogic
# passwd weblogic
# su - weblogic

3、安装weblogic

$ unzip fmw_14.1.1.0.0_wls_quick_Disk1_1of1.zip

4、创建loc文件和response文件

$ vim oraInst.loc
inventory_loc=/home/weblogic/oraInventory
inst_group=weblogic
$ vim 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
# Apart from the need to install the directory, there is no need to make changes in other places.
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>
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=<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=

5、执行安装脚本
安装时会进行检查,如jdk版本检查、cpu速度、交换空间大小、临时空间大小等,复制时会显示百分比进度条,时间较长,请耐心等待。

$ java -jar fmw_14.1.1.0.0_wls_quick.jar -silent -responseFile /home/weblogic/wls.rsp -invPtrLoc /home/weblogic/oraInst.loc -ignoreSysPrereqs
Launcher log file is /tmp/OraInstall2020-07-08_02-25-04AM/launcher2020-07-08_02-25-04AM.log.
Extracting the installer . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 1991.997 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 2047 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 148366 MB    Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2020-07-08_02-25-04AM
Log: /tmp/OraInstall2020-07-08_02-25-04AM/install2020-07-08_02-25-04AM.log
 
*****************************************************
 
 
Distribution Name : Oracle Fusion Middleware 14.1.1 WebLogic and Coherence Developer
Distribution Version : 14.1.1.0.0
 
Oracle Inventory : /home/weblogic/oraInventory
 
Oracle Home : /home/weblogic/wls1411
Java Home : /usr/local/jdk/jdk1.8.0_251
 
Note: Oracle Home not supplied (defaulted to <present working dir>/wls1411)
 
*****************************************************
 
Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
Reading response file..
Skipping Software Updates
Validations are enabled for this session.
Verifying data
Copying Files
 
Percent Complete : 10
Percent Complete : 20
Percent Complete : 30
Percent Complete : 40
Percent Complete : 50
Percent Complete : 60
Percent Complete : 70
Percent Complete : 80
Percent Complete : 90
Percent Complete : 100
 
The installation of Oracle Fusion Middleware 14.1.1 WebLogic and Coherence Developer 14.1.1.0.0 completed successfully.
Logs successfully copied to /home/weblogic/wls1411/cfgtoollogs/oui.

以上显示安装成功

6、创建domain域

# mkdir -p /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/

7、创建create_domain.rsp文件

$ vim create_domain.rsp
read template from "/home/weblogic/wls1411/wlserver/common/templates/wls/wls.jar";
 
set JavaHome "/usr/local/jdk/jdk1.8.0_251";
 
set ServerStartMode "dev";
 
find Server "AdminServer" as AdminServer;
 
set AdminServer.ListenAddress "";
 
  • 2
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值