若需要立即停用 iptables,可執行停止服務命令;若要永久關閉,則需停用開機自啟。
service iptables stop chkconfig iptables off service iptables status
執行後可透過 status 確認防火牆是否已停止。
若希望程式崩潰時產生 core 檔案,可先編輯使用者的 bash_profile,將 core 大小限制設為無限制,再重新載入設定。
vi ~/.bash_profile ulimit -c unlimited source ~/.bash_profile
此設定可協助後續除錯,但正式環境仍需搭配磁碟空間與安全策略使用。