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
創建域
接下來的操作同開發環境安裝步驟一致
Centos7安裝weblogic12.2.1.3.0(生產環境)