Fedora 資料一覧

サービスを無効化する方法

2008/9/10更新

対応バージョン: 6,7,8,9

以下の手順で無効化する。

サービス停止

# service <サービス> stop

ランレベル毎の有効/無効設定変更

# chkconfig --level 2345 <サービス> off

# chkconfig --list <サービス>
<サービス>   0:off   1:off   2:off   3:off   4:off   5:off   6:off

例) iptablesを無効化する

# service iptables stop

# chkconfig --level 2345 iptables off

# chkconfig --list iptables
iptables     0:off   1:off   2:off   3:off   4:off   5:off   6:off