Search This Blog

Wednesday, 20 January 2021

Weblogic 14c Installation Lab GUI Mode on Linux (CentOS)

 

List of the installation binaries required for Lab setup:

1) Oracle VirtualBox

https://download.virtualbox.org/virtualbox/6.1.16/VirtualBox-6.1.16-140961-Win.exe

2) CentOS

https://download.virtualbox.org/virtualbox/6.1.16/VirtualBox-6.1.16-140961-Win.exe

3) Putty

https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.74-installer.msi

4) Winscp

https://winscp.net/download/WinSCP-5.17.9-Setup.exe

5) X11

http://sourceforge.net/project/downloading.php?group_id=156984&filename=Xming-6-9-0-31-setup.exe

6) JDK 11

https://www.oracle.com/java/technologies/javase-jdk11-downloads.html#license-lightbox

7) Weblogic 14c

https://www.oracle.com/middleware/technologies/fusionmiddleware-downloads.html#license-lightbox

Credentials to login to the CentOS machines

Username: osboxes
Password: osboxes.org
Root Account Password: osboxes.org

Step 1) Install Virtual Box , Cent OS and create 3 virtual machines called master , machine1 and machine2. We are going to use machine1 and machine2 for weblogic installation and domain creation. master for apache installation and redirection later. 

Follow the instructions to install virtual box from the below URL.

http://middlewareadmin-pavan.blogspot.com/2021/01/install-centos-machines-and-establish.html

Step 2) Install X11 software on windows by following the instructions below:

http://middlewareadmin-pavan.blogspot.com/2021/01/xming-installation-guide.html

Step 3) Install Putty software on windows by following the instructions below:

http://middlewareadmin-pavan.blogspot.com/2021/01/putty-installation-guide.html

Step 4) Install WinScp software on windows by following the instructions below:

http://middlewareadmin-pavan.blogspot.com/2021/01/winscp-installation-guide.html

Step 5) Install X11 apps on linux machine and connect to the xming on windows by running xclock command

On Machine1:

a) Check if the below package is available

[osboxes@machine1 ~]$ rpm -qa | grep xorg-x11-apps

b) If the xorg-x11-apps is not available then install using yum or rpm commands.

[root@machine1 ~]# yum install -y *x11*
[root@machine1 ~]# yum update -y 

[root@machine1 ~]# yum install -y xorg-x11-apps

No match for argument: xorg-x11-apps

c) If you get the above error message while installing using yum command then download the package and install using rpm

[root@machine1 ~]# wget https://rpmfind.net/linux/centos/8.3.2011/PowerTools/x86_64/os/Packages/xorg-x11-apps-7.7-21.el8.x86_64.rpm
--2021-01-20 07:24:33--  https://rpmfind.net/linux/centos/8.3.2011/PowerTools/x86_64/os/Packages/xorg-x11-apps-7.7-21.el8.x86_64.rpm
Resolving rpmfind.net (rpmfind.net)... 195.220.108.108
Connecting to rpmfind.net (rpmfind.net)|195.220.108.108|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 341844 (334K) [application/x-rpm]
Saving to: ‘xorg-x11-apps-7.7-21.el8.x86_64.rpm’

xorg-x11-apps-7.7-21.el8.x86_64.rpm                         100%[========================================================================================================================================>] 333.83K   633KB/s    in 0.5s

2021-01-20 07:24:35 (633 KB/s) - ‘xorg-x11-apps-7.7-21.el8.x86_64.rpm’ saved [341844/341844]

[root@machine1 ~]# rpm -i xorg-x11-apps-7.7-21.el8.x86_64.rpm


d) Exit from the root user and login as osboxes user using putty by following the instructions








Save this machine information on putty for next login.

e) Make sure Xming Server is running on your windows machine and Run xclock command on linux machine1 and you should see a clock display on your windows PC. You might have to reboot the machine if you still get an error while connecting to xclock



Step 6) Download JDK11 & Weblogic 14c and move the files from windows to CentOS machine1 using WinScp tool.



Step 7) Install JDK11

a) Extract JDK 11

[osboxes@machine1 ~]$ tar -zxvf jdk-11.0.9_linux-x64_bin.tar.gz

b) Setup JAVA_HOME

[osboxes@machine1 ~]$ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs
export JAVA_HOME=/home/osboxes/jdk-11.0.9
export PATH=$JAVA_HOME/bin:$PATH

c) Execute .bash_profile

[osboxes@machine1 ~]$ . .bash_profile
[osboxes@machine1 ~]$

d) Validate the java version

[osboxes@machine1 ~]$ java -version
java version "11.0.9" 2020-10-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.9+7-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.9+7-LTS, mixed mode)

e) Extract weblogic Generic Jar file and Install.

Note: Refer the link for different Installers available for weblogic 14c. We have chosen Generic Installer for this Lab

[osboxes@machine1 ~]$ unzip fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip
Archive:  fmw_14.1.1.0.0_wls_lite_Disk1_1of1.zip
  inflating: fmw_14.1.1.0.0_wls_lite_generic.jar

[osboxes@machine1 ~]$ java -jar fmw_14.1.1.0.0_wls_lite_generic.jar
Launcher log file is /tmp/OraInstall2021-01-20_08-47-36AM/launcher2021-01-20_08-47-36AM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . Done
Checking if CPU speed is above 300 MHz.   Actual 2893.312 MHz    Passed
Checking monitor: must be configured to display at least 256 colors.   Actual 16777216    Passed
Checking swap space: must be greater than 512 MB.   Actual 9215 MB    Passed
Checking temp space: must be greater than 300 MB.   Actual 231508 MB    Passed
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2021-01-20_08-47-36AM
















Select Automatically Launch the Configuration Wizard to create a new weblogic domain. 

Refer the below Link for Domain Creation Steps:



No comments: