{"id":571,"date":"2021-07-17T23:13:24","date_gmt":"2021-07-17T15:13:24","guid":{"rendered":"http:\/\/popoo.pro\/?p=571"},"modified":"2022-12-23T17:12:08","modified_gmt":"2022-12-23T09:12:08","slug":"centos7-firewall-cmd-not-found","status":"publish","type":"post","link":"https:\/\/popoo.pro\/index.php\/2021\/07\/17\/centos7-firewall-cmd-not-found\/","title":{"rendered":"Centos7 firewall-cmd not found"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img src=\"https:\/\/img-blog.csdnimg.cn\/20190428103113534.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\"\/><\/figure>\n\n\n\n<p>\u672a\u8bc6\u522b\u7684\u547d\u4ee4 firewall-cmd<\/p>\n\n\n\n<p>\u53ef\u80fd\u662f\u6ca1\u6709\u5b89\u88c5firewall\u3002\u5b89\u88c5\u547d\u4ee4:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1.yum install firewalld <\/code><\/pre>\n\n\n\n<p>firewalld\u7684\u57fa\u672c\u4f7f\u7528<\/p>\n\n\n\n<p>\u542f\u52a8\uff1a systemctl start firewalld<\/p>\n\n\n\n<p>\u5173\u95ed\uff1a systemctl stop firewalld<\/p>\n\n\n\n<p>\u67e5\u770b\u72b6\u6001\uff1a systemctl status firewalld<\/p>\n\n\n\n<p>\u5f00\u673a\u7981\u7528 \uff1a systemctl disable firewalld<\/p>\n\n\n\n<p>\u5f00\u673a\u542f\u7528 \uff1a systemctl enable firewalld<\/p>\n\n\n\n<p>\u67e5\u770b\u5f00\u653e\u7684\u7aef\u53e3\uff1afirewall-cmd --list-ports<br>\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014<br>\u539f\u6587\u94fe\u63a5\uff1ahttps:\/\/blog.csdn.net\/qq_27751535\/article\/details\/89633138<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>\u672a\u8bc6\u522b\u7684\u547d\u4ee4 firewall-cmd \u53ef\u80fd\u662f\u6ca1\u6709\u5b89\u88c5firewall\u3002\u5b89\u88c5\u547d\u4ee4: firewalld\u7684\u57fa\u672c\u4f7f\u2026 <span class=\"read-more\"><a href=\"https:\/\/popoo.pro\/index.php\/2021\/07\/17\/centos7-firewall-cmd-not-found\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/popoo.pro\/index.php\/wp-json\/wp\/v2\/posts\/571"}],"collection":[{"href":"https:\/\/popoo.pro\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/popoo.pro\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/popoo.pro\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/popoo.pro\/index.php\/wp-json\/wp\/v2\/comments?post=571"}],"version-history":[{"count":5,"href":"https:\/\/popoo.pro\/index.php\/wp-json\/wp\/v2\/posts\/571\/revisions"}],"predecessor-version":[{"id":608,"href":"https:\/\/popoo.pro\/index.php\/wp-json\/wp\/v2\/posts\/571\/revisions\/608"}],"wp:attachment":[{"href":"https:\/\/popoo.pro\/index.php\/wp-json\/wp\/v2\/media?parent=571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/popoo.pro\/index.php\/wp-json\/wp\/v2\/categories?post=571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/popoo.pro\/index.php\/wp-json\/wp\/v2\/tags?post=571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}