配置运行级别的最好方法是使用 initscript utility。这些工具可以简化 SysV init 目录里的文件的维护任务,使系统管理员不需要直接操作 /etc/rc.d/
的子目录下大量的符号链接。
Fedora provides three such utilities:
/sbin/chkconfig
— /sbin/chkconfig
是一个简单的命令行工具,它可以维护 /etc/rc.d/init.d/
目录层次结构。
/usr/sbin/ntsysv — 基于 ncurses 的 /sbin/ntsysv 提供一个交互式的文本界面,这比 chkconfig
更加容易使用。
Services Configuration Tool — 图形化的 服务配置工具(Services Configuration Tool)(system-config-services
)程序是一个灵活的配置运行级别的工具。
Refer to the chapter titled Controlling Access to Services in the Red Hat Enterprise Linux Deployment Guide for more information regarding these tools.