首页 > 其他 > 详细

CentOS7更改运行级别

时间:2019-02-01 17:42:36      阅读:193      评论:0      收藏:0      [点我收藏+]

Step 1:查看系统默认运行级别

[root@node-1 html]# systemctl get-default       //图形界面
graphical.target

[root@node-1 html]# systemctl list-units --type=target    //查看支持的运行级别

Step 2:更改运行级别为level3 

[root@node-1 html]# systemctl set-default multi-user.target
Removed symlink /etc/systemd/system/default.target.
Created symlink from /etc/systemd/system/default.target to /usr/lib/systemd/system/multi-user.target.
[root@node-1 html]#

Step 3:reboot

CentOS7更改运行级别

原文:https://www.cnblogs.com/networking/p/10346459.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!