Deb系
Ubuntu的默认开机的runlevel是5,可以用’runlevel’命令来查看当前的默认运行级别。
debian的runlevel级别定义如下:
0 – Halt,关机模式
1 – Single,单用户模式
2 - Full multi-user with display manager (GUI)
3 - Full multi-user with display manager (GUI)
4 - Full multi-user with display manager (GUI)
5 - Full multi-user with display manager (GUI)
6 – Reboot,重启
S - 单用户恢复模式
2~5级是没有任何区别的,他们为多用户模式。
Rpm系
redhat 的runlevel级别定义如下:
0 – Halt,关机模式
1 – Single,单用户模式
2 – 多用户模式,但不能使用NFS(相当于Windows下的网上邻居)
3 – 字符界面的多用户模式
4 – Undefined
5 – Full multi-user with display manager (GUI)
6 – Reboot,重启

本文详细介绍了Debian(Deb系)与Redhat(Rpm系)操作系统的默认开机runlevel及其含义。Debian默认开机级别为5,支持GUI;Redhat则在不同的级别中提供了从单用户模式到完全的多用户GUI模式的各种选项。
2万+

被折叠的 条评论
为什么被折叠?



