环境准备
关闭防火墙&selinux
1,安装图形(可选)
详细过程请参考:
https://www.linuxidc.com/Linux/2017-03/141348.htm
yum -y groupinstall "Server with GUI"
##开机自动进入桌面
##查看当前模式
systemctl get-default
##开机启动图形界面
systemctl set-default graphical.target(图形界面模式)
reboot(重启系统)
##开机启动字符界面模式
systemctl set-default multi-user.target(字符界面模式)
reboot
!!报错!!
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.64.el7.centos.noarch
Error Summary
解决
##由于文件fwupdate-efi 同grub2-common冲突所致,需要将该包通过yum update grub2-common命令进行更新。
yum update grub2-common -y
2,下载依赖包&&安装包
wget http://download-i