Server Deployment - apache2.x

阅读更多
Server Deployment - apache2.x

Install the apache2.x on Ubuntu system according to the previous blogs.

1. enable the modules we need
>a2enmod proxy
>a2enmod proxy_balancer
>a2enmod proxy_http

2. configurations in /etc/apache2/httpd.conf

   BalancerMember http://localhost:8083/easymarket loadfactor=1
   BalancerMember http://localhost:8084/easymarket loadfactor=1
   BalancerMember http://localhost:8085/easymarket loadfactor=1


ProxyPass /easymarket balancer://easymarket


SetHandler balancer-manager
Order Deny,Allow
Deny from all
Allow from all


3. verify the website on URLs:
http://localhost:81/easymarket

you can see the status on URLs:
http://localhost:81/balancer-manager

references:
http://hi.baidu.com/luohuazju/blog/item/4da10152741af5040cf3e3fe.html

你可能感兴趣的:(Ubuntu,Blog,HTML)