Apache2.0.64与Weblogic92整合到Linux

Apache版本:      Apache httpd-2.0.64
weblogic版本:   weblogic server92 linux32
操作系统:           Linux Ubuntu 10.04

一.安装weblogic与apache
1.weblogic安装
注意安装的时候要选中插件,这样才能有插件bea/weblogic81/server/lib/linux/i686/mod_wl_20.so;
Weblogic的安装并建立domain
安装上之后,先建议一个domain,然后部署一个web应用程序。我的weblogic的第一个domain是base_domain,
然后端口号是7001,部署了一个叫做testPic的工程.可以通过:7001/testPic访问,
显示静态页面,加载JavaEye图片;如图1;

Apache2.0.64与Weblogic92整合到Linux


2.Apache安装
安装编译Apache如下命令:
greatwqs@ubuntu:~/soft$ tar -zxvf httpd-2.0.64.tar.gz
greatwqs@ubuntu:~/soft$ cd httpd-2.0.64
greatwqs@ubuntu:~/soft/httpd-2.0.64$ ./configure --prefix=/opt/apache --enable-rewrite=shared
--enable-expires=shared --enable-deflate=shared --enable-cache=shared
--enable-headers=shared --enable-mem-cache=shared
--enable-disk-cache=shared --enable-static-ab
--enable-vhost-alias=shared --enable-env=shared --enable-http=static
--with-mpm=worker --enable-nonportable-atomics=yes --enable-static-support
greatwqs@ubuntu:~/soft/httpd-2.0.64$ make
greatwqs@ubuntu:~/soft/httpd-2.0.64$ make install
注意:编译的时候一定要加上
greatwqs@ubuntu:~/soft/httpd-2.0.64$ ./configure
--prefix=/usr/local/apache --enable-rewrite=shared
--enable-expires=shared --enable-deflate=shared --enable-cache=shared
--enable-headers=shared --enable-mem-cache=shared
--enable-disk-cache=shared --enable-static-ab
--enable-vhost-alias=shared --enable-env=shared --enable-http=static
--with-mpm=worker --enable-nonportable-atomics=yes --enable-static-support
通过上面的操作,httpd-2.0.64已经安装到 /usr/local/apache目录中了。
说明:./configure --prefix=/opt/apache --enable-rewrite=shared
--enable-expires=shared --enable-deflate=shared --enable-cache=shared
--enable-headers=shared --enable-mem-cache=shared
--enable-disk-cache=shared --enable-static-ab
--enable-vhost-alias=shared --enable-env=shared --enable-http=static
--with-mpm=worker --enable-nonportable-atomics=yes --enable-static-support为自己的个性编译;
一般可以采用下面的这种编译Apache:
greatwqs@ubuntu:~/soft/httpd-2.0.64$ ./configure --prefix=/usr/local/apache --enable-module=so
--enable-rule=SHARED_CORE

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wygsyd.html