★ CentOS 安装图形界面

3个月前 (01-29) Rain-li 安装 已收录 50℃

一、更新YUM源(如果不先更新,可能会涉及兼容性问题,导致安装失败。)

root@centos:~# yum -y update

二、安装GUI

root@centos:~# yum groups install -y "Server with GUI"

三、设置图形界面为默认启动

root@centos:~# systemctl set-default graphical.target

字符界面与图形界面切换

[root@centos]# systemctl get-default #查看运行级别
[root@centos]# systemctl set-default graphical.target #设置图形界面
[root@centos]# systemctl set-default multi-user.target #设置字符界面

博主

这货来去如风,什么鬼都没留下!!!

相关推荐

嗨、骚年、快来消灭0回复。