Linux 的系统运行级别

cat /etc/inittab  

#   0 - halt (Do NOT set initdefault to this)                    系统停机状态,系统默认不能设置成0
#   1 - Single user mode                                               单用户模式,root权限,用于维护,此模式下登陆不需要密码,禁止远程登陆
#   2 - Multiuser, without NFS (The same as 3, if you do not have networking)          多用户状态,没有网的情况下和3一样
#   3 - Full multiuser mode            多用户状态,命令行模式  也是系统默认启动(没有安装图形界面的情况下)
#   4 - unused                                未使用,一般是开发状态使用
#   5 - X11                                     图形桌面模式
#   6 - reboot (Do NOT set initdefault to this)      重启  设置此级别一开机就重启
#
id:3:initdefault:

[root@mrxw ~]# runlevel     查看运行级别
N 3

猜你喜欢

转载自www.cnblogs.com/Mr-wx/p/8987343.html