RHEL centos开启与关闭图形化界面

来自linux中国网wiki
跳到导航 跳到搜索
[root@centos7 ~]# 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.


开 
systemctl set-default graphical.target