Before You Begin
Purpose
Using the WebLogic Server 12c (12.2.1) Quick Installer provides a non-GUI installation for development and testing.
Time to Complete
Approximately 10 minutes.
Introduction
The WebLogic Server 12c (12.2.1) Quick Installer is a Java Archive that you install by simply executing Java using the Quick Installer archive. The WebLogic Server 12c (12.2.1) Supplemental Java Archive also provides demonstrations of Java Platform, Enterprise Edition (Java EE) features, a sample application, and additional WebLogic Server application program interface (API) examples.
What Do You Need?
Before starting this tutorial, you should have:
- A Linux development machine with sufficient CPU, memory, and hard disk space.
- Sufficient hardware to run WebLogic Server (For details, see the list of certified platforms.)
- Java Development Kit (JDK 1.8) on the
development machine - this tutorial uses JDK 1.8
release 60, installed in
/u01/jdk1.8.0_60
. - Access to Oracle Technology Network to download the WebLogic Server 12.2.1 Quick Installer and Supplemental Quick Installer.
Downloading the WebLogic Server Quick Installer and Supplemental Archive
-
Open a browser and navigate to http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-for-dev-1703574.html.
-
On the Downloads tab, click Accept License Agreement, and then click Quick Installer for Mac OSX, Windows, and Linux.
The site may prompt you for your Oracle Technology Network (OTN) user name and password.
-
Log in to Oracle Technology Network and save the wls_quick1221_generic.jar file to your local file system - this tutorial uses the
/u01
directory. - Save the wls_supplemental_quick1221_generic.jar file to your local file system - this
tutorial uses the
/u01
directory.
Installing WebLogic Server using the Quick Installer
-
Open a secure shell terminal session to the Linux development machine and login as the
oracle
user. - Change to the directory that contains the quick
installer archive:
[oracle@ol71 ~]$ cd /u01
- Export JAVA_HOME:
[oracle@ol71 u01]$ export JAVA_HOME=/u01/jdk1.8.0_60
- Execute the quick installer:
After starting the quick installer, it performs prerequisite checks and proceeds with the installation:[oracle@ol71 u01]$ /u01/jdk1.8.0_60/bin/java -jar ~/WLS1221-Stage19/wls_quick1221_generic.jar ORACLE_HOME=/u01/wls12210
Launcher log file is /tmp/OraInstall2015-08-31_03-24-00PM/launcher2015-08-31_03-24-00PM.log. Extracting files.... Starting Oracle Universal Installer Checking if CPU speed is above 300 MHz. Actual 3199.902 MHz Passed Checking swap space: must be greater than 512 MB. Actual 16127 MB Passed Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required) Checking temp space: must be greater than 300 MB. Actual 605636 MB Passed Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2015-08-31_03-24-00PM Log: /tmp/OraInstall2015-08-31_03-24-00PM/install2015-08-31_03-24-00PM.log Setting ORACLE_HOME to /u01/wls12210 ***************************************************** Distribution Name : Oracle Fusion Middleware 12c WebLogic and Coherence Developer Distribution Version : 12.2.1.0.0 Oracle Inventory : /home/oracle/oraInventory Oracle Home : /u01/wls12210 Java Home : /u01/jdk1.8.0_60 ***************************************************** Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved. Skipping Software Updates Starting check : CertifiedVersions Expected result: One of oracle-6,oracle-7,redhat-7,redhat-6,SuSE-11 Actual Result: oracle-7 Check complete. The overall result of this check is: Passed CertifiedVersions Check: Success. Starting check : CheckJDKVersion Expected result: 1.8.0_40 Actual Result: 1.8.0_60 Check complete. The overall result of this check is: Passed CheckJDKVersion Check: Success. Validations are enabled for this session. Verifying data Copying Files Percent Complete : 10 Percent Complete : 20 Percent Complete : 30 Percent Complete : 40 Percent Complete : 50 Percent Complete : 60 Percent Complete : 70 Percent Complete : 80 Percent Complete : 90 Percent Complete : 100 The installation of Oracle Fusion Middleware 12c WebLogic and Coherence Developer 12.2.1.0.0 completed successfully. Logs successfully copied to /u01/wls12210/cfgtoollogs/oui.
Installing the WebLogic Server Supplemental Archive
-
In the same secure shell terminal session, execute the supplemental archive installer:
After starting the supplemental installer, it performs prerequisite checks and proceeds with the installation:[oracle@ol71 u01]$ /u01/jdk1.8.0_60/bin/java -jar ~/WLS1221-Stage19/wls_supplemental_quick1221_generic.jar ORACLE_HOME=/u01/wls12210
Launcher log file is /tmp/OraInstall2015-08-31_03-27-34PM/launcher2015-08-31_03-27-34PM.log. Extracting files.... Starting Oracle Universal Installer Checking if CPU speed is above 300 MHz. Actual 3015.722 MHz Passed Checking swap space: must be greater than 512 MB. Actual 16127 MB Passed Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required) Checking temp space: must be greater than 300 MB. Actual 605624 MB Passed Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2015-08-31_03-27-34PM Log: /tmp/OraInstall2015-08-31_03-27-34PM/install2015-08-31_03-27-34PM.log Setting ORACLE_HOME to /u01/wls12210 ***************************************************** Distribution Name : Oracle Fusion Middleware 12c WebLogic and Coherence Developer Supplemental Distribution Version : 12.2.1.0.0 Oracle Inventory : /home/oracle/oraInventory Oracle Home : /u01/wls12210 Java Home : /u01/jdk1.8.0_60 ***************************************************** Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved. Skipping Software Updates Starting check : CertifiedVersions Expected result: One of oracle-6,oracle-7,redhat-7,redhat-6,SuSE-11 Actual Result: oracle-7 Check complete. The overall result of this check is: Passed CertifiedVersions Check: Success. Starting check : CheckJDKVersion Expected result: 1.8.0_40 Actual Result: 1.8.0_60 Check complete. The overall result of this check is: Passed CheckJDKVersion Check: Success. Validations are enabled for this session. Verifying data Copying Files Percent Complete : 10 Percent Complete : 20 Percent Complete : 30 Percent Complete : 40 Percent Complete : 50 Percent Complete : 60 Percent Complete : 70 Percent Complete : 80 Percent Complete : 90 Percent Complete : 100 The installation of Oracle Fusion Middleware 12c WebLogic and Coherence Developer Supplemental 12.2.1.0.0 completed successfully. Logs successfully copied to /u01/wls12210/cfgtoollogs/oui.
Creating a WebLogic Server Domain
- In the same secure shell terminal session,
execute the Oracle WebLogic Server Fusion Middleware
Configuration Wizard:
[oracle@ol71 u01]$ /u01/wls12210/oracle_common/common/bin/config.sh
-
Click Create a new domain and enter
/u01/wls12210/user_projects/domains/base_domain
for the Domain Location. Click Next. -
Accept the Basic WebLogic Server Domain template and click Next.
-
Enter
weblogic
for Name andwelcome1
for Password. Enterwelcome1
for Confirm Password and click Next. -
Click Development for Domain Mode and accept the JDK location at
/u01/jdk1.8.0_60.
Click Next. -
Click Next.
-
Review the Configuration Summary and click Next.
-
Click Next.
-
Click Finish to close the Fusion Middleware Configuration Wizard.
Starting the WebLogic Server Domain
- In the same secure shell terminal session,
execute the WebLogic Server Domain start script:
After starting the WebLogic Server, it enters the RUNNING state:[oracle@ol71 u01]$ /u01/wls12210/user_projects/domains/base_domain/startWebLogic.sh
...
<Jul 30, 2015 2:20:43 PM MDT> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.> <Jul 30, 2015 2:20:43 PM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
Testing the WebLogic Server Domain
-
On the Linux machine, open a web browser.
-
Navigate to http://localhost:7001/console and enter the Username and Password used in the Domain creation process - in this tutorial the Username is
weblogic
and the Password iswelcome1
. Click Login. -
The WebLogic Server Administration Console displays, so the Domain started successfully.
Want to Learn More?
In this tutorial, you learned to:
- Install WebLogic Server 12.2.1 Using the Quick Installer
- Configure a WebLogic Server 12.2.1 Domain
Resources
- WebLogic Server 12.2.1 Documentation
- To learn more about WebLogic Server refer to additional OBEs in the Oracle Learning Library
Credits
- Lead Curriculum Developer: Tom Eliason
- Other Contributors: TJ Palazzolo
Version
- 03-01-002-QuickInstaller