apache+resin 的虛擬機器主機和負載平衡

來源:互聯網
上載者:User

  1、前言

  apache+resin來做想來大家都比較熟悉了,一般的配置都是很熟悉的了,我查看了一些論壇上的文章,這方便的文章比較多。在這裡,我只要寫寫apache+resin實現獨立的虛擬機器主機和resin內建的負載平衡。

  2、系統和環境:

  redhat9 and solaris9

  httpd-2.50

  resin-3.06

  pure-ftpd-1.0.17a.tar.gz

  3、安裝軟體:

  3.1、安裝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、安裝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、安裝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、配置軟體:

  目的:用apache和resin做基於網域名稱的虛擬機器主機,啟用resin自身的負載平衡的引擎。resin的負載平衡引擎實際上是可以啟動多個java響應進程,通過內部機制來進行負載平衡。

  4.1、配置apache:

  # vi /usr/local/apache2/conf/httpd.conf



聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.