2011年3月22日
摘要: 首先下载haproxy包:wget http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.13.tar.gz安装:tar zxvf haproxy-1.4.13.tar.gzmake TARGET=linux26 PREFIX=/usr/local/haproxy ##我的系统内核为2.6,所以target=linux26make install PREFIX=/usr/local/haproxy然后进行配置:vi /etc/haproxy/haproxy.cfg##写入以下内容:###########全局配置#########global da 阅读全文
posted @ 2011-03-22 11:29 Junw_china 阅读(12437) 评论(0) 推荐(0) 编辑