Navigation : Top/Linux/runlevelの設定

runlevelの設定


* runl evel設定のコマンド [#ia9f0948]
** Redhat系統 [#qb59a90b]
- chkconfig
- update-rc.d
** Debian系統 [#kb9929be]
- sysv-rc-conf

* run levelの考え方 [#y469821a]
** Redhat系統 [#z0c54241]
run levelが上がると処理の付加が大きくなるように設定されている.
- run level 3: command line
- run level 5: X-Windows
設定を変える場合は以下のファイルを変更する.
- /etc/initab
** Debian系統 [#p9bf4411]
run levelの番号は,起動するデーモンのセットとして考えられている.
つまり,番号の数と負荷は関係ない.
デフォルトの機動はrun level 2である.
設定を変える場合は以下のファイルを変更する.
- /etc/event.d/rc-default