4000-520-616
欢迎来到免疫在线!(蚂蚁淘生物旗下平台)  请登录 |  免费注册 |  询价篮
主营:原厂直采,平行进口,授权代理(蚂蚁淘为您服务)
咨询热线电话
4000-520-616
当前位置: 首页 > 新闻动态 >
热卖商品
新闻详情
haproxy实战配置_polygun2000_新浪博客
来自 : 新浪博客 发布时间:2021-03-24
补充一个方便的技巧

haproxy官方提供了针对vim的语法文件,可以高亮显示keyword,对于修改配置文件来说很方便。

方法说一下:

1.将haproxy源码中example目录中的haproxy.vim复制到$HOME/.vim/syntax/
2.修改$HOME/.vimrc,加入: au BufRead,BufNewFile haproxy* set ft=haproxy

八、系统安全加固

[root@haproxy ~]#yum installyum-remove-with-leaves

[root@haproxy ~]#yum remove gccmake

[root@haproxy ~]#remove-list

system-config-firewall-base

iptables-ipv6

dhcp-common

pciutils-libs

efibootmgr

dhclient

kernel-firmware

iwl5150-firmware

iwl6050-firmware

iwl6000g2a-firmware

iwl6000-firmware

ql2400-firmware

ql2100-firmware

libertas-usb8388-firmware

ql2500-firmware

zd1211-firmware

rt61pci-firmware

ql2200-firmware

ipw2100-firmware

ipw2200-firmware

iwl5000-firmware

ivtv-firmware

xorg-x11-drv-ati-firmware

atmel-firmware

iwl4965-firmware

iwl3945-firmware

rt73usb-firmware

ql23xx-firmware

bfa-firmware

iwl100-firmware

b43-openfwwf

aic94xx-firmware

iwl1000-firmware

[root@haproxy ~]#for I in `cat remove-list`;do yum -y remove $i;done



八、参考文档

1-http://mattiasgeniar.be/2010/11/04/a-custom-init-d-start-up-script-for-haproxy-start-stop-restart-reload-checkconfig/

2-http://www.snapt-ui.com/haproxy/simple-sysctl-tunings-for-haproxy/

3-https://gist.github.com/4039319

4-http://www.cyberciti.biz/files/linux-kernel/Documentation/networking/tproxy.txt

5-http://blog.exceliance.fr/2012/09/10/how-to-get-ssl-with-haproxy-getting-rid-of-stunnel-stud-nginx-or-pound/

6-http://www.symantec.com/connect/articles/apache-2-ssltls-step-step-part-2

7-http://www.igvita.com/2008/05/13/load-balancing-qos-with-haproxy/

8-http://h10025.www1.hp.com/ewfrf/wc/document?cc=us lc=en dlc=en tmp_geoLoc=true docname=c03561757

9-http://www.debuntu.org/how-to-log-haproxy-messages-only-once/#more-713

10-https://transloadit.com/blog/2010/08/haproxy-logging

11-http://kvz.io/blog/2010/08/11/haproxy-logging/

12-https://gist.github.com/1271962

13-http://www.rsyslog.com/doc/rsyslog_conf_actions.html

14-http://tehlose.wordpress.com/2011/10/10/a-log-file-for-each-virtual-host-with-haproxy-and-rsyslog/

15-http://jit.nuance9.com/2009/11/haproxy-routing-by-domain-name.html

16-http://unethicalblogger.com/2010/01/16/virtual-hosting-with-haproxy-and-wsgi.html

17-http://blog.silverbucket.net/post/31927044856/3-ways-to-configure-haproxy-for-websockets

18-http://blog.csdn.net/dog250/article/details/7107537

19-http://www.linuxjournal.com/content/monitoring-processes-kill

20-http://gurucollege.net/technology/ha-lamp-with-keepalived-pt2/

21-http://zauc.wordpress.com/2010/08/31/keepalived-conf之vrrp-instance部分解读/

22-http://interu.hatenablog.com/entry/20081024/1224784798

23-http://bbs.ywlm.net/thread-845-1-1.html

24-http://heylinux.com/archives/1942.html

25-http://www.intel.com/content/www/us/en/ethernet-controllers/82575-82576-82598-82599-ethernet-controllers-latency-appl-note.html

26-http://blog.csdn.net/turkeyzhou/article/details/7528182

27-http://www.vmware.com/files/pdf/techpaper/VMW-Tuning-Latency-Sensitive-Workloads.pdf

28-http://www.intel.com/support/cn/network/sb/cs-025829.htm

29-http://kaivanov.blogspot.kr/2015/02/keepalived-using-unicast-track-and.html

30-http://www.golinuxhub.com/2013/03/setting-up-custom-tcpip-keep-alive.html

31-https://serversforhackers.com/using-ssl-certificates-with-haproxy

32-https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-nginx-for-centos-6

33-http://man.lupaworld.com/content/manage/vi/doc/syntax.html

本文链接: http://polyresyn.immuno-online.com/view-690928.html

发布于 : 2021-03-24 阅读(0)
公司介绍
品牌分类
联络我们
服务热线:4000-520-616
(限工作日9:00-18:00)
QQ :1570468124
手机:18915418616
官网:http://