env 系统环境配置,软件包安装 centos7 yum update -y sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/sysconfig/selinux # the file in some versions of the system are in /etc/selinux/config setenforce 0 service iptables stop #or systemctl stop firewalld hostnamec