Monday, October 14, 2024

Oracle WebLogic Server 12cR2 (12.2.1) Installation on Oracle Linux (OL7u9)

Before initiating the installation of the WebLogic server, it would be helpful to review the article - Oracle WebLogic Server Overview to understand the terminologies and concepts of Oracle WebLogic Server.

Please note: This article assumes that you have an existing machine with Oracle Linux 7.9 installed and the required software downloaded, as mentioned in the prerequisite section.

Pre-requisites:

  • Download and install JDK1.8 (1.8.0_241)
  • Download Weblogic 12.2.1.4 (fmw_12.2.1.4.0_infrastructure.jar)
  • Create a new group 'dba' and 'oracle' user
  • Create the required directories and set the following environment variables
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/12.2.1
export MW_HOME=$ORACLE_HOME
export WLS_HOME=$MW_HOME/wlserver
export WL_HOME=$WLS_HOME
export DOMAIN_BASE=/u01/app/oracle/config/domains
export DOMAIN_HOME=$DOMAIN_BASE/mydomain
export JAVA_HOME=/u01/app/oracle/jdk18_241
export PATH=$JAVA_HOME/bin:$PATH
  • create /etc/oraInst.loc and add the following line in /etc/oraInst.loc 
inventory_loc=/u01/app/oraInventory

Installation:

Run the installer as the "oracle" user.
$ java -jar fmw_12.2.1.4.0_infrastructure.jar

Click the "Next" button on the welcome screen.


Select the "Skip Auto Updates" option, then click the "next" button.


Enter the middleware home and click the "Next" button.



Accept the "Fusion Middleware Infrastructure" option by clicking the "Next" button.


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.



Either enter your support details or uncheck the security updates checkbox. Click the "Next" button.  On the warning dialog, click the "Yes" button.


Review the summary information, and click the "Install" button.



Wait for the installation, then click the "Next" button.



On the installation complete screen, click the "Finish" button to launch the Configuration Wizard.

Creating WebLogic Domain

Launch the Configuration Wizard with the following command:
$ $ORACLE_HOME/oracle_common/common/bin/config.sh

Select the "Create a new domain" option, enter the domain name at the end of the "Domain Location", then click the "Next" button.



Select the required product template and click the "Next" button.



Enter the weblogic credentials and click the "Next" button.



Select domain mode as "Production" and JDK details, then click the "Next" button.



Select any required advanced configuration options. 



Review the configuration summary screen, and click the "Create" button.



Once the domain is created, click the "Next" button.

Please make sure to remember the Admin Server URL and then click the "Finish" button.

Once the server is started you can access the administrator console using the URL "http://hostname:port/console".


Hope this article will be helpful.

No comments:

Post a Comment

Some Most Popular Articles