1、先停用CentOS7自带的防火墙 //关闭防火墙 systemctl stop firewalld.service //永久关闭防火墙 systemctl disable firewalld.service 2、安装iptables yum install -y iptables-service ...
分类:
其他好文 时间:
2021-06-02 20:03:37
阅读次数:
0
Tomcat安装(解压缩安装) 1、安装好了Java环境后我们可以测试下Tomcat!准备好Tomcat的安装包! 2、将文件移动到/usr/tomcat/下,并解压! [root@kuangshen kuangshen]# mv apache-tomcat-9.0.22.tar.gz /usr [ ...
分类:
系统相关 时间:
2021-06-02 13:42:48
阅读次数:
0
目标 安全 稳定 廉价 快速 容灾 扩展 服务器 基础数据 腾讯云 2核 8GB 5Mbps 安全组配置 开放80、443,允许全部ip访问 开放22、6443,开放当前ip访问 环境 # 卸载firewalld,由安全组统一管理端口 sudo dnf remove firewalld # 关闭交换 ...
分类:
其他好文 时间:
2021-06-02 12:19:37
阅读次数:
0
原文地址:https://jingyan.baidu.com/article/49ad8bce97bd965834d8fa8b.html 刚使用centos7会发现,用以前的方式查看、打开和关闭防火墙都无效了。这是因为centos7的防火墙改用firewalld,而不再使用iptables了。下面就 ...
分类:
其他好文 时间:
2021-05-24 17:14:08
阅读次数:
0
wget http://nginx.org/download/nginx-1.16.1.tar.gz # 解压 tar -xzf nginx-1.16.1.tar.gz cd nginx-1.16.1 # yum升级 yum update # yum安装依赖 yum -y install gcc p ...
分类:
Web程序 时间:
2021-05-24 15:28:40
阅读次数:
0
firewall的操作 1.firewalld的基本使用 启动: systemctl start firewalld查状态:systemctl status firewalld 停止: systemctl disable firewalld禁用: systemctl stop firewalld在开 ...
分类:
其他好文 时间:
2021-05-24 06:54:27
阅读次数:
0
IaaS 平台构建 1.关闭防火墙,禁止开机自启 systemctl stop firewalld systemctl disable firewalld 2.设置主机名 hostnamectl set-hostname controller 设置主机名compute 3.设置selinux,per ...
分类:
其他好文 时间:
2021-04-29 12:11:43
阅读次数:
0
防火墙由netfilter组成,iptables是控制netfilter的软件 iptables(重点)- 用户空间的工具 环境准备 systemctl stop firewalld.service systemctl disable firewalld.service 或systemctl dis ...
分类:
系统相关 时间:
2021-04-28 12:11:32
阅读次数:
0
配置防火墙问题 最近在服务器上部署项目时遇到了用ip访问不了的问题, 在一个纯洁的unbantu环境中 需要先安装防火墙 sudo apt install firewalld 然后启动防火墙 systemctl restart firewalld 我出现了防火墙被锁定的提示 Failed to re ...
分类:
其他好文 时间:
2021-03-06 14:21:48
阅读次数:
0
关防火墙(master 和 work 执行) systemctl stop firewalld systemctl disable firewalld 关SeLinux(master 和 work 执行) # 查看状态 [root@192 ~]# getenforce Enforcing # 临时关 ...
分类:
其他好文 时间:
2021-02-22 12:44:14
阅读次数:
0