码迷,mamicode.com
首页 >  
搜索关键字:firewall    ( 1565个结果
Redis的安全配置
安装redis服务端sudoapt-getinstallredis-server查看redis服务端进程ps-aux|grepredisRedis服务器状态netstat-nlt|grep6379安全配置设置只有内网IP可以访问1、将redis.conf里的bind127.0.0.1修改成本机本地IP2、仅对特定IP开放该端口firewall-cmd--permanent--add-rich-ru
分类:其他好文   时间:2019-07-16 14:09:34    阅读次数:111
Centos7开放及查看端口
1、开放端口 firewall-cmd --zone=public --add-port=5672/tcp --permanent # 开放5672端口 firewall-cmd --zone=public --remove-port=5672/tcp --permanent #关闭5672端口 f ...
分类:其他好文   时间:2019-07-16 00:33:51    阅读次数:137
centos7 增加开放端口
添加 firewall-cmd --zone=public --add-port=80/tcp --permanent (--permanent永久生效,没有此参数重启后失效) 重新载入 不然不生效 firewall-cmd --reload 查看 firewall-cmd --zone=publi ...
分类:其他好文   时间:2019-07-15 13:31:10    阅读次数:198
解决mosh: Nothing received from server on UDP port 60001 环境: centos7.1
主要问题在于有的教程使用iptables命令来开启对应端口, 但是centos7.1中虽然iptables仍然存在, 但是没有默认安装相关服务, 而是使用firewalld来管理防火墙. 所以我开始以为开启了对应端口, 其实没有. 我们先查看对应端口是否开启 firewall-cmd --query ...
分类:其他好文   时间:2019-07-15 01:26:15    阅读次数:220
Centos7通过yum跟源码编译安装Nginx
源码编译安装 http://nginx.org/en/download.html 到官网下载,然后用XFTP上传到root目录 把文件解压出来 然后用yum安装依赖项 如果没装以上相关的依赖,会在./configure过程中出现各种错误 下图是没装gcc包的错误,我看网上要装gcc-c++,但我发现 ...
分类:其他好文   时间:2019-07-14 23:55:33    阅读次数:207
CentOs7 使用iptables开启关闭端口
介绍 iptables命令是Linux上常用的防火墙软件,是netfilter项目的一部分 iptables文件设置路径:命令:vim /etc/sysconfig/iptables-config 注意事项 如果说你以前使用的是contos7 那么默认使用的防火墙那么就是Firewall 这样的话, ...
分类:其他好文   时间:2019-07-14 11:32:19    阅读次数:113
CentOS7 相关配置
nginx 1、在线安装nginx yum install nginx 2、启动nginx服务 systemctl start nginx 3、防火墙设置 打开http防火墙:firewall-cmd --zone=public --permanent --add-service=http 重新加载 ...
分类:其他好文   时间:2019-07-12 18:42:07    阅读次数:80
无线网络 security or firewall settings might be blocking the connection
把无线网卡驱动卸载,重启电脑,电脑自动重装网卡驱动后,问题解决 FYI https://ccm.net/forum/affich 616357 firewall blocking internet connection ...
分类:其他好文   时间:2019-07-11 14:13:39    阅读次数:309
Linux之防火墙【CentOS 7】
CentOS 7默认使用的是firewall作为防火墙,这里改为iptables防火墙。 firewall操作: # service firewalld status; #查看防火墙状态 (disabled 表明 已经禁止开启启动 enable 表示开机自启,inactive 表示防火墙关闭状态 a ...
分类:系统相关   时间:2019-07-08 21:06:17    阅读次数:151
linux服务器初始化(防火墙、内核优化、时间同步、打开文件数)
#!/bin/bash read -p 'enter the network segment for visiting the server:' ips # 关闭firewalld和selinux systemctl stop firewalld systemctl disable firewall... ...
分类:系统相关   时间:2019-07-08 14:08:10    阅读次数:203
1565条   上一页 1 ... 36 37 38 39 40 ... 157 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!