Skip to main content

Weblogic 12c Installation and Domain setup

INTRODUCTION 
This post describes the installation of the WebLogic Server Version 12.2.1.3 on Linux Version 6 and 7.
The following tasks are performed and described:
  • Preparing the Operating System for the installation of the WebLogic Server 12.2.1.3
  • Installation JDK 1.8 and the WebLogic Server 12.2.1.3
Pre-Installation Tasks
Step 1# Download the Weblogic Server 12c software from Oracle Technology Network.


Step 2# The following actions should be performed by the "root" user.
Create a new group and user (you can create your own custom user & group)
#groupadd -g 501 oinstall
#useradd -u 501 -g oinstall oracle
#passwd oracle

Step 3# Create the directories in which the Oracle software will be installed.
#mkdir -p /u01/app/oracle/Middleware/Oracle_Home
#chown -R oracle:oinstall /u01
#chmod -R 775 /u01


Oracle WebLogic Server Directory Structure
Weblogic 12c Installation and Domain setup
Step 4# Append the following entries into the "/home/oracle/.bash_profile" file.
# Adjust paths as your requirement.
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/Middleware/Oracle_Home
export MW_HOME=$ORACLE_HOME export WLS_HOME=$MW_HOME/wlserver
export JAVA_HOME=/u01/app/oracle/jdk1.8.0_151 export PATH=$JAVA_HOME/bin:$PATH



Step 5# Make sure the "/etc/hosts" file contains correct entries for both the "localhost" and real host names.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
xx.xx.xx.xx myweblogic12c.localdomain myweblogic12c

e.g. -
192.168.1.1 myweblogic12c.localdomain myweblogic12c

 

Step 6# Set the OS Limits (as root) for open files and open process.
#Add following rows to the file /etc/security/limits.conf:
* soft nofile 4096
* hard nofile 65536
* soft nproc 2047
* hard nproc 16384

#Add following rows to the file /etc/security/limits.d/90-nproc.conf:
# From
* soft nproc 1024 

#To
* - nproc 16384
 

Step 7# Install the JDK.
# su -l oracle
$ cd $ORACLE_BASE
$ cp /home/oracle/Downloads/jdk-8u151-linux-x64.tar.gz .
$ tar -xzvf jdk-8u151-linux-x64.tar.gz
$ source /home/oracle/.bash_profile


Step 8# Installation
Run the installer as the "oracle" user.
Go to the downloads directory (here we assuming weblogic12c downloaded on Downloads directory).
$ cd ~/Downloads
$ java -jar fmw_12.2.1.3 .0_wls.jar

 

If this is is the first installation on the machine you will need to specify an inventory location. Enter the inventory location, like "/u01/app/oraInventory" and click the "OK" button.
Click the "Next" button on the welcome screen.
Weblogic 12c Installation and Domain setup
Select the "Skip Auto Updates" options, then click the "next" button.
Weblogic 12c Installation and Domain setup
Enter the middleware home ("/u01/app/oracle/product/12.2.1") and click the "Next" button.
Weblogic 12c Installation and Domain setup
Accept the "Fusion Middleware Infrastructure" option by clicking the "Next" button.
Weblogic 12c Installation and Domain setup

Wait for the prerequisite checks to complete. If there are failures, correct them and rerun the checks. If there are no failures, click the "Next" button. 
Weblogic 12c Installation and Domain setup
Either enter your support details, or uncheck the security updates checkbox. Click the "Next" button. If you chose not to receive security updates, click the "Yes" button on the warning dialog.
Weblogic 12c Installation and Domain setup
If you are happy with the summary information, click the "Install" button.
Weblogic 12c Installation and Domain setup
Wait for the installation to complete, then click the "Next" button.
Weblogic 12c Installation and Domain setup
On the installation complete screen, click the "Finish" button to launch the Configuration Wizard.
Weblogic 12c Installation and Domain setup
The Installation Fusion Middleware Infrastructure 12.2.1.1.0 is now completed.
Create Domain
Launch the Configuration Wizard with the following command.
$ $ORACLE_HOME/oracle_common/common/bin/config.sh
Accept the "Create a new domain" option, enter the domain name at the end of the "Domain Location", then click the "Next" button. In this case my domain was called "mydomain", so the path I used was "/u01/app/oracle/config/domains/mydomain".

Weblogic 12c Installation and Domain setup
Select the required product template and click the "Next" button.

Weblogic 12c Installation and Domain setup
Enter the administrator credentials and click the "Next" button.
Weblogic 12c Installation and Domain setup
Enter the domain mode and JDK details, then click the "Next" button.
Weblogic 12c Installation and Domain setup
Select any required advanced configuration options. For this example I ignored the advanced configuration. Click the "Next" button.
Weblogic 12c Installation and Domain setup
If you are happy with the configuration summary screen, click the "Create" button.
Weblogic 12c Installation and Domain setup
Once the domain is created, click the "Next" button.
Weblogic 12c Installation and Domain setup
Make a note of the Admin Server URL and click the "Finish" button.
Weblogic 12c Installation and Domain setup

Post-Installation
If you chose the "Production Mode" options for the domain, you will need to create a "boot.properties" file for the scripts referred to later to work without credentials. Adjust the DOMAIN_HOME and credentials appropriately.
$ export DOMAIN_HOME=$ORACLE_BASE/config/domains/mydomain $ mkdir -p $DOMAIN_HOME/servers/AdminServer/security $ echo "username=weblogic" > $DOMAIN_HOME/servers/AdminServer/security/boot.properties
$ echo "password=Password1" >> $DOMAIN_HOME/servers/AdminServer/security/boot.properties


The "$ORACLE_BASE/config/domains/mydomain" directory now contains a script that can be used to start the server. Remember to use the "&" if you want access to the commandline to be returned.
$ $DOMAIN_HOME/startWebLogic.sh &
Once the server is started you can access the administrator console using the "http://hostname:port/console" URL. Log in using the username and password provided in the previous step.

Weblogic 12c Installation and Domain setup



Comments

Post a Comment

Popular posts from this blog

How to configure a Datasource in JBoss / WildFly as a JAR Deployment

JDBC drivers can be installed as a JAR deployment using either the management CLI or the management console. As long as the driver is JDBC 4-compliant, it will automatically be recognized and installed as a JDBC driver upon deployment. 1. Download the appropriate JDBC driver from your database vendor. 2. Start the JBoss EAP/WildFly server. 3. Now most of the drivers coming with JDBC 4-compliant, but in case If the JDBC driver JAR is not JDBC 4-compliant, it can be made deployable using the following steps. i) Create a directory structure META-INF/services on your local system. $ mkdir -p META-INF/services    ii) Create a file inside META-INF/services/java.sql.Driver. $ touch META-INF/services/java.sql.Driver   iii) Add one line in the file to indicate the fully-qualified class name of the JDBC driver. $ echo “com.mysql.jdbc.Driver” > META-INF/services/java.sql.Driv...

Shift your Data into Virtualization

A single approach to data management that allows an application or user to retrieve and manipulate data without knowing any technical details about the data. That approach called Data Virtualization. Data Virtualization is different than traditional virtualization like - VMWare, Hypervisor, KVM, etc. because we already learned how to do virtualization of OS, Hardware and Storage, now time to add some more into virtualization, which is DATA. What is Data Virtualization? Data virtualization is a single window used to describe any approach to data management that allows an application to retrieve and manipulate data without requiring technical details about the data, such as how it is formatted, or where it is physically located. Why use Data Virtualization? Data virtualization promotes efficiency in data usage and processing and accelerates time to market on projects with complex data storage infrastructure. The purpose is to allow data to be accessed without creating extra ...

How to Install JBOSS EAP 7.0.0 on RHEL6.5/CentOS6.5 – a step by step tutorial of INSTALLER Installation

INTRODUCTION In this tutorial, we will demonstrate how to install and start a JBoss EAP 7.0.0 server on RHEL 6.5/CentOS 6.5. We use Oracle JDK 8 for this tutorial. This Tutorial Consists Of The Following Steps: Step 1: Download installer link Step 2: JDK installation and verification Step 3 to Step 14: JBoss EAP 7 installation procedure using INSTALLER Installation Step 15: Start Jboss EAP 7 server Red Hat JBoss EAP 7.0 is based on Wildfly 10 , and provides pre-configured options for features such as high-availability clustering, messaging, and distributed caching. And it is an application server that works as a middleware platform, is built on open standards, and is compliant with the Java EE 7 specification. Step 1: Download the installer from: https://developers.redhat.com/products/eap/download/ Select the EAP 7.0.0 (Developers version) from the list. Click on Installer option within Download column. For Linux/ Windows/Mac...