zookeeper: zkServer.sh status没有到主机的路由 没有到主机的路由这种问题很常见,多数是由机器的防火墙没有关闭。 Ubuntu查看防火墙状态ufw status关闭防火墙ufw disablecentos6查看防火墙状态service iptables status关闭防火 ...
分类:
其他好文 时间:
2018-12-17 02:21:38
阅读次数:
395
centos 7 中没有iptables 和service iptables save 指令使用失败 1.任意运行一条iptables防火墙规则配置命令: iptables -P OUTPUT ACCEPT 2.对iptables服务进行保存: service iptables save 如果上述命 ...
分类:
其他好文 时间:
2018-12-12 13:24:47
阅读次数:
267
1.关闭防火墙 1.1 查看防火墙状态 service iptables status 1.2 关闭防火墙 service iptables off 1.3 关闭防火墙开机启动 chkconfig iptables off 2.关闭selinux vi /etc/selinux/config 将 S ...
分类:
其他好文 时间:
2018-12-12 00:20:48
阅读次数:
174
监控背景: firewalld是CentOS 7.0新推出的管理netfilter的工具,firewalld是配置和监控防火墙规则的系统守护进程。可以实现iptables,ip6tables,ebtables的功能。通俗点来说,firewalld相当于linux系统的一扇门,这道门管控着系统数据包的 ...
分类:
系统相关 时间:
2018-12-11 17:27:04
阅读次数:
397
1:centos6的两种方式 1.1:service方式 查看防火墙状态: [root@centos6 ~]# service iptables status iptables:未运行防火墙。 开启防火墙: [root@centos6 ~]# service iptables start 重启防火墙 ...
分类:
其他好文 时间:
2018-12-11 12:50:50
阅读次数:
189
一. iptables 概念详解 参考: iptables概念 https://www.cnblogs.com/metoy/p/4320813.html https://blog.csdn.net/fuzhongfaya/article/details/82022181 1. 组成 linux的防火 ...
分类:
其他好文 时间:
2018-12-10 15:51:27
阅读次数:
226
显然是请求被服务器的防火墙给拦截了 1,vi /etc/sysconfig/iptables 2,在倒数第三行以前添加 -A INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT 3,重启防火墙 service iptable ...
分类:
数据库 时间:
2018-12-10 14:21:59
阅读次数:
278
数据包找网关路线:进路由前(路由选择) 入站 出站 不找网关的路线:进路由钱 转发 出路由后 以上的数据传输过程的选择是通过iptables来实现的 防火墙五条线 进路由前:prerouting 出路由后:postrouting 转发:forward 入站:input 出站:output Filte ...
分类:
其他好文 时间:
2018-12-08 13:30:08
阅读次数:
115
How to Install Apache Tomcat 8.5 on CentOS 7.3 From: https://www.howtoforge.com/tutorial/how-to-install-tomcat-on-centos/ This tutorial exists for the ...
分类:
Web程序 时间:
2018-12-07 14:41:53
阅读次数:
202
iptables一般的只需要关注两个表,一个是nat表,一个是filter表,其他表暂时用不到,然后nat表里有三个链,filter表里有三个链,总结两个表,五个链入站数据流向:数据包到达防火墙后首先被PREROUTING链处理(是否修改数据包地址等),然后进行路由选择(判断数据包发往何处),如果数据包的目标地址是防火墙本机(如:Internet用户访问网关的Web服务端口),那么内核将其传递给I
分类:
其他好文 时间:
2018-12-07 11:45:22
阅读次数:
239