Navigation : Top/runlevelの設定

runl evel設定のコマンド

Redhat系統

  • chkconfig
  • update-rc.d

Debian系統

  • sysv-rc-conf

run levelの考え方

Redhat系統

run levelが上がると処理の付加が大きくなるように設定されている.

  • run level 3: command line
  • run level 5: X-Windows 設定を変える場合は以下のファイルを変更する.
  • /etc/initab

Debian系統

run levelの番号は,起動するデーモンのセットとして考えられている. つまり,番号の数と負荷は関係ない. デフォルトの機動はrun level 2である. 設定を変える場合は以下のファイルを変更する.

  • /etc/event.d/rc-default