centos7有关于防火墙的命令

news/2024/6/14 17:27:07 标签: centos, linux, iptables

查看防火墙状态
firewall-cmd --state
开启防火墙
systemctl start firewalld.service
关闭防火墙
systemctl stop firewalld.service


http://www.niftyadmin.cn/n/1620475.html

相关文章

分布式技术

这里写自定义目录标题1. 分布式技术1. 分布式与集群的区别2. 分布式2.1. 什么是分布式2.2. 为什么会有分布式CAP 定理的含义1. 分布式系统的三个指标2. Partition tolerance3. Consistency4. Availability5. Consistency 和 Availability 的矛盾6. 答疑7. 取舍策略8. 总结分布式…

iOS web remote debug 正确的姿势

在使用iOS Remote debug需要做以下准备 1. iOS devices 开启java script and web inspector 开启方式如下: 2. mac OS 自带的Safari开启develop 模式 开启方法如下: 如何使用iOS remote debug?

Google Chrome打开权限设置开关(摄像头,录音等)

在搜索框输入以下字符 chrome://flags/#unsafely-treat-insecure-origin-as-secure

docker-compose 配置

这里写自定义目录标题1. docker-compose 配置1. docker-compose 配置 根据官方文档Compose file version 3 reference 中 docker-compose.yml 大致格式如下: version: "3" --> 指使用 docker-compose 的哪个版本,这里使用第 3 版,目前最…

MapGuide open source开发心得一:简介

MapGuide open source development I: introductionMapGuide是世界上最好的WebGis开发平台。1 MapGuide有免费版和商业版,分别叫MapGuide Open Source和MapGuide Enterprise。2 MapGuide open source不仅免费,而且永远完全开源。3 MapGuide是用c编写的&a…

Alphine Linux

这里写自定义目录标题1. Alphine Linux1.1. Alphine Linux 配置1.1.1. 配置启动延时1.1.2. How to enable and start services on Alpine Linux1.1.3. Writing Init Scripts2. Alphine Linux 安装 NodeJS2.1. Alphine Linux 安装 NodeJS 的思路2.2. Dockerfile2.3. 我提取出来的…

通用脱敏工具类和判断URL

通用脱敏工具类 public class DesensitizationUtil {private static final int SIZE 6;private static final String SYMBOL "*";/*** 通用脱敏方法* param value* return*/public static String commonDisplay(String value) {if (null value || "".e…

Linux 如何挂载 U 盘

这里写自定义目录标题1. Linux 如何挂载 U 盘2. Linux Disk2.1. 查看磁盘2.1.1. 查看磁盘大小3. Mounting CD-ROM1. Linux 如何挂载 U 盘 以 root 用户登陆, 先加载 USB 模块 modprobe usb-storage用 fdisk -l 看看 U 盘的设备, 假如 U 盘是 sda1 确定在目录 /mnt 下建立了文…