1、配置阿里云yum源
更换yum源为阿里云的yum源,因为后续Centos7可能也会停止官方的yum源支持,所以需要手动更换。
备份官方yum源配置文件并下载阿里云yum源配置文件:
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
清除缓存生产新的缓存:
yum clean all
yum makecache
2、准备工作
首先查看是否装有GNOME和VNC:
安装tigervnc: