Tuesday, May 13, 2014

WebLogic Server Installation in Graphical Mode

This topic describes how to start the WebLogic Server installation in graphical mode in different environments.


GUI Mode Installation (using  Package installers) on Windows

Follow these steps to install the WebLogic Server using graphical mode on a Windows platform    Log in to the Windows system.
Go to the directory that contains the installation program.
Double-click the installation file to install the software.


GUI Mode Installation (using  Package installers) on Unix Machines

To start the graphical-mode installation process with .bin installation files, follow these steps.
Log in to the target UNIX system.
Go to the directory that contains the installation program.
Launch the installation by entering the following commands:
chmod a+x <.bin installation file>
./
<.bin installation file>

<file_name.bin> is the name of your installation program. For example, for WebLogic Server 10.3.6, the name of the Package installer file for Linux is wls1036_linux32.bin
.
[mastshai@OEL u01]$ ls -ltr wls1036_linux32.bin
-rwxr-x---. 1 mastshai mastshai 871091023 Apr 14 14:22 wls1036_linux32.bin
[mastshai@OEL u01]$ chmod a+x wls1036_linux32.bin
[mastshai@OEL u01]$ ls -ltr wls1036_linux32.bin
-rwxr-x--x. 1 mastshai mastshai 871091023 Apr 14 14:22 wls1036_linux32.bin
[mastshai@OEL u01]$ ./wls1036_linux32.bin

Note:
If you want to do GUI mode installation on Unix/Linux machines please ensure you have the VNC Server installed. You can use Xming or Cygwin softwares also.

GUI Mode Installation by using Generic WebLogic Installer on Windows and Unix Machines

To start the installation program in graphical mode for installation files with names ending in .jar, perform the following steps.

Set the appropriate JDK Path to the PATH variable definition as below:

JAVA_HOME=path_to_64-bit_JDK;
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH;
export $PATH


For example:

[mastshai@OEL ~]$ export JAVA_HOME=/u01/student/jrockit-jdk1.6.0_33-R28.2.4-4.1.0
[mastshai@OEL ~]$ export PATH=$PATH:$JAVA_HOME/bin
[mastshai@OEL ~]$ echo $JAVA_HOME
/u01/student/jrockit-jdk1.6.0_33-R28.2.4-4.1.0
[mastshai@OEL ~]$ echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/mastshai/bin:/u01/student/jrockit-jdk1.6.0_33-R28.2.4-4.1.0/bin

Go to the directory where you downloaded the installation program and launch the installation program by entering the following command

java -jar /u01/wls1036_generic.jar

Installing WebLogic Server on 64-Bit Platforms Using a 64-Bit JDK

If you are installing WebLogic Server on a 64-bit platform execute the below command

java -d64 -jar wlsversion_generic.jar


Note:
Run the java -version command or java -d64 -version command or file java command to ensure that your JAVA_HOME refers to a 64-bit JDK.

[mastshai@OEL ~]$ java -version
java version "1.6.0_30"
OpenJDK Runtime Environment (IcedTea6 1.13.1) (rhel-3.1.13.1.el6_5-x86_64)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)


[mastshai@OEL ~]$ java -d64 -version
java version "1.6.0_30"
OpenJDK Runtime Environment (IcedTea6 1.13.1) (rhel-3.1.13.1.el6_5-x86_64)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
[mastshai@OEL ~]$

[mastshai@OEL ~]$ file /u01/student/jrockit-jdk1.6.0_33-R28.2.4-4.1.0/bin/java
/u01/student/jrockit-jdk1.6.0_33-R28.2.4-4.1.0/bin/java: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped
[mastshai@OEL ~]$