Installing Apache Webserver in Oracle Enterprise Linux 5 as reverse proxy to Weblogic Domain
OEL Prerequisite : please make sure you have this packages else the apache build will fail
rpm -ivh gcc-4.1.2-50.el5.x86_64.rpm glibc-devel-2.5-58.x86_64.rpm glibc-headers-2.5-
58.x86_64.rpm kernel-headers-2.6.18-238.el5.x86_64.rpm
libstdc++-devel-4.1.2-50.el5.x86_64.rpm gcc-c++-4.1.2-50.el5.x86_64.rpm
they are part of the OS media
they are part of the OS media
Apache Server
1.
Download the apache source code and Weblogic plugin to /home/oracle/apache
http://httpd.apache.org/download.cgi#apache22
2.
mkdir -p /u01/app/apache/product
3.
cd /home/oracle/apache/
4.
tar -xf httpd-2.2.22.tar
5.
cd httpd-2.2.22
6.
./configure --prefix=/u01/app/apache/product
--enable-module=so
7.
make install
8.
make
Weblogic Plugin
plugin can be downloaded from http://www.oracle.com/technetwork/middleware/ias/downloads/wls-plugins-096117.html, I assume you have weblogic domain ready.
1.
cd /home/oracle/apache
2.
mkdir plugin
3.
unzip WLSPlugin11g-64bit-Apache2.2-linux64-x86_64.zip -d
plugin
4.
cp plugin/lib/mod_wl.so
/u01/app/apache/product/lib/
5.
cd /u01/app/apache/product/conf
6.
vi httpd.conf add entries specific to each domain
#load module
LoadModule weblogic_module product\lib\mod_wl_20.so
#tag for plugin
WebLogicHost myweblogic.server.com WebLogicPort 7001
vide http://docs.oracle.com/cd/E15051_01/wls/docs103/plugins/apache.html#wp131399
7.
start the apache instance
#apachectl start (script available in the bin directory of apache)
No comments:
Post a Comment