把所有sohu的删了,就留下deb
http://ftp.us.debian.org/debian/ wheezy-backports main,安装成功!
手舞足蹈的修改/etc/haproxy/haproxy.cfg
修改内容为:
global
ulimit-n 51200
defaults
log global
mode tcp
option dontlognull
contimeout 1000
clitimeout 150000
srvtimeout 150000
frontend ss-in
bind *:8388
default_backend ss-out
backend ss-out
server server1 US_VPS_IP:8388 maxconn 20480
大喊一声yeah!后 haproxy -f /etc/haproxy/haproxy.cfg
出现以下错误:
[WARNING] 033/195122 (4357) : parsing [/etc/haproxy/haproxy.cfg:43] : the 'contimeout' directive is now deprecated in favor of 'timeout connect', and will not be supported in future versions.
[WARNING] 033/195122 (4357) : parsing [/etc/haproxy/haproxy.cfg:44] : the 'clitimeout' directive is now deprecated in favor of 'timeout client', and will not be supported in future versions.
[WARNING] 033/195122 (4357) : parsing [/etc/haproxy/haproxy.cfg:45] : the 'srvtimeout' directive is now deprecated in favor of 'timeout server', and will not be supported in future versions.
[ALERT] 033/195122 (4357) : Starting frontend ss-in: cannot bind socket [0.0.0.0:8388]
我的天!是要怎样?