#contents
 ----
 * ランレベルの変更をしたいんだけど? [#ob3287df]
 
  通常、サーバはランレベル(runlevel)3,もしくはランレベル5で動作しています。
 
  ランレベル3=サーバとしての動作させるモード&br;
  ランレベル5=X Windows が起動するモード
 
  簡単にまとめてしまうと、こんな感じです。
 
  ランレベルの確認・変更は【 /etc/inittab 】ファイルを確認します。
 
  #
  # inittab       This file describes how the INIT process should set up
  #               the system in a certain run-level.
  #
  # Author:       Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
  #               Modified for RHS Linux by Marc Ewing and Donnie Barnes
  #
  
  # Default runlevel. The runlevels used by RHS are:
  #   0 - halt (Do NOT set initdefault to this)
  #   1 - Single user mode
  #   2 - Multiuser, without NFS (The same as 3, if you do not have networking)
  #   3 - Full multiuser mode
  #   4 - unused
  #   5 - X11
  #   6 - reboot (Do NOT set initdefault to this)
  #
  id:5:initdefault:
 
  16 行目に id: と書かれた行があります。この id: の横にあるのがランレベルの数字です。
 
  上記の例ではランレベルが5です。これを3に変えたいときは
  id:3:initdefault:
  このように書き換えます。
 
  設定はサーバの再起動後に有効となります。
 

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS