1.关闭selinux:
临时:setenforce 0
永久:vi /etc/sysconfig/selinux
SELINUX=disabled
2.关闭防火墙:
Centos6.5:
临时:service iptables stop
永久:chkconfig iptables off