摘要: src:http://www.2cto.com/os/201308/238962.html执行某bash脚本是发生: syntax error: unexpected end of file主要问题是由windows下拷出文件到linux下执行的结果,因为windows某些文件格式与Linux并不是完全兼容,两种方法解决:1.vim处理:set fileformat=unix:wq2使用dos2unix工具dos2unix file------------------------------------------------------------------------src:http:/ 阅读全文
posted @ 2013-11-10 15:34 一天不进步,就是退步 阅读(623) 评论(0) 推荐(0) 编辑
摘要: 1.简易安装make TARGET=linux26 prefix=/usr/local/haproxy install启动haproxy在sbin目录,其余的在doc目录2. 配置hdr_beg(host) 阅读全文
posted @ 2013-11-10 11:02 一天不进步,就是退步 阅读(272) 评论(0) 推荐(0) 编辑