Centos7安装weblogic12.2.1.3.0(生产环境)

 

下载压缩包

fmw_12.2.1.3.0_wls_Disk1_1of1.zip

创建用户组及用户

groupadd weblogic

useradd -g weblogic01 weblogic

创建安装目录

cd

mkdir weblogic12c

配置安装环境

vi ~/.bash_profile

export JAVA_HOME=/home/arvin/app/jdk/jdk1.8.0_171

export PATH=$JAVA_HOME/bin:$PATH

export MW_HOME=/home/weblogic01/weblogic12c

使配置生效

source ~/.bash_profile创建oraInst.loc文件

解压压缩包

fmw_12.2.1.3.0_wls_Disk1_1of1.zip

对于LINUX用户来说,如果这是第一次安装Oracle的产品,你必须先创建oraInst.loc文件

vi oraInst.loc

 

inventory_loc=/home/weblogic01 /oraInventory

inst_group=weblogic

创建响应文件wls.rsp

vi 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/weblogic01/weblogic12c

 

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

执行静默安装命令

java -jar /home/weblogic01/fmw_12.2.1.3.0_wls.jar -silent -responseFile /home/weblogic01/wls.rsp -invPtrLoc /home/weblogic01/oraInst.loc

创建域

接下来的操作同开发环境安装步骤一致

posted @ 2018-07-05 18:00  Sarvin  阅读(2661)  评论(0编辑  收藏  举报