Saturday, February 1, 2014

Oracle Weblogic Server And Forms & Reports Installation In Red Hat Linux Step By Step.

Note :- Oracle 11g R1 Web logic And Forms & Reports Installation Installation. This configuration steps for Red Hat Linux 5.5 and 6.2. You need to follow only one for your operating system.

1. Set IP and host name the following way.

Open terminal and write
[root@micr~#]vi /etc/sysconfig/network
Check following lines exists
NETWORKING=yes
NETWORKING_IPV6=NO
HOSTNAME=micr

 [root@micr~#]vi /etc/hosts
127.0.0.1            localhost.localdomain  localhost
10.11.201.200   micr.localdomain  micr

[root@micr~#]ping micr
(Hints replay 10.11.201.200   IP address. If replay 127.0.0.1 problem)

2.  Set minimum parameter settings in the following way.

Open terminal and add the following lines

[root@micr~#]vi /etc/sysctl.conf

kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 256 32000 100 142
fs.file-max = 206173
kernel.msgmnb = 65535
kernel.msgmni = 2878
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=4194304
net.core.wmem_default=4194304
net.core.rmem_max=262144
net.core.wmem_max=262144

Now run the following line to check any item duplicate or not

[root@micr~#]/sbin/sysctl –p

If any item is duplicate then set comments previous item.

3. Now set limits the following way

Open terminal and execute the command and add the following limits.
[root@micr~#]vi /etc/security/limits.conf

oracle soft nofile 4096
oracle hard nofile 4096
* soft nproc 2047
* hard nproc 16384
* soft nofile 4096
* hard nofile 65536

4. Now install the following packages if they are not already present from your DVD.

For Red Hat 5.5
rpm -Uvh libaio-devel
rpm -Uvh sysstat
rpm -Uvh openmotif
rpm -Uvh openmotif22
rpm -Uvh binutils-2.16.91.0.5-23.4
rpm -Uvh gcc-4.1.0-28.4
rpm -Uvh gcc-c++-4.1.0-28.4
rpm -Uvh glibc-devel-2.4-31.2
rpm -Uvh libgcc-4.1.0-28.4
rpm -Uvh libstdc++-devel-4.1.0-28.4
rpm -Uvh libstdc++-4.1.0-28.4
rpm -Uvh make-3.80-202.2
rpm -Uvh compat-db 4.1.25-9
rpm -Uvh libXp-1.0.0-8.1.el5

For Red Hat 6.2

    rpm -Uvh binutils-2*x86_64*
    rpm -Uvh glibc-2*x86_64* nss-softokn-freebl-3*x86_64*
    rpm -Uvh glibc-2*i686* nss-softokn-freebl-3*i686*
    rpm -Uvh compat-libstdc++-33*x86_64*
    rpm -Uvh glibc-common-2*x86_64*
    rpm -Uvh glibc-devel-2*x86_64*
    rpm -Uvh glibc-devel-2*i686*
    rpm -Uvh glibc-headers-2*x86_64*
    rpm -Uvh elfutils-libelf-0*x86_64*
    rpm -Uvh elfutils-libelf-devel-0*x86_64*
    rpm -Uvh gcc-4*x86_64*
    rpm -Uvh gcc-c++-4*x86_64*
    rpm -Uvh ksh-*x86_64*
    rpm -Uvh libaio-0*x86_64*
    rpm -Uvh libaio-devel-0*x86_64*
    rpm -Uvh libaio-0*i686*
    rpm -Uvh libaio-devel-0*i686*
    rpm -Uvh libgcc-4*x86_64*
    rpm -Uvh libgcc-4*i686*
    rpm -Uvh libstdc++-4*x86_64*
    rpm -Uvh libstdc++-4*i686*
    rpm -Uvh libstdc++-devel-4*x86_64*
    rpm -Uvh make-3.81*x86_64*
    rpm -Uvh numactl-devel-2*x86_64*
    rpm -Uvh sysstat-9*x86_64*
    rpm -Uvh compat-libstdc++-33*i686*
    rpm -Uvh compat-libcap*

5. Create the new groups and users.

Open terminal and execute the following
 [root@micr~#]groupadd dba -- Add new group dba
 [root@micr~#]useradd -g dba oracle -- Creating user with adding group.
 [root@micr~#]passwd oracle -- Set password for oracle user.

6. Disable secure Linux.

Open terminal and execute the following.
[root@micr~#]vi /etc/selinux/config

Making sure the SELINUX flag is set as follows.
SELINUX=disabled

7. Disable Firewall Configuration

Open terminal and execute the following you can see Security Level Configuration Tool and disable firewall.
[root@micr~#]system-config-securitylevel

8. Now reboot your system.

9. Create and grant permission the directories in which the Oracle software will be installed.

[root@micr~#] mkdir -p /u01/oracle/middleware -- Creating directory.
[root@micr~#] chown -Rh oracle:dba /u01/oracle/middleware -- Changing ownership
[root@micr~#] chmod -R 775 /u01 -- Changing File Mode.

10. Now login as oracle user and set bash profile in the following way.

Open terminal and execute the following.

[oracle@micr~#]vi .bash_profile

Now set the following parameter.

############# Oracle Fushion Middlewire Bash Profile For Red Hat 6.2 ###################

MW_HOME=/u01/oracle/middleware; export MW_HOME
WLS_HOME=$MW_HOME/wlserver_10.3; export WLS_HOME
JAVA_HOME=/usr/java/jdk1.7.0_10; export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH; export PATH

############# Oracle Fushion Middlewire Bash Profile For Red Hat 5.5 ###################

MW_HOME=/u01/oracle/middleware; export MW_HOME
WLS_HOME=$MW_HOME/wlserver_10.3; export WLS_HOME
JAVA_HOME=/usr/java/jdk1.6.0_34; export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH; export PATH

11. Installing JDK.

Go to jdk folder, open terminal and perform the following
[root@micr~#]./jdk-6u34-linux-x64-rpm.bin

After successfully installing jdk install web logic in the following way.

12. Installing Web Logic.

Log in as oracle user and go to wls1035_generic.jar folder, open terminal and perform the following

[oracle@micr linux64bit #]. /usr/java/jdk1.6.0_34/bin/java -Xmx1024m -jar wls1035_generic.jar

After successfully installing web logic install forms reports in the following way.

13. Installing Forms Reports.

Log in as oracle user and go to installer folder, open terminal and perform the following
Stop Web logic server

[oracle@micr Disk1]$ ./runInstaller

No comments:

Post a Comment