修改linux默认启动界面——从命令行模式转换为图形化模式

从命令行模式转换为图形化模式

首先需要安装对应的图形化安装包

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

image

posted on 2024-04-03 18:54  代码你敲我不敲  阅读(429)  评论(0)    收藏  举报

导航

返回顶端