Before You Begin
Purpose
This tutorial shows you how to install Oracle WebLogic Server 12c (12.2.1) using the generic installer.
Time to Complete
Approximately 15 minutes
Background
This tutorial shows you how to install Oracle WebLogic Server 12c (12.2.1) 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.
What You Need
- Oracle WebLogic Server 12c (12.2.1) software
- A Linux machine with version 6 or greater of Oracle Linux or Red Hat Linux
Downloading JDK 1.8 and the WebLogic Server 12c (12.2.1) Generic Installer
- Open a web browser and navigate to the Java SE Downloads: http://www.oracle.com/technetwork/java/javase/downloads/index.html.
-
In the Java Platform page section, click JDK Download.
Note: this tutorial uses the jdk-8u60-linux-x64.tar.gz file. Later versions of the JDK 1.8 will work but have not been tested with this tutorial.
- Save the download file - this tutorial uses the
/scratch/u01/
location. - In the web browser, navigate to Oracle Fusion Middleware Software Downloads: http://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html.
- Click in the Accept License Agreement.
- Select the Generic Installer.
- Click Download File.
- Save the download file. This tutorial uses the
fmw_12.2.1.0.0_wls_Disk1_1of1.zip
file and the/scratch/u01/
location.
Installing the JDK
To install the JDK, perform the following steps:
-
Extract the JDK to a directory of your choice.
- 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
zip file is in the
/scratch/u01/
directory. To copy the JDK file from there into the current directory, enter the following command:$>cp /scratch/u01/jdk-8u60-linux-x64.tar.gz -t .
Note: The name and location of your JDK file may be different.
- Unpack the file by using the
tar
command:$> tar -zxvf jdk-8u60-linux-x64.tar.gz
The
tar
options are:z
: unzipx
: extractv
: verbosef
: filename
$>cd /scratch/u01/app $>cp /u01/jdk-8u60-linux-x64.gz -t . $>tar -zxvf jdk-8u60-linux-x64.gz jdk1.8.0_60/ jdk1.8.0_60/COPYRIGHT jdk1.8.0_60/README.html ... jdk1.8.0_60/release $>
- Open a Terminal window and navigate to the
directory where you want to install the JDK.
For example, to navigate to the
- (Optional) Rename the JDK directory. To make
the directory name more generic, use the
mv
command to rename itjdk
.
Note: The name of your JDK directory may be different.$>mv jdk1.8.0_60 jdk
- Use the
rm
command to erase the copied JDK file.$>rm jdk-8u60-linux-x64.tar.gz
Note: The name of your JDK file may be different.
Installing WebLogic Server 12c (12.2.1) Using the Generic Installer
To install WebLogic Server, perform the following steps:
- In the terminal window, change to the directory
where you downloaded
fmw_12.2.1.0.0_wls_Disk1_1of1.zip
file.cd /scratch/u01/
- Unzip the installer's zip file.
unzip
fmw_12.2.1.0.0_wls_Disk1_1of1.zip
The
fmw_12.2.1.0.0_wls.jar
file is extracted. - Run the generic installation program (the
JAR
file).- In the Terminal window, 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 installerJAR
file that you already downloaded. In this tutorial, theJAR
file is in the/scratch/u01
directory. The file name isfmw_12.2.1.0.0_wls.jar
.$>./java -jar /scratch/u01/fmw_12.2.1.0.0_wls.jar Launcher log file is /tmp/OraInstall2014-07-03_01-45-18PM/launcher2014-07-03_01-45-18PM.log Extracting files........ Starting Oracle Universal Installer
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.
- In the Terminal window, navigate to the
- If the Installation Inventory Setup dialog box appears, accept the default location and click OK.
View Image
Description of this image - On the Welcome screen of the installer, click Next.
View Image
Description of this image - On the Auto Updates screen, leave Skip
Auto Updates selected and click Next.
View Image
Description of this image - 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
.View ImageDescription of this image - On the Installation Type screen, select Complete with Examples,
and then click Next.
In this tutorial, the selection is Complete with Examples.
View ImageDescription of this image - On the Prerequisite Checks screen, wait for all
checks to complete successfully, and then click Next.
View Image
Description of this image - On the Security Updates screen, perform the
following steps:
- Enter your email address.
- Select I wish to receive security updates via My Oracle Support.
- Enter your My Oracle Support password.
- Click Next.
View ImageDescription of this image 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.
View Image
Description of this image - On the Installation Progress screen, wait for
the progress bar to reach 100%, and then click Next.
View Image
Description of this image -
On the Installation Complete screen, select Automatically Launch the Quickstart Configuration Wizard, and then click Finish.
View ImageDescription of this image The Fusion Middleware Configuration Wizard starts.
- In the Configuration screen, enter
welcome1
for Password, and enterwelcome1
for Confirm Password. Click Create.View ImageDescription of this image - On the Configuration Progress screen click Next.
View Image
Description of this image - On the Configuration Success screen click Finish.
View Image
Description of this image - Close the Terminal window that you used to launch the installer.
Want to Learn More?
Credits
- Lead Curriculum Developer: Tom Eliason
- Original Oracle by Example tutorial for version 12c created by: Bill Bell
- Original Oracle by Example tutorial for version 11g created by: TJ Palazzolo
- Other contributors: Veerabhadra Rao Putrevu, Kathryn Abelson, Susan Moxley