比思論壇

標題: LINUX 關閉防火牆指令 [打印本頁]

作者: LINUS    時間: 2011-7-11 20:34
標題: LINUX 關閉防火牆指令
關閉防火牆

service iptables stop

關閉SELINUX

CP命令

sed -i "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/sysconfig/selinux
setenforce 0
sed -i "s/alias cp='cp -i'/#alias cp='cp -i'/g" ~/.bashrc
su -

作者: abocide    時間: 2011-10-19 16:09
chkconfig iptables off





歡迎光臨 比思論壇 (http://108.170.5.102/) Powered by Discuz! X2.5