使用VMware
打开网址 https://developer.aliyun.com/mirror/
找到centos
找centos 8
没有wget包使用或者的curl
wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-8.repo
输入dnf install vim -y