首页 > 代码库 > apache+tomcat集群部署笔记

apache+tomcat集群部署笔记

1、下载apr,apr-util,pcre,apache(httpd),tomcat-connector

2、安装apr,apr-util,pcre,

3、编译apache并安装

(1)编译命令如下:

./configure --with-mpm=worker --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util --with-pcre=/usr/local/pcre --prefix=/usr/local/apache2 

  

makemake install

(2)配置httpd.conf 中的ServerName=域名

4、安装tomcat-connector

教程如下:

http://blog.csdn.net/gtuu0123/article/details/5814475

 

5、tomcat配置集群

http://www.blogjava.net/pengo/archive/2011/04/15/348331.html

apache+tomcat集群部署笔记