摘要: 问题:查看防火墙状态时报错service iptables status 解决方案 在CentOS 7或RHEL 7或Fedora中防火墙由firewalld来管理,当然你可以还原传统的管理方式,或则使用新的命令进行管理。本文中将还原传统的管理方式。 cd /etc/sysconfig ls -l 阅读全文
posted @ 2020-02-25 22:36 偷懒曦 阅读(7255) 评论(0) 推荐(0) 编辑
摘要: 1,yum provides /usr/sbin/semanage 2,yum -y install policycoreutils-python 3,semanage 阅读全文
posted @ 2020-02-25 15:59 偷懒曦 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 问题:关闭防火墙时报错service iptables status Redirecting to /bin/systemctl status iptables.serviceUnit iptables.service could not be found. 解决方案: cd /etc/syscon 阅读全文
posted @ 2020-02-25 12:21 偷懒曦 阅读(396) 评论(0) 推荐(0) 编辑
摘要: 问题:想查询本机IP地址,使用ifconfig命令时不能正常操作 问题排查: 1,ping百度是否可以正常ping通ping www.baidu.com 2,是否能够获取IP地址,确定网卡是否启用ip addr 3,查看文件/etc/sysconfig/network-scripts/ifcfg-e 阅读全文
posted @ 2020-02-25 10:20 偷懒曦 阅读(11749) 评论(0) 推荐(0) 编辑