Thursday, June 26, 2014

Installing Weblogic 12c on Linux 6

Installing Weblogic 12c Server on Linux 6

In this Practice we are going to install the weblogic server 12c in the oracle Linux 6.4 we had gone through the steps which will install the binary and later we need to create the Domain separately --

Prerequisites for installing webogic 12c on linux 6 

[1] Installing the required Java
Download the latest java which is certified to work with the webloigc 12c java 1.7_60 [which is the latest update of java 7 series] is certified to work with the 12c.. . For Linux the java 1.7 is available in the rpm as well as in the tar file .. Download the rpm and install the java
Download the JDK for linux for the oracle website
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

[root@omoicfin ~]# cd /tmp
[root@omoicfin tmp]# ll jdk*
-rw-r-----. 1 root root 126841508 Jun 24 21:36 jdk-7u60-linux-x64.rpm
[root@omoicfin tmp]# yum install /tmp/jdk-7u60-linux-x64.rpm

Once the java is installed then it will be available in the
[root@omoicfin java-1.7.0]# pwd
/usr/lib/java-1.7.0

[2]Create the user and groups for the weblogic in O/S

Create the weblogic owner  and the group as we had created the database user name and group previously for the weblogic user use the same primary group which is used for the database

[root@omoicfin ]# useradd -g oinstall -G oinstall , dba oraadf

[root@omoicfin ]# id oraadf
uid=54322(oraadf) gid=54321(oinstall) groups=54321(oinstall),54322(dba)

In O/s we have create the mount point /u02/app/oracle for install the weblogic server
Assign the newly create the weblogic user to own the mount point which the weblogic is going to be installed 

[root@omoicfin ]# chown -R oraadf:oinstall /u02/app/oracle
[root@omoicfin ]# chmod -R g+w /u02/app/oracle

[3]Set the Java Home to the latest Java Installed 

We need to Set the java home to the latest java which is installed  or the defalut java which comes with the OEL will be taken
[root@omoicfin java-1.7.0]# java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (rhel-2.3.4.1.0.1.el6_3-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

For setting the correct java for the weblogic add the JAVA_HOME env variable in the adfuser .bash_profile
export JAVA_HOME=/usr/java/jdk1.7.0_60
export PATH=$JAVA_HOME/bin:$PATH
log out and login and check the java version 

[oraadf@omoicfin ~]$ java -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
[oraadf@omoicfin ~]$

Step 1 
Start the Weblogic installer in the Linux by using the java which had been installed  according to the weblogic server requirements
login to the weblogic owner [o/s user which is created  for weblogic]and execute the command
java -jar  wls_121200.jar 


Invoke the Weblogic installer in the Linux 



This command will invoke the weblogic installer
Click Next to proceed to the Next Page

Step 2
Provide the Oracle Middle ware location home  where the s binaries will be installed


Step 3

Select the Installation type which we need to install if you want to proceed with the complete installation with the examples then select complete


 Step 4
Check the prerequisite check and make sure the prerequisite check completes successfully

Step 5
If the Server is connected with the internet then provide the metalink details


 Step 6
Check the installation summary and save the configuration file for the reference




Step 7
Check the installation progress and once the installation Process reaches  100% and then click next




 Step 8
Once  the Installation completes then if you want to go the configuration wizard then click the check box and click the finish button it will  take to the configuration screen or you can use the configh .sh  for configuration of the domains

The weblogic Binaries had been installed successfully .. next step is to proceed to the Domain configuration 

No comments:

Post a Comment