CentOS7关闭防火墙和selinux

直接上命令 
在root用户下 
systemctl stop firewalld 
systemctl disable firewalld 
systemctl status firewalld 
vi /etc/selinux/config 
把SELINUX=enforcing 改成 SELINUX=disabled 
重启电脑就可以了

原文地址:https://www.cnblogs.com/telwanggs/p/9492259.html