码迷,mamicode.com
首页 > 其他好文 > 详细

CentOS 7关闭图形桌面开启文本界面

时间:2015-03-28 20:20:10      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:

1,命令模式
systemctl set-default multi-user.target


2,图形模式
systemctl set-default graphical.target

 

CentOS 7 巨大变动之 systemd 取代 SysV的Init

inittab is no longer used when using systemd.
#
# ADDING CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
#
# Ctrl-Alt-Delete is handled by /etc/systemd/system/ctrl-alt-del.target
#
# systemd uses ‘targets‘ instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To set a default target, run:
#
# ln -sf /lib/systemd/system/<target name>.target /etc/systemd/system/default.target
#

 

CentOS 7关闭图形桌面开启文本界面

标签:

原文地址:http://www.cnblogs.com/imsoft/p/4374703.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!