运行级别
Sign in to saveA runlevel is a mode of operation in the computer operating systems that implements Unix System V-style initialization. Conventionally, seven runlevels exist, numbered from zero to six. S is sometimes used as a synonym for one of the levels. Only one runlevel is executed on startup; run levels are not executed one after another (i.e. only runlevel 2, 3, or 4 is executed, not more of them sequentially or in any other order).
Article · 中文
运行级别(Runlevel)指的是Unix或者Linux等类Unix操作系统下不同的运行模式。运行级别通常分为7等,分别是从0到6,但如果必要的话也可以更多。 例如在大多数Linux操作系统下一共有如下7个典型的运行级别: * 0 停机,关机 * 1 单用户,无网络连接,不运行守护进程,不允许非超级用户登录 * 2 多用户,无网络连接,不运行守护进程 * 3 多用户,正常启动系统 * 4 用户自定义 * 5 多用户,带图形界面 * 6 重启 在Debian Linux中,2-5这四个运行级别都集中在级别2上。这个级别也是系统预设的正常运行级别。 运行级别定义了机器启动后的状态。 在全新的Linux systemd中已经使用target代替Runlevel,如multi-user.target相当于init 3,graphical.target相当于init 5,但是SystemD仍然兼容运行级别(Runlevel)。目前绝大多数发行版已采用systemd代替UNIX System V。
Abstract from DBpedia / Wikipedia · CC BY-SA