第一次来这边发问,如果问题太笨还请海涵 ><
================================================================
从DVD安装repository的时候,用以下步骤
(版本是RHEL 6.7 Beta)
1.
mount DVD到/mnt/pen
2.
修改/etc/yum.repos.d/dvd.repo
[dvd]
baseurl=file:///mnt/pen/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
但是会出现一个错误:
GPG key retrieval failed: [Errno 14] Could not open/read
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
到/etc/pki/rpm-gpg/路径下去看,是空的
然后我试 rpm