精品丰满熟女一区二区三区_五月天亚洲欧美综合网_亚洲青青青在线观看_国产一区二区精选

  • <menu id="29e66"></menu>

    <bdo id="29e66"><mark id="29e66"><legend id="29e66"></legend></mark></bdo>

  • <pre id="29e66"><tt id="29e66"><rt id="29e66"></rt></tt></pre>

      <label id="29e66"></label><address id="29e66"><mark id="29e66"><strike id="29e66"></strike></mark></address>
      學習啦>學習電腦>電腦安全>防火墻知識>

      CentOS7關閉防火墻和SELinux

      時間: 林澤1002 分享

        防火墻就是提供基于策略的網絡過濾,用于阻擋網絡策略所禁止的數(shù)據(jù)流通過。防火墻由幾部分組成,但最關鍵的部分通常是包過濾。下面是學習啦小編收集整理的CentOS7關閉防火墻和SELinux,希望對大家有幫助~~

        CentOS7關閉防火墻和SELinux

        工具/原料

        CentOS7

        SecureCRT(或XManager等ssh客戶端工具)

        防火墻(firewalld)

        臨時關閉防火墻

        systemctl stop firewalld

        永久防火墻開機自啟動

        systemctl disable firewalld

        臨時打開防火墻

        systemctl start firewalld

        防火墻開機啟動

        systemctl enable firewalld

        查看防火墻狀態(tài)

        systemctl status firewalld

        END

        SELinux

        臨時關閉SELinux

        setenforce 0

        臨時打開SELinux

        setenforce 1

        開機關閉SELinux

        編輯/etc/selinux/config文件,將SELINUX的值設置為disabled,如下圖。下次開機SELinux就不會啟動了。

        4查看SELinux狀態(tài)

        執(zhí)行getenforce命令

      CentOS7關閉防火墻和SELinux相關文章:

      1.unix 防火墻如何關閉

      2.如何關閉SUSE防火墻

      3.CentOS 7安裝完成后初始化教程

      4.redhat防火墻如何設置

      5.關閉不需要的Linux服務

      6.nfs如何配置防火墻

      7.CentOS怎么安裝FTP服務器

      8.CentOS上如何使用Samba共享文件夾

      2954943