1. Preface
Apache+resin to do want to think we are more familiar with the general configuration are very familiar with, I looked at some of the articles on the forum, this convenient article more. Here, I just write apache+resin to achieve a stand-alone virtual host and resin load balancing.
2. System and Environment:
Redhat9 and Solaris9
httpd-2.50
resin-3.06
Pure-ftpd-1.0.17a.tar.gz
3, installation software:
3.1. Install Apache:
# tar ZXVF httpd-2.49.tar.gz
# CD httpd-2.49
#./configure--prefix=/usr/local/apache2--enable-so--with-mpm=worker
# make
# make Install
3.2, installation resin:
# tar ZXVF resin-3.06.tar.gz
# CD resin03.06
#./configure--prefix=/usr/local/resin--with-apxs=/usr/local/apache2/bin/apxs
# make
# make Install
3.3. Installation Pureftp
# tar ZXVF pure-ftpd-1.0.17a.tar.gz
# CD PURE-FTPD-1.0.17A
#./configure--prefix=/usr/local/pureftpd
--WITHOUT-INETD--with-puredb
--with-cookie--with-throttling
--with-ratios--with-quotas
--with-ftpwho--with-largefile
--with-welcomemsg
# make
# make Install
# MKDIR/USR/LOCAL/PUREFTPD/ETC
4, Configuration software:
Objective: To use Apache and resin as domain-based virtual hosts to enable resin's own load balancing engine. Resin's load-balancing engine can actually start multiple Java response processes and load-balancing through internal mechanisms.
4.1, configure Apache:
# vi/usr/local/apache2/conf/httpd.conf