日期:2014-05-16  浏览次数:20593 次

linux修改服务自启

查看服务自启情况

chkconfig --list|grep iptables

iptables??????? 0:off?? 1:off?? 2:on??? 3:on??? 4:on??? 5:on??? 6:off

关闭自启

chkconfig --level 35 iptables off

查看服务自启情况

chkconfig --list|grep iptables

iptables??????? 0:off?? 1:off?? 2:on??? 3:off?? 4:on??? 5:off?? 6:off

?