Oracle WebLogic Server 12c
Oracle WebLogic Server 12c
Overview
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
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.
z: unzip
x: extract
v: verbose
f: filename
(Optional) Rename the JDK directory. To make the directory name more generic, use the mv command to rename it jdk.
$> rm jdk-7u60-linux-x64.gz
Open a Terminal window and navigate to the bin directory under the JDK directory.
$> cd /scratch/u01/app/jdk/bin
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.
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.
On the Installation Location screen, enter the location for Oracle Home (or click Browse to browse to the location), and then click Next.
In this demonstration, Oracle Home is /scratch/u01/app/fmw.
On the Installation Type screen, select either WebLogic Server (it includes Coherence) or Complete with Examples, and then
click Next.
On the Prerequisite Checks screen, wait for all checks to complete successfully, and then click Next.
On the Security Updates screen, perform the following steps:
Click Next.
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.
On the Installation Summary screen, review the installation information. If everything is acceptable, click Install.
On the Installation Progress screen, wait for the progress bar to reach 100%, and then click Next.
On the Installation Complete screen, deselect Automatically Launch the Configuration Wizard, and then click Finish.
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:
$> ./config.sh
Enter a location for the domain. In this tutorial, the location is /scratch/domains/mydomain.
Click Next.
Note: You can choose a different name and location for your domain.
On the Templates page, perform the following steps:
Under Available Templates, Basic WebLogic Server Domain is selected and cannot be deselected. It is the only required template.
Click Next.
On the Administrator Account page, enter a name and a password, confirm the password, and then click Next.
Important: Do not forget this username and password. You need them to perform any administrative task.
On the Domain Mode and JDK page, perform the following steps:
Click Next.
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.
Click Next.
Node Manager Type: Leave the default value of Per Domain Default Location.
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.
Click Next.
On the Managed Servers page, click Add to display a row in the table.
Click Add to display another row. In the new row, enter the following information:
Enter the host name or IP address of the machine for the Listen Address.
Click Next.
On the Clusters page, click Next.
Click Add.
Click Next.
Under Servers, select server1 and click the right arrow button to move it under machine1.
Select server2 and click the right arrow button to move it under machine1.
Click Next.
On the Configuration Summary page, click Create.
On the Configuration Progress page, click Next after the progress bar reaches 100%.
On the Configuration Success page, make note of the domain location and the URL of the administration console, and then click Finish.
To view the directory structure and files for the newly created domain, perform the following steps:
$> cd /scratch/domains/mydomain
$> ls
Note: If you placed the domain in a different location, use that directory instead.
To start the administration server of the domain, enter the following command from the domain directory:
$> ./startWebLogic.sh
At the prompt, enter a username and password. Use the administrator username and password that you entered when you created the
domain.
As the script continues to run, look for the following message: <Notice> The server started in RUNNING mode.
To access the WebLogic Server administration console, perform the following steps:
Note: Use your administration server machine's host name or IP address for <ip_address>.
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.
Summary