0% found this document useful (0 votes)
11 views27 pages

Oracle WebLogic Server 12c - Installing WebLogic Server and Creating A Domain

Oracle weblogic server 12c installation on linux machine

Uploaded by

Ashish Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views27 pages

Oracle WebLogic Server 12c - Installing WebLogic Server and Creating A Domain

Oracle weblogic server 12c installation on linux machine

Uploaded by

Ashish Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

Overview

Purpose

This tutorial shows you how to install Oracle WebLogic Server 12c and create a WebLogic Server domain.

Time to Complete

Approximately 1 hour

Introduction

This tutorial shows you how to install Oracle WebLogic Server 12c (12.1.3) on a Linux system by using the generic installer. The generic installer requires a Java
Developers Kit (JDK), so this tutorial first covers installing the JDK. After you install the JDK and WebLogic Server, this tutorial shows you how to use the
Configuration Wizard to create a WebLogic Server domain.

Hardware and Software Requirements

The only requirement is that your operating system must be Oracle Linux 5.6+.

Prerequisites

Before starting this tutorial, download the following to your Linux machine:

Oracle Java Developers Kit version 1.7.0_55+


Oracle WebLogic Server 12c (12.1.3) generic installer (includes Oracle Coherence)

Installing the JDK

To install the JDK, perform the following steps:

1. Extract the JDK to a directory of your choice.

a. Open a Terminal window and navigate to the directory where you want to install the JDK. For example, to navigate to the
/scratch/u01/app directory, enter the following command:

$> cd /scratch/u01/app

b. Copy (or move) the JDK file from the directory where you downloaded it to the current directory. In this tutorial, the JDK is in the
/scratch/install/jdk directory. To copy the JDK file from there into the current directory, enter the following command:

$> cp /scratch/install/jdk/jdk-7u60-linux-x64.gz -t .

Note: The name and location of your JDK file may be different.

c. Unpack the file by using the tar command:

$> tar -zxvf jdk-7u60-linux-x64.gz

The tar options are:

z: unzip
x: extract
v: verbose
f: filename

2. (Optional) Rename the JDK directory. To make the directory name more generic, use the mv command to rename it jdk.

$> mv jdk1.7.0_60 jdk

Note: The name of your JDK directory may be different.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 1/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

3. Use the rm command to erase the copied JDK file.

$> rm jdk-7u60-linux-x64.gz

Note: The name of your JDK file may be different.

Installing WebLogic Server

To install WebLogic Server, perform the following steps:

1. Run the generic installation program (the JAR file).

a. Open a Terminal window and navigate to the bin directory under the JDK directory.

$> cd /scratch/u01/app/jdk/bin

b. Run the Java virtual machine with the -jar option, calling the generic installer JAR file that you already downloaded. In this tutorial, the JAR
file is in the /scratch/install/wls12.1.3 directory. The file name is fmw_12.1.3.0.0_wls.jar.

$> ./java -jar /scratch/install/wls12.1.3/fmw_12.1.3.0.0_wls.jar

Note: The name and location of your generic installer JAR file may be different.

After the installer extracts files, it analyzes your system to see if it meets the minimum requirements (CPU speed, for example). If everything checks
out, the graphical Oracle Universal Installer starts.

2. On the Welcome screen of the installer, click Next.

3. On the Installation Location screen, enter the location for Oracle Home (or click Browse to browse to the location), and then click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 2/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

In this demonstration, Oracle Home is /scratch/u01/app/fmw.

4. On the Installation Type screen, select either WebLogic Server (it includes Coherence) or Complete with Examples, and then click Next.

In this demonstration, the selection is WebLogic Server.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 3/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

5. On the Prerequisite Checks screen, wait for all checks to complete successfully, and then click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 4/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

6. On the Security Updates screen, perform the following steps:

a. Enter your email address.


b. Select I wish to receive security updates via My Oracle Support.
c. Enter your My Oracle Support password.
d. Click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 5/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

Note: If the machine on which you are installing WebLogic Server is part of a training environment, deselect I wish to receive security updates via
My Oracle Support, and click Next. In the dialog box that opens, click Yes.

7. On the Installation Summary screen, review the installation information. If everything is acceptable, click Install.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 6/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

8. On the Installation Progress screen, wait for the progress bar to reach 100%, and then click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 7/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

9. On the Installation Complete screen, deselect Automatically Launch the Configuration Wizard, and then click Finish.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 8/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

10. Close the Terminal window that you used to launch the installer.

Creating a Domain

To create a domain by using the Configuration Wizard, perform the following steps:

1. In a Terminal window, perform the following steps:

a. Navigate to <ORACLE_HOME>/wlserver/common/bin. In this tutorial, <ORACLE_HOME> is /scratch/u01/app/fmw.


b. To run the Configuration Wizard, enter the following command:

$> ./config.sh

2. On the Configuration Type page, perform the following steps:

a. Select Create a new domain.


b. Enter a location for the domain. In this tutorial, the location is /scratch/domains/mydomain.
c. Click Next.

Note: You can choose a different name and location for your domain.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 9/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

3. On the Templates page, perform the following steps:

a. Select Create Domain Using Product Templates.


b. Leave All Templates selected for Template Categories.
c. Under Available Templates, Basic WebLogic Server Domain is selected and cannot be deselected. It is the only required template.
d. Click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 10/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

4. On the Administrator Account page, enter a name and a password, confirm the password, and then click Next.

In this tutorial, the username is weblogic and the password is Welcome1.

Important: Do not forget this username and password. You need them to perform any administrative task.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 11/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

5. On the Domain Mode and JDK page, perform the following steps:

a. Under Domain Mode, select Production.


b. Under JDK, select Oracle HotSpot. The version of your HotSpot JDK may be different.
c. Click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 12/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

6. On the Advanced Configuration page, select which domain resources that you want to configure, and then click Next.

In this tutorial, Administration Server, Node Manager, and Managed Servers, Clusters and Coherence are selected.

As you select more options, more screens are listed on the left side of the wizard.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 13/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

7. On the Administration Server page, perform the following steps:

a. Leave the default value for Server Name.


b. Enter the host name or IP address of the machine for Listen Address.
c. Leave the Listen Port at 7001.
d. Leave Enable SSL deselected.
e. Click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 14/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

8. On the Node Manager page, perform the following steps:

a. Node Manager Type: Leave the default value of Per Domain Default Location.
b. Node Manager Credentials: Enter weblogic for the username and Welcome1 for the password. You will use these credentials to
communicate with Node Manager.

Note: The credentials for Node Manager do not have to match the administrator account credentials.

c. Click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 15/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

9. On the Managed Servers page, click Add to display a row in the table.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 16/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

10. In the new row, enter the following information:

a. Enter server1 for the Server Name.


b. Enter the host name or IP address of the machine for the Listen Address.
c. Ensure that the Listen Port is 7003.
d. Leave Enable SSL deselected.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 17/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

11. Click Add to display another row. In the new row, enter the following information:

a. Enter server2 for the Server Name.


b. Enter the host name or IP address of the machine for the Listen Address.
c. Enter 7005 for the Listen Port.
d. Leave Enable SSL deselected.
e. Click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 18/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

12. On the Clusters page, click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 19/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

13. On the Machines page, perform the following steps:

a. Select the Machine tab.


b. Click Add.
c. In the new row, enter machine1 for the Name.
d. Enter the host name or IP address of the machine for the Node Manager Listen Address.
e. Leave the Node Manager Listen Port as 5556.
f. Click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 20/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

14. On the Assign Servers to Machines page, perform the following steps:

a. Under Machines, ensure that machine1 is selected.


b. Under Servers, select server1 and click the right arrow button to move it under machine1.
c. Select server2 and click the right arrow button to move it under machine1.
d. Click Next.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 21/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

15. On the Configuration Summary page, click Create.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 22/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

16. On the Configuration Progress page, click Next after the progress bar reaches 100%.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 23/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

17. On the Configuration Success page, make note of the domain location and the URL of the administration console, and then click Finish.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 24/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

You have created a WebLogic Server domain.

Viewing the Domain Files

To view the directory structure and files for the newly created domain, perform the following steps:

1. Open a Terminal window and enter the following commands:

$> cd /scratch/domains/mydomain
$> ls

Note: If you placed the domain in a different location, use that directory instead.

2. To start the administration server of the domain, enter the following command from the domain directory:

$> ./startWebLogic.sh

3. At the prompt, enter a username and password. Use the administrator username and password that you entered when you created the domain.

Note: The password is not displayed.

4. As the script continues to run, look for the following message: <Notice> The server started in RUNNING mode.

The message means that the administration server is up and running.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 25/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

Accessing the Administration Console

To access the WebLogic Server administration console, perform the following steps:

1. Open a web browser and enter the following URL: http://hostname:port/console.

In this tutorial, the URL is http://<ip_address>:7001/console.

Note: Use your administration server machine's host name or IP address for <ip_address>.

2. On the Welcome screen, enter the administrator username and password and click Login.

Note: Use the username and password that you used to start the administration server.

The home page of the administration console is displayed.

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 26/27
7/1/25, 2:15 PM Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain

Summary

In this tutorial, you learned how to:

Install the JDK


Install Oracle WebLogic Server 12c
Create a WebLogic Server domain

Resources

For documentation on Oracle WebLogic Server 12c (12.1.3), visit the Oracle WebLogic Server Documentation Library.
For more information on installing Oracle WebLogic Server 12c (12.1.3), see Installing and Configuring Oracle WebLogic Server and Coherence.
To learn more about Oracle WebLogic Server, refer to additional OBEs in the Oracle Learning Library. The next suggested tutorial is titled Oracle
WebLogic Server 12c: Configuring Managed Servers.

Credits

Lead Curriculum Developer: Bill Bell


Original Oracle by Example tutorial for version 11g created by: TJ Palazzolo
Editor: Susan Moxley

https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/wls/12c/12_1_3/01/installwls.html 27/27

You might also like