文章参考:http://ox0spy.github.io/debian/2014/06/26/setup-lvs-and-keepalived-on-debian/nginx
亲测可用,有一个坑,若是你对着文档作,极可能就忘记web server要开启nginx了,service nginx start,哈哈哈git