iptables iptables 是用户空间的命令行工具,真正实现包过滤,转发,地址转化的 netfilter 模块 iptables 表链关系 表/链 prerouting input output forward postrouting raw √ √ √ mangle √ √ √ √ nat ...
分类:
其他好文 时间:
2021-04-10 13:26:02
阅读次数:
0
Maven 遇到Idea中无论如何导入依赖都是调用中央仓库而不是镜像源的问题 检查IDEA中maven配置是否正确 查看是否使用的是自己的setting.xml配置 检查镜像源配置是否有错 <!-- 阿里云镜像仓库 --> <mirror> <id>nexus-aliyun</id> <mirror ...
分类:
其他好文 时间:
2021-04-08 12:54:58
阅读次数:
0
一、iptables防火墙 1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # ...
分类:
系统相关 时间:
2021-04-07 11:31:55
阅读次数:
0
部署prometheus监控端mkdir /opt/monitor/[root@zabbix ~]# tar -xf prometheus-2.25.0.linux-amd64.tar.gz -C /opt/monitor/[root@zabbix ~]# mv prometheus-2.25.0. ...
分类:
其他好文 时间:
2021-04-06 14:27:18
阅读次数:
0
一、iptables常用命令 #查看已有的防火墙规则链 iptables -L #清空已有的防火墙规则链 iptables -F #把 INPUT 规则链的默认策略设置为拒绝 iptables -P INPUT DROP #向 INPUT 链中添加允许 ICMP 流量进入的策略规则 iptables ...
分类:
系统相关 时间:
2021-04-05 11:55:37
阅读次数:
0
下载maven安装包 下载地址:https://maven.apache.org/download.cgi wget https://mirrors.bfsu.edu.cn/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar. ...
分类:
其他好文 时间:
2021-03-29 11:46:34
阅读次数:
0
嘿,看到这里的同学应该是想要修改默认的setting文件,比如给加上阿里云镜像的,但是找不到在那里。截图展示。 在本地找到idea的App,点右键,查看包内容 顺着包目录找下去。找到该路径 {IDEA安装目录}\plugins\maven\lib\maven3\conf\settings.xml 修 ...
分类:
其他好文 时间:
2021-03-08 13:19:17
阅读次数:
0
四大核心功能:filter, nat, mangle, raw 1.【清楚默认规则】 iptables -P INPUT ACCEPT iptables -F # 清空所有规则 iptables -X # 清空所有自定义规则 iptables -Z # 计算器0 2.【配置规则】 [vim /etc ...
分类:
其他好文 时间:
2021-03-01 14:16:49
阅读次数:
0
镜像汇总 maven国内镜像源 //阿里云镜像 <mirror> <id>alimaven</id> <mirrorOf>central</mirrorOf> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/r ...
分类:
其他好文 时间:
2021-03-01 13:25:23
阅读次数:
0
[root@zhaodong zhaodong]# iptables -I INPUT -s 192.168.10.0/24 -p tcp --dport 22 -j ACCEPT [root@zhaodong zhaodong]# iptables -A INPUT -p tcp --dport ...
分类:
系统相关 时间:
2021-03-01 13:25:10
阅读次数:
0