Apache+resin virtual host and load balancing

Source: Internet
Author: User

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



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.