首页 > 其他 > 详细

centos7 设置系统默认启动的界面

时间:2017-07-01 14:09:23      阅读:297      评论:0      收藏:0      [点我收藏+]

系统默认 以某种方式启动 

 

使用systemd创建符号链接指向默认运行级别。

 修改方法为:在root下

1.首先删除已经存在的符号链接
rm /etc/systemd/system/default.target
----------------------------------------------------------------------------------
2.默认级别转换为3(DOS模式)
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
----------------------------------------------------------------------------------
或者 默认级别转换为5(图形模式)
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
----------------------------------------------------------------------------------
3.重启
reboot

centos7 设置系统默认启动的界面

原文:http://www.cnblogs.com/Aocctu/p/7102205.html

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