码迷,mamicode.com
首页 >  
搜索关键字:Keepalived iptables    ( 7170个结果
red hat的防火墙怎么关闭
查看是否开启:service iptables status关闭方法:service iptables stop永远关闭:Ntsysv把iptables前的*号去掉。查看SELinux状态:1、/usr/sbin/sestatus -v ##如果SELinux status参数为enabled即为开...
分类:其他好文   时间:2014-07-16 21:41:22    阅读次数:185
利用lvs keepalived配置redis高可用及负载均衡
redis目前还是单点, 没有做高可用, 现在数据量越来越多, 如果下游消费不出问题还好, redis里面数据来了就走,但是下游一旦出问题, 分给redis的内存半小时就撑满了.看到redis3.0 beta版本已经提供了集群功能, 但是需要client以集群模式接入, 我们这么多上游用户, 不太可...
分类:其他好文   时间:2014-07-16 20:25:36    阅读次数:180
CentOS开启关闭防火墙
centos开启和关闭防火墙命令(1)临时生效,重启后还原开启: # service iptables start关闭: # service iptables stop(2)永久性关闭,重启后不会还原开启: # chkconfig iptables on关闭: # chkconfig iptable...
分类:其他好文   时间:2014-07-12 00:25:32    阅读次数:185
Cobbler自动安装的Linux系统ssh无法进入
Linux ssh登陆老提示“permission denied,please try again” ,但是iptables已经关掉了修改/etc/ssh/sshd_config文件。找如下的一句#PermitRootLogin yes改为如下的PermitRootLogin yes注意,要把前面的...
分类:系统相关   时间:2014-07-11 09:05:33    阅读次数:269
LVS配置
1keepalived配置文件!ConfigurationFileforkeepalivedglobal_defs{#notification_email{#acassen@firewall.loc#failover@firewall.loc#sysadmin@firewall.loc#}#notification_email_fromAlexandre.Cassen@firewall.loc#smtp_server192.168.200.1#smtp_connect_timeout30router_..
分类:其他好文   时间:2014-07-10 18:06:21    阅读次数:296
linux基本命令
1.新安装一台RHEL6.x或CentOS6.x虚拟机1)关闭防火墙、SELinux[root@localhost~]#serviceiptablesstop//关闭防火墙iptables:清除防火墙规则:[确定]iptables:将链设置为政策ACCEPT:filter[确定]iptables:正在卸载模块:[确定][root@localhost~]#chkconfigiptablesoff[root@..
分类:系统相关   时间:2014-07-08 10:10:44    阅读次数:298
/etc/sysctl.conf 报错
当我编译完内核参数后,#/sbin/sysctl-perror:"net.bridge.bridge-nf-call-ip6tables"isanunknownkeyerror:"net.bridge.bridge-nf-call-iptables"isanunknownkeyerror:"net.bridge.bridge-nf-call-arptables"isanunknownkey去网上一查,发现缺少bridge这个模块文件通过执行:mo..
分类:其他好文   时间:2014-07-05 23:05:49    阅读次数:234
Mysql上的RAC:Percona XtraDB Cluster负载均衡集群安装部署手册
Keepalived LVS mysql集群 Percona xtradb cluster 负载均衡...
分类:数据库   时间:2014-07-04 08:46:56    阅读次数:383
DHCP+NAT+IP隧道
DHCP+NAT+IP隧道...
分类:其他好文   时间:2014-07-04 07:10:17    阅读次数:326
shell脚本精华----在10秒内SSH登录失败次数超过3次就使用iptables/tcpwrappers拒绝
#!/bin/bashwhiletruedo badip=$(lastb-i-a|awk‘/ssh:notty/{print$NF}‘|sort|uniq-c|awk‘($1>3){print$2}‘) foriin$badip do iptables-tfilter-IINPUT-s$i-ptcp--dport22-jDROP done :>/var/log/btmp sleep10sdone
分类:移动开发   时间:2014-07-04 06:22:09    阅读次数:364
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!