centos8禁用selinux和防火牆


模板制作時centos8可以選擇最小化安裝

---------------------------------------------------------

selinux:

vi /etc/selinux/config

SELINUX=enabled 改為 SELINUX=disabled

reboot生效

----------------------------------------------------------

防火牆:

關閉:systemctl stop firewalld.service

禁用:systemctl disable firewalld.service

查看狀態:systemctl status firewalld.service

-----------------------------------------------------------

centos8開啟NeworkManager.service服務

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM