如果没有安装成功:selinux  没有关闭

vi /etc/sysconfig/selinux

SELINUX=disabled

防火墙是否开启    

关闭防火墙

[root@localhost ~]# /etc/init.d/iptables stop          关闭防火墙

iptables: Setting chains to policy ACCEPT: filter [  OK  ]

iptables: Flushing firewall rules: [  OK  ]

iptables: Unloading modules: [  OK  ]

[root@localhost ~]# /etc/init.d/iptables status      查看防火墙的状态

iptables: Firewall is not running.