mkdir -p /root/soft/RHEL cp -r /run/media/root/RHEL/. /root/soft/RH安装盘内容做本地YUM源EL vim /etc/yum.repos.d/cdrom.repo [rhel-media] name=Red Hat Enterprise Linux 7.5 baseurl=file:///root/soft/RHEL enabled=1 gpgcheck=1 gpgkey=file:///root/soft/RHEL/RPM-GPG-KEY-redhat-release :wq! yum clean all yum makecache
原文地址:https://www.cnblogs.com/vincent-liang/p/10920085.html
时间: 2024-10-09 10:25:29