Weblogic Setup on VM

Weblogic Setup on VM machine POC:
1 – Set Proxy:
2 – curl -s https://raw.githubusercontent.com/typekpb/oradown/master/oradown.sh | bash -s — –cookie=accept-weblogicserver-server –username=oracle_support_e-mail –password=XXXXX http://download.oracle.com/otn/nt/middleware/12c/12212/fmw_12.2.1.2.0_wls_Disk1_1of1.zip

1 – create user wls:wls
2 – get jdk:
wget –no-cookies –no-check-certificate –header “Cookie: gpw_e24=http%3a%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjdk8-downloads-2133151.html; oraclelicense=accept-securebackup-cookie;” “https://download.oracle.com/otn-pub/java/jdk/8u191-b12/2787e4a523244c269598db4e85c51e0c/jdk-8u191-linux-x64.tar.gz”

3 – /storage/wls
ln -s jdk1.8.0_191 jdk
vi .bash_profile
PATH=$PATH:$HOME/.local/bin:$HOME/bin:/storage/wls/jdk/bin

4 —
mkdir /storage/wls/oraInventory

$ cat /storage/wls/oraInst.loc
inventory_loc=/storage/wls/oraInventory
inst_group=wls

java -jar fmw_12.2.1.3.0_wls.jar -silent -responseFile /storage/wls/wls.rsp -invPtrLoc /storage/wls/oraInst.loc -ignoreSysPrereqs
java -jar fmw_12.2.1.3.0_wls.jar -silent -responseFile

Now wls installed in both servers:
COnfigure DOmain now https://docs.oracle.com/en/middleware/lifecycle/12.2.1.3/wldcw/creating-weblogic-domain.html#GUID-CD179827-4696-48F8-BD39-22099432D860
offline: https://www.oracle.com/pls/topic/lookup?ctx=en/middleware/lifecycle/12.2.1.3/wldcw&id=WLSTG157

$ORACLE_HOME/oracle_common/common/bin/wlst.sh

Read the template to use for creating the domain

readTemplate(‘oracle_home/middleware/wlserver/common/templates/wls/wls.jar’)

Set the listen address and listen port for the Administration Server

cd(‘Servers/AdminServer’)
set(‘ListenAddress’,”)
set(‘ListenPort’, 7001)

Enable SSL on the Administration Server and set the SSL listen address and

port

create(‘AdminServer’,’SSL’)
cd(‘SSL/AdminServer’)
set(‘Enabled’, ‘True’)
set(‘ListenPort’, 7002)

Set the domain password for the WebLogic Server administration user

cd(‘/’)
cd(‘Security/base_domain/User/adminusername’)
cmo.setPassword(‘adminpassword’)

If the domain already exists, overwrite the domain

setOption(‘OverwriteDomain’, ‘true’)

write the domain and close the template

writeDomain(‘/domains/mydomain’)
closeTemplate()

exit()

Leave a Reply

Your email address will not be published. Required fields are marked *