Sunday, February 14, 2021

Weblogic 12.2.1.4.0 installation with console mode (without GUI) on Linux + ADF 12c

If you are installing Weblogic in remote server, direct java installation will not go to console mode after it fails Display check. After version 12.2.1.2.0 -mode=console option was taken out ("stupid decision").

I assume you already completed the followings:

1. Install JDK 8 (let's say JAVA_HOME is under /opt/app/java/jdk)

2. Download fmw_12.2.1.4.0_wls.jar from oracle.com

3. Copy the file into /opt/app/install/12c


Now, you need to do as followings:

1) Create Home directory:

mkdir /opt/app/12c/middleware

2) Create response file:

cd /opt/app/install/12c

vi myrsp.rsp

ORACLE_HOME=/opt/app/12c/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

:wq

3) Create Inventory file:

vi oraInst.loc

inventory_loc=/opt/app/12c/inventory
inst_group=mygroup

:wq

4) Define Java home:

 JAVA_HOME=/opt/app/java/jdk

5) Run installer:

$JAVA_HOME/bin/java -d64 -jar fmw_12.2.1.4.0_wls.jar -silent -responseFile /opt/app/install/12c/myrsp.rsp -invPtrLoc /opt/app/install/12c/oraInst.loc


It should show you "The installation of Oracle ...... 12.2.1.4.0 completed successfully."


ADF

Now, if you want to install ADF (Application Runtime) 12c, you can do followings:

1) Download fmw_12.2.1.4.0_infrastructure.jar

2) Prepare response file:

cd /opt/app/install/12c

cp myrsp.rsp adf.rsp

vi adf.rsp

[ENGINE]
Response File Version=1.0.0.0.0
[GENERIC]
#types: SOFTWARE ONLY TYPE,BASIC TYPE and ADVANCED TYPE.
ADVANCED TYPE=true
INSTALL_TYPE=Fusion Middleware Infrastructure
ORACLE_HOME=/opt/app/12c/middleware
MW_HOME=/opt/app/12c/middleware
#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

:wq

3) Run installer:

$JAVA_HOME/bin/java -d64 -jar fmw_12.2.1.4.0_infrastructure.jar -silent -responseFile /opt/app/install/12c/adf.rsp -invPtrLoc /opt/app/install/12c/oraInst.loc

It should show you "The installation of Oracle ...... 12.2.1.4.0 completed successfully."








No comments:

Post a Comment