yum groupinstall “GNOME Desktop” “Graphical Administration Tools”
(如果安装过程中出现以下错误)
Transaction check error:
file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.2.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
file /usr/sbin/blkdeactivate from install of device-mapper-7:1.02.107-5.el7_2.2.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
file /usr/share/man/man8/blkdeactivate.8.gz from install of device-mapper-7:1.02.107-5.el7_2.2.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
Error Summary
则需要先执行以下两条安装命令
yum install -y libdevmapper*
yum install -y docker
安装完成后重新执行上面的安装 Gnome包命令
安装后,重启系统会出来如下界面:
按 “1”,回车
按“2”, 回车
按”q”, 回车
按“yes”,回车即可进入系统
3、进入系统后,需要设置桌面为默认启动,设置命令为: systemctl set-default graphical.target