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.
Accept the "Fusion Middleware Infrastructure" option by clicking 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.
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.
No comments:
Post a Comment