1.基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火墙 service iptables start # 重启防火墙 service iptables restart # 永久关闭防火墙 chkco ...
分类:
其他好文 时间:
2020-06-02 18:44:01
阅读次数:
58
CentOS7修改主机名 查看当前的主机名 第一种方法 [root@localhost ~]# hostname localhost.localdomain 第二种方法 [root@localhost ~]# hostnamectl Static hostname: localhost.locald ...
分类:
其他好文 时间:
2020-06-01 01:07:20
阅读次数:
86
1:查看防火状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop firewalld service iptables stop 3:永久关闭防火墙 systemctl disable firew ...
分类:
系统相关 时间:
2020-05-31 23:16:44
阅读次数:
121
公式来自官方文档,戳->(Conv3d — PyTorch master documentation) 本文仅作记录,顺便练习Latex语法 \(D_{out}=\frac{D_{in}+2\times padding[0]-dilation[0]\times(kernel\_size[0]-1)- ...
分类:
其他好文 时间:
2020-05-31 16:08:36
阅读次数:
230
linux防火墙的相关命令 一、iptables防火墙(需要安装防火墙sudo apt-get install firewalld命令查看插件) 1、基本操作 # 查看防火墙状态 service iptables status # 停止防火墙 service iptables stop # 启动防火 ...
分类:
系统相关 时间:
2020-05-31 13:08:40
阅读次数:
56
背景 Read the fucking source code! --By 鲁迅 A picture is worth a thousand words. --By 高尔基 说明: Kernel版本:4.14 ARM64处理器,Contex-A53,双核 使用工具:Source Insight 3. ...
分类:
系统相关 时间:
2020-05-31 12:38:36
阅读次数:
126
#防火墙iptables ##四表五链: iptables:应用层内置控制防火墙的工具 netfilter:防火墙功能的具体实现,是内核空间的功能模块 通过iptables工具设置规则,netfilter根据该规则进行匹配并执行动作 ###四表: raw mangle nat filter ###五 ...
分类:
其他好文 时间:
2020-05-31 10:42:19
阅读次数:
61
一个合格的Linux运维工程师就必须知道系统启动流程,不管是在面试中还是系统故障排错或多或少都会涉及到启动流程。本文参考《鸟哥的Linux私房菜》第三版在了解系统启动流程之前先了解几个概念:Linux的组成部分:Kernel+rootfs(根文件系统)+程序Kernel的功能:进程管理、内存管理、网... ...
分类:
系统相关 时间:
2020-05-31 00:53:18
阅读次数:
117
RocketMQ本身支持顺序消息,在使用上发送顺序消息和非顺序消息有所区别 发送顺序消息 SendResult sendResult = producer.send(msg, new MessageQueueSelector() { @Override public MessageQueue sel ...
分类:
其他好文 时间:
2020-05-30 20:10:53
阅读次数:
66
1. 进程0创建进程1 init main.c sched_init() | |- hd_init() | |- fork() int 0x80//系统调度中断 | |- init() setup() int 0x80 | |- pause() int 0x80 | |- kernel sched. ...
分类:
系统相关 时间:
2020-05-30 15:54:43
阅读次数:
68