Linux系统:CentOS 6.8
1. 永久关闭SELinux
修改配置文件
[root@localhost ~]# vi /etc/selinux/config
将 SELINUX=enforcing
改为 SELINUX=disabled
重启服务器
2. 永久关闭防火墙
[root@localhost ~]# chkconfig iptables on //开启
[root@localhost ~]# chkconfig iptables off //关闭