7代及其之前
yum makecache && yum install vim net-tools -y&& yum update -y
8代
dnf makecache && dnf install vim net-tools -y&& dnf update -y