1、關閉SELinux:
編輯SELinux配置文件:
[root@Redis selinux]# vim /etc/selinux/config
修改SELINUX配置項為disable
SELINUX=disabled
2、關閉iptables防火牆:
清除iptables的配置文件條目:
[root@Redis selinux]# iptables -F [root@Redis selinux]# iptables -X [root@Redis selinux]# iptables -Z
查看iptables配置文件條目
[root@Redis selinux]# iptables -L
停止iptables服務:
[root@track local]# service iptables stop
關閉iptables啟動項:
[root@17track local]# chkconfig iptables off
[THE END]