Centos7
关闭 selinux: vim/etc/selinux/config 把SELINUX=enforcing改为SELINUX=disabled
关闭防火墙:systemctl disable firewalld.service