基於haproxy+Apache的負載均衡的實現

一、三臺服務器 LB:安裝haproxy Yum –y install haproxy Vim /ect/haproxy/haproxy.cfg 具體配置文件如下:     RS:進行httpd的安裝 Yum –y install httpd Vim /var/www/html/index.html 將兩臺服務器分別輸出「server1」和「server2」 啓動httpd:service h
相關文章
相關標籤/搜索