如果你按照的是我的配置文件写的,不能看到datanode很可能是防火墙没关的原因 把防火墙都停了 service iptables stop chkconfig iptables off ...
分类:
Web程序 时间:
2019-08-30 22:29:15
阅读次数:
136
一,安装iptables 二,查看规则 三,清空规则 四,添加规则 五,删除规则 ...
分类:
其他好文 时间:
2019-08-30 19:15:07
阅读次数:
73
查看防火墙的状态# service iptables status1永久关闭防火墙# chkconfig iptables off1关闭防火墙# /etc/init.d/iptables stop 1查看网络配置路径 cd /etc/sysconfig/network-scripts/配置文件 if ...
分类:
其他好文 时间:
2019-08-29 16:27:43
阅读次数:
136
Linux中有两种防火墙软件,ConterOS7.0以上使用的是firewall,ConterOS7.0以下使用的是iptables,本文将分别介绍两种防火墙软件的使用。 Firewall 开启防火墙: 关闭防火墙: 查看防火墙状态: 设置开机启动: 禁用开机启动: 重启防火墙: 开放端口(修改后需 ...
分类:
系统相关 时间:
2019-08-28 13:07:58
阅读次数:
98
设置静态IP关闭防火墙 systemctl stop firewalld iptables -F setenforce 0PXE部署一部署FTP服务,安装包vsftpd 1建立共享文件夹 (可以拷贝光碟文件到centos7下,也可直接挂载) mkdir /var/ftp/centos7 2启动FTP ...
分类:
其他好文 时间:
2019-08-28 13:03:00
阅读次数:
82
关闭防火墙 1)重启后生效 开启: chkconfig iptables on 关闭: chkconfig iptables off 验证防火墙是否关闭:chkconfig --list |grep iptables2) 即时生效,重启后失效 开启: service iptables start 关 ...
分类:
系统相关 时间:
2019-08-28 10:40:05
阅读次数:
107
1、查看某个端口占用 lsof -i tcp:80 2、查看是否安装了防火墙 service iptables status 查看是否启用防火墙/etc/init.d/iptables status 3、查看全部安装的文件包yum list installed 4、查看有多少个php-fpm执行ps ...
分类:
其他好文 时间:
2019-08-28 00:57:12
阅读次数:
92
一)需求背景 为了封禁某些爬虫或者恶意用户对服务器的请求,我们需要建立一个动态的 IP 黑名单。 对于黑名单之内的 IP ,拒绝提供服务。 二)设计方案 实现 IP 黑名单的功能有很多途径: 1、在操作系统层面,配置 iptables,拒绝指定 IP 的网络请求; 2、在 Web Server 层面... ...
分类:
其他好文 时间:
2019-08-27 19:40:51
阅读次数:
321
1,资源下载 2,部署pp-server2.1 上传资源mkdir /home/pp_rescd /home/pp_res/通过FTP工具将附件上传到/home/pp_res/目录下检查上传是否成功ll /home/pp_res/2.2安装和配置JDKcd /home/pp_res/tar -zxv ...
分类:
其他好文 时间:
2019-08-27 00:39:02
阅读次数:
79
原文: http://blog.gqylpy.com/gqy/318 Redhat Enterprise Linux7已默认使用 防火墙,其管理工具是 。使用方式也发生了很大的改变。 基于 的防火墙已默认不启动,但仍然可以继续使用。 RHEL7中有这几种防火墙共存: 、`iptables ip6ta ...
分类:
其他好文 时间:
2019-08-27 00:38:11
阅读次数:
85