Show Table of Contents
F.4.2. Runlevel 工具程式
使用 initscript 工具來設定 runlevel 是最佳方式之一。這些工具主要被設計來簡化在 SysV init 目錄層級維修檔案的作業,和免除系統管理員必須在
/etc/rc.d/ 的子目錄下直接操作數個符號連結的必要性。
Red Hat Enterprise Linux 提供了三項這樣的工具程式:
/sbin/chkconfig—/sbin/chkconfig是一項簡易的指令列工具,用來維護/etc/rc.d/init.d/目錄層級。- /usr/sbin/ntsysv — 一項基於 ncurses 的 /sbin/ntsysv 工具程式,它提供了一個互動式的文字模式介面,部份使用者覺得和
chkconfig相比之下更容易使用。 - 服務配置工具 — 圖形化的服務配置工具(
system-config-services)這個程式是一個用來配置 runlevel 時相當靈活的工具。
欲取得更多有關於這些工具的相關資訊,請參閱《Red Hat Enterprise Linux 建置指南‧服務與 Daemon》一章。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.