Red hat 6.4 本地源
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Red hat 6.4 本地源相关的知识,希望对你有一定的参考价值。
根目录下新建iso文件夹,将光盘挂载至iso目录,再/etc/yum.repos.d/下新建rh7.repo文件,并修改成如下代码,禁用原来的repo文件。
[rh7-iso]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///iso/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
以上是关于Red hat 6.4 本地源的主要内容,如果未能解决你的问题,请参考以下文章
Red Hat Enterprise Linux 7.5安装盘内容做本地YUM源