Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Oracle WebLogic Server 12c Advanced Administration Cookbook

You're reading from   Oracle WebLogic Server 12c Advanced Administration Cookbook If you want to extend your capabilities in administering Oracle WebLogic Server, this is the helping hand you've been looking for. With 70 recipes covering both basic and advanced topics, it will provide a new level of expertise.

Arrow left icon
Product type Paperback
Published in Jun 2013
Publisher
ISBN-13 9781849686846
Length 284 pages
Edition Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Dalton Iwazaki Dalton Iwazaki
Author Profile Icon Dalton Iwazaki
Dalton Iwazaki
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Oracle WebLogic Server 12c Advanced Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Install, Configure, and Run FREE CHAPTER 2. High Availability with WebLogic Clusters 3. Configuring JDBC Resources for High Availability 4. Configuring JMS Resources for Clustering and High Availability 5. Monitoring WebLogic Server 12c 6. Troubleshooting WebLogic Server 12c 7. Stability and Performance 8. Security Index

Installing WebLogic Server 12c


You should already be familiar with basic WebLogic installation, so this recipe covers the steps to a quick installation of WebLogic Server 12c in production environments.

This recipe will focus on a new install rather than upgrades or migrations.

Getting ready

It is important to navigate through Oracle's website and check if the chosen hardware and operational system architectures are supported in Certification Matrix before installing WebLogic Server. You should look for system requirements and supported platforms for WebLogic Server 12c. This is crucial for a production environment since Oracle Support verifies if you are running a supported configuration when an issue appears.

The book assumes the following hardware and software architectures for WebLogic Server 12c installations:

  • X86-64 processor (such as Intel Xeon or AMD Opteron)

  • Linux x86-64 architecture (such as Red Hat Enterprise Linux or Oracle Linux)

Operational systems based on Linux x86-64 (64-bit) are the most commonly used in production environments, and these instructions should cover other Unix architectures as well.

Note

The use of WebLogic Server in Microsoft Windows for production environments will not be considered in this book.

Oracle JRockit 6 for Linux x86-64 is the Java Virtual Machine (JVM) that has been used through the rest of this book. Download it at http://www.oracle.com/technetwork/middleware/jrockit/downloads. The filename is jrockit-jdk1.6.0_XXX-linux-x64.bin, where XXX stands for the JRockit release and JDK version.

The package WebLogic Server 12 c (12.1.1) generic installer (997 MB) for use with 64-bit JVMs should also be downloaded at http://www.oracle.com/technetwork/middleware/weblogic/downloads. The filename is wls1211_generic.jar.

Note

To simplify the reading, we'll use the following terms when referring to the directories:

  • $JAVA_HOME to JRockit/Java Home directory: /oracle/jvm

  • $MW_HOME to Middleware Home: /oracle/Middleware

  • $WL_HOME to WebLogic Home: /oracle/Middleware/wlserver_12.1

How to do it...

Carry out the following steps to install WebLogic Server 12c:

  1. Create a dedicated user to host and run WebLogic Server 12c in Linux. Log in as the root user and create the user and the group named wls, and define a new password for it:

    [root@prod01]# groupadd wls
    [root@prod01]# useradd -g wls wls
    [root@prod01]# passwd wls
    Changing password for user wls.
    New UNIX password: <new password>
    Retype new UNIX password: <new password>
    
  2. Log in as the wls user and set the correct file permissions:

    [wls@prod01]$ umask 027
    
  3. Run the JRockit installer in console mode and install JRockit:

    [wls@prod01]$ ./jrockit-jdk1.6_xxx-linux-x64.bin -mode=console
    
  4. Follow the onscreen instructions and type/oracle/jvm in the Product Installation directory. You can just press Enter for all the other options. JRockit will be installed without the demos and with no source code.

  5. Run WebLogic Server 12c Generic Installer in console mode:

    [wls@prod01]$ /oracle/jvm/bin/java –jar wls1211_generic.jar –mode=console
    
  6. Follow the onscreen instructions and type/oracle/Middleware for the "Middleware Home" = [Enter new value or use default] screen. Press Enter to move forward.

  7. Skip the Register for Security Updates screen by typing 3 to navigate to 3|Receive Security Update:[Yes], then type No and then Yes. Press Enter to move forward.

  8. Type 1 to select the 1|Typical option on the Install Type screen.

  9. The freshly installed /oracle/jvm JDK should be selected. If not, add it by typing 1 for 1|Add Local Jdk.

  10. Press Enter to confirm all the other screens.

How it works...

These install instructions will provide a clean and fresh WebLogic Server 12c installation in the prod01 hostname.

It also covers some basic user administration in Linux that can be skipped if you already have an operational system user.

Tip

Don't forget to set the correct file permissions with umask before installing WebLogic Server 12c.

Both JRockit and WebLogic Server were installed in the console mode option without any graphical interface. Production environments are more restricted, and console mode requires only a terminal; it is faster and does not need an X11 Server.

Generic installer is used to install WebLogic since it is the one that contains the native library for x86-64. The native library is important because it enables the use of a native socket reader that is much faster than the pure Java socket reader. This library enables what is called the performance pack on WebLogic and is mandatory in a production environment.

The installation process is very straightforward and only copies the files to their directories. The next step is to create a new WebLogic domain.

See also

  • Creating the WebLogic domain

You have been reading a chapter from
Oracle WebLogic Server 12c Advanced Administration Cookbook
Published in: Jun 2013
Publisher:
ISBN-13: 9781849686846
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime