How to install Oracle Weblogic Server using OS-specific Package installer?(Linux/Solaris)

Note:

OS-specific Package installer

  • As the name suggests the installer is platform specific.
  • It is meant for installation with a 32bit JVM only.
  • Both SUN and JROCKIT 32 bit JDKs come bundled with "OS-specific Package installer", so no need to install the JDK in advance.
There are three different ways of installing Oracle Weblogic Server:

  1. Graphical mode
  2. Console mode
  3. Silent mode

For Linux/Solaris:


Steps to install OS-specific Package .bin installer(for Linux/Solaris) are almost same as windows except for the way we launch the installation.

Installer: wls_<version>_<linux/solaris>32.bin (E.g. wls1036_linux32.bin/wls1036_solaris32.bin)


1) Graphical mode:


  1. Log in to the target UNIX system.
  2. Go to the directory that contains the installation program.(Make sure GUI is enabled or else it will default to console mode)
  3. Launch the installation by entering the following commands:

[weblogic@pratik ~]$ pwd
/home/oracle
[weblogic@pratik ~]$ cd WLSInstallers/
[weblogic@pratik WLSInstallers]$ ls -ltr
total 851512
-rw-rw-r-- 1 oracle oracle 871091023 Dec 22  2011 wls1036_linux32.bin
[weblogic@pratik WLSInstallers]$ chmod a+x wls1036_linux32.bin
[weblogic@pratik WLSInstallers]$ ls -ltr
total 851512
-rwxrwxr-x 1 oracle oracle 871091023 Dec 22  2011 wls1036_linux32.bin
[weblogic@pratik WLSInstallers]$ ./wls1036_linux32.bin



As soon as you run
./wls1036_linux32.bin with GUI enabled you would see the following screen:

Rest of the screens and steps are similar to that of Graphical mode installation on windows, refer:

How to install Oracle Weblogic Server using OS-specific Package installer?(Windows)



2) Console mode:

  1. Log in to the target UNIX system.
  2. Go to the directory that contains the installation program.
  3. Launch the installation by entering the following commands:


[weblogic@pratik ~]$ pwd
/home/oracle
[weblogic@pratik ~]$ cd WLSInstallers/
[weblogic@pratik WLSInstallers]$ ls -ltr
total 851512
-rw-rw-r-- 1 weblogic weblogic 871091023 Dec 22  2011 wls1036_linux32.bin
[weblogic@pratik WLSInstallers]$ chmod a+x wls1036_linux32.bin
[weblogic@pratik WLSInstallers]$ ls -ltr
total 851512
-rwxrwxr-x 1 weblogic weblogic 871091023 Dec 22  2011 wls1036_linux32.bin


[weblogic@pratik WLSInstallers]$ ./wls1036_linux32.bin -mode=console
Extracting 0%....................................................................................................100%


<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Welcome:
--------

This installer will guide you through the installation of WebLogic 10.3.6.0.
Type "Next" or enter to proceed to the next prompt.  If you want to change data entered previously, type "Previous".  You may quit the installer at any time by typing "Exit".


Enter [Exit][Next]> Next



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Middleware Home Directory:
---------------------------------

 ->1|* Create a new Middleware Home
   2|/home/oracle/wls_12c


Enter index number to select OR [Exit][Previous][Next]> Next



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Middleware Home Directory:
---------------------------------

    "Middleware Home" = [Enter new value or use default
"/home/oracle/Oracle/Middleware"]


Enter new Middleware Home OR [Exit][Previous][Next]> /home/oracle/WLS1036



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Middleware Home Directory:
---------------------------------

    "Middleware Home" = [/home/oracle/WLS1036]

Use above value or select another option:
    1 - Enter new Middleware Home
    2 - Change to default [/home/oracle/Oracle/Middleware]


Enter option number to select OR [Exit][Previous][Next]> Next



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[Yes]


Enter index number to select OR [Exit][Previous][Next]> 3



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

    "Receive Security Update:" = [Enter new value or use default "Yes"]



Enter [Yes][No]? No



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

    "Receive Security Update:" = [Enter new value or use default "Yes"]


    ** Do you wish to bypass initiation of the configuration manager and
    **  remain uninformed of critical security issues in your configuration?


Enter [Yes][No]? Yes



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[No]



Enter index number to select OR [Exit][Previous][Next]>Next



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Register for Security Updates:
------------------------------

Provide your email address for security updates and  to initiate configuration manager.

   1|Email:[]
   2|Support Password:[]
   3|Receive Security Update:[No]



Enter index number to select OR [Exit][Previous][Next]> Next



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Install Type:
--------------------

Select the type of installation you wish to perform.

 ->1|Typical
    |  Install the following product(s) and component(s):
    | - WebLogic Server
    | - Oracle Coherence

   2|Custom
    |  Choose software products and components to install and perform optional
    |configuration.



Enter index number to select OR [Exit][Previous][Next]> Next



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Choose Product Installation Directories:
----------------------------------------

Middleware Home Directory: [/home/oracle/WLS1036]

Product Installation Directories:


   1|WebLogic Server: [/home/oracle/WLS1036/wlserver_10.3]
   2|Oracle Coherence: [/home/oracle/WLS1036/coherence_3.7]


Enter index number to select OR [Exit][Previous][Next]> Next



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

The following Products and JDKs will be installed:
--------------------------------------------------

    WebLogic Platform 10.3.6.0
    |_____WebLogic Server
    |    |_____Core Application Server
    |    |_____Administration Console
    |    |_____Configuration Wizard and Upgrade Framework
    |    |_____Web 2.0 HTTP Pub-Sub Server
    |    |_____WebLogic SCA
    |    |_____WebLogic JDBC Drivers
    |    |_____Third Party JDBC Drivers
    |    |_____WebLogic Server Clients
    |    |_____WebLogic Web Server Plugins
    |    |_____UDDI and Xquery Support
    |    |_____Evaluation Database
    |_____Oracle Coherence
    |    |_____Coherence Product Files
    |_____JDKs
         |_____SUN SDK 1.6.0_29
         |_____Oracle JRockit 1.6.0_29 SDK

    *Estimated size of installation: 1,276.0 MB


Enter [Exit][Previous][Next]> Next



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Installing files..

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Installing JDK....

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


Performing String Substitutions...



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Configuring OCM...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]


Creating Domains...



<-------------------- Oracle Installer - WebLogic 10.3.6.0 ------------------->

Installation Complete


Congratulations! Installation is complete.


Press [Enter] to continue or type [Exit]>

[weblogic@pratik ~]$



Note: All the inputs are in Bold


3) Silent mode:

             1) Log in to the target Unix system.
             2) Create a silent.xml file that defines the configuration settings normally entered by a user during an interactive installation process, such as graphical-mode or console-mode installation.

<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
    <input-fields>
        <data-value name="BEAHOME" value="/home/oracle/WLS1036" />
        <data-value name="WLS_INSTALL_DIR" value="/home/oracle/WLS1036/wlserver_10.3" />
        <data-value name="COMPONENT_PATHS" value="WebLogic Server|Oracle Coherence" />
    </input-fields>
</bea-installer>

<!--
Note: This sample silent.xml file is used to install all the components 
of WebLogic Server and Oracle Coherence.
All the values in Bold are the variables.
-->

              3) Place the silent.xml file in the same directory as where the WebLogic Server Package installer is located.
              4) Go to the directory that contains the installation program.
              5) Start the installer as follows:

[weblogic@pratik WLSInstallers]$ chmod a+x wls1036_linux32.bin
[weblogic@pratik WLSInstallers]$ ls -ltr
total 851516
-rwxrwxr-x 1 weblogic weblogic 871091023 Dec 22  2011 wls1036_linux32.bin
-rw-rw-r-- 1 weblogic weblogic       331 Jul  5 03:48 silent.xml
[weblogic@pratik WLSInstallers]$ cat silent.xml
<?xml version="1.0" encoding="UTF-8"?>
<bea-installer>
        <input-fields>
                <data-value name="BEAHOME" value="/home/oracle/WLS1036" />
                <data-value name="WLS_INSTALL_DIR" value="/home/oracle/WLS1036/wlserver_10.3" />
                <data-value name="COMPONENT_PATHS" value="WebLogic Server|Oracle Coherence" />
        </input-fields>
</bea-installer>
[weblogic@pratik WLSInstallers]$ ./wls1036_linux32.bin -mode=silenlent.xml -log=/home/oracle/WLSInstallers/install.log
Extracting 0%....................................................................................................100%
[weblogic@pratik WLSInstallers]$

-log=/home/oracle/WLSInstallers/install.log creates a installation log(install.log) under "/home/oracle/WLSInstallers/", when installation completes you will see the following printed in the log file:

2012-07-05 03:59:36,788 INFO  [WizardController] com.bea.plateng.wizard.silent.tasks.LogTask - The installation was successfull!

For other configurable values in silent.xml refer: Values for the Sample silent.xml File for WebLogic Server


Important links to Refer:

 
  




Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

This Blog is an attempt to simplifying different configurations on Oracle Weblogic Server.

Search

Top Tags
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today