一、设置yum源 1、上传下载镜像(略) 2、挂载镜像 mkdir -p /data/centos/ mount -o ro /data/package/CentOS-7.9-x86_64-DVD-2009.iso /data/centos