04 2020 档案
摘要:防火墙(firewalld) 动态防火墙管理工具 定义区域与接口安全等级 运行时和永久配置项分离 两层结构 核心层 处理配置和后端,如iptables、ip6tables、ebtables、ipset和模块加载器 顶层D-Bus 更改和创建防火墙配置的主要方式。所有firewalld都使用该接口提供
阅读全文
摘要:[23:25:32 root@8 ~]#mount /dev/sdb2 /mntmount: /mnt: wrong fs type, bad option, bad superblock on /dev/sdb2, missing codepage or helper program, or ot
阅读全文
摘要:启动服务:systemctl start xxx.service 关闭服务:systemctl stop xxx.service 重启服务:systemctl restart xxx.service 显示服务的状态:systemctl status xxx.service 在开机时启用服务:syst
阅读全文
摘要:1.备份MBR分区表 dd if=/dev/sda of=/data/mbr.bak bs=1 count=64 skip=446 分区表前512字节分为三部分,第一部分446字节与启动相关 ,中间64字节为分区信息,后2字节为结束标志 使用hexdump -C -n 512 /dev/sda 查看
阅读全文
摘要:[root@localhost ~]# cd /etc/yum.repos.d/ [root@localhost yum.repos.d]# vim qinghua.repo [qinghua] name=qinghua baseurl=https://mirrors.tuna.tsinghua.e
阅读全文