1. 關閉selinux
參考:http://docs.fedoraproject.org/en-US/Fedora/13/html/Security-Enhanced_Linux/sect-Security-Enhanced_Linux-Enabling_and_Disabling_SELinux-Disabling_SELinux.html
修改/etc/selinux/config文件中的SELINUX="" 爲 disabled,然後重啓。
setup 關閉防火牆
-->無效
setenforce 0
-->臨時有效
2. Fedora 19下面關閉selinux,或者執行chkconfig iptables off,都沒有關閉iptables,需要執行:
sudo systemctl stop firewalld.service (停止服務)
sudo systemctl disable firewalld.service (停止開機自啓動服務)