从命令行模式转换为图形化模式
首先需要安装对应的图形化安装包
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
- 报错
Transaction check error:
file /boot/efi/EFI/centos from install of fwupdate-efi-12-5.el7.centos.x86_64 conflicts with file from package grub2-common-1:2.02-0.65.el7.centos.2.noarch
- 更新软件包
yum upgrade -y #(会升级所有包并删除旧包)
- 安装软件包组
yum groupinstall "GNOME Desktop" "Graphical Administration Tools"即可
修改默认启动配置
[root@hmm ~]# systemctl get-default
graphical.target
[root@hmm ~]# systemctl set-default graphical.target
[root@hmm ~]# systemctl get-default
graphical.target
[root@hmm ~]#
重启
[root@hmm ~]# reboot
标签:graphical,模式,hmm,systemctl,linux,root,图形化
From: https://www.cnblogs.com/humlogs/p/18113357