weblogic
Weblogic Installation from network hostname
Also, you should mention your server name in the /etc/sysconfig/network file.
vi /etc/sysconfig/network
HOSTNAME=inddlvtwlmas01.srisohan.net
Note: If there is an existing name, you should comment that line.
IMP NOTE: After changing the hostname, you should either reboot your VM or need to restart the network service to take the changes effected.
Command to restart N/W Service (We must be executing this with "root"): service network restart
Wait for the execution and then logout from that session and then open a new terminal to check the hostname.s
Eg:
# HOSTNAME=localhost.localdomain
Execute this below command to check the server name:
hostname
or
hostname -f
or
hostname -a
server name can be a FQDN (Fully Qualified Domain Name): Eg: inddlvtwlmas01.srisohan.net
or it can be a short name: Eg: inddlvtwlmas01
=============================================================
Now, do it with "root" on server inddlvtwlmas01.srisohan.net
cd /
mkdir apps
Now, change the permissions to "apps" folder (in real time it is a mount point).
sudo chown sv-wl10:sv-wl10 apps
After changing the permissions to "apps" change the ownership to that particular service account/user.
su - sv-wl10
cd /apps
Now, create two folders "oracle" and "jdk"
Now, copy the weblogic software to /apps/oracle and jdk software to /apps/jdk.
If the softwares are in your home path. i.e. /home/sv-wl10/ do the below.
ls -lrt /home/sv-wl10/
[sv-wl10@inddlvtwlmas01 ~]$ ls -lrt /home/sv-wl10/
total 1498876
-rwxrw-rw-. 1 sv-wl10 sv-wl10 1068506707 Sep 26 11:27 wls1036_generic.jar
-rwxrw-rw-. 1 sv-wl10 sv-wl10 153530841 Oct 27 09:44 jdk-7u80-linux-x64.tar.gz
[sv-wl10@inddlvtwlmas01 ~]$ pwd
/home/sv-wl10
[sv-wl10@inddlvtwlmas01 ~]$ mv wls1036_generic.jar /apps/oracle/
[sv-wl10@inddlvtwlmas01 ~]$ mv jdk-7u99-linux-x64.zip /apps/jdk/
Now, go to /apps/oracle/
create a folder here.
mkdir weblogic10.3.6
cd weblogic10.3.6
pwd
/apps/oracle/weblogic10.3.6 --> this directory should not contain any files/folders inside it.
Now, first go to /apps/jdk and extract the jdk.
[sv-wl10@inddlvtwlmas01 jdk]$ pwd
/apps/jdk
[sv-wl10@inddlvtwlmas01 jdk]$ ls -lrt
total 149936
-rwxrw-rw-. 1 sv-wl10 sv-wl10 153530841 Oct 29 00:22 jdk-7u80-linux-x64.tar.gz
[sv-wl10@inddlvtwlmas01 jdk]$ tar -xzvf jdk-7u80-linux-x64.tar.gz
Now, it will extarct and gives the below output. Here, jdk1.7.0_80 is a directory which contains all the JDK related folders/files including the JRE.
[sv-wl10@inddlvtwlmas01 jdk]$ ls -lrt
total 149940
drwxr-xr-x. 8 sv-wl10 sv-wl10 4096 Apr 10 2015 jdk1.7.0_80
-rwxrw-rw-. 1 sv-wl10 sv-wl10 153530841 Oct 29 00:22 jdk-7u80-linux-x64.tar.gz
[sv-wl10@inddlvtwlmas01 bin]$ pwd
/apps/jdk/jdk1.7.0_80/bin
[sv-wl10@inddlvtwlmas01 bin]$ ./java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
We can see the JDK Version. (Note, since we have not set the JAVA_HOME yet, we are going to the jdk bin directory and executing the java version.
Or we can simply execute java as below.
/apps/jdk/jdk1.7.0_80/bin/java -version
Now, Install the WEBLOGIC SOFTWARE FROM ANYWHERE, but make sure you give the full java path as below.
Make sure this below path exists before you start.
cd /apps/oracle/weblogic0.3.6
[sv-wl10@inddlvtwlmas01 bin]$ pwd
/apps/jdk/jdk1.7.0_80/bin
[sv-wl10@inddlvtwlmas01 bin]$ /apps/jdk/jdk1.7.0_80/bin/java -Xmx1024m -jar /apps/oracle/wls1036_generic.jar
Extracting 0%....................................................................................................100%
Comments
Post a Comment