linux整理-7-Linux系统启动级别管理

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qichangjian/article/details/86688398

使用runlevel命令可以查看系统运行的级别
[root@hadoop01 ~]# runlevel

修改系统默认启动级别:
[root@hadoop02 ~]# vi /etc/inittab

#Default runlevel. The runlevels used are:
#0 - halt (Do NOT set initdefault to this)
#1 - Single user mode
#2 - Multiuser, without NFS (The same as 3, if you do not have networking)
#3 - Full multiuser mode     ##  没有图形界面的全功能的多用户的启动级别
#4 - unused
#5 - X11                  ##  有图形界面的启动级别
#6 - reboot (Do NOT set initdefault to this)
#
id:3:initdefault:               ##  配置默认启动级别
## 通常将默认启动级别设置为:3

通常将默认启动级别设置为:3
在这里插入图片描述
`

猜你喜欢

转载自blog.csdn.net/qichangjian/article/details/86688398