redhat 5 yum本地源搭建

redhat 5 yum本地源搭建


# cp -rv /media/RHEL_5.8\ x86_64\ DVD/Server /home/  (redhat 5.8)

# mv /home/Server /home/yum   (redhat 5.8)

# vi /etc/yum.repos.d/rhel-debuginfo.repo


[rhel-debuginfo]

name=Red Hat Enterprise Linux $releasever - $basearch - Debug

baseurl=file:///home/yum  

enabled=1 (默认为0)

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release


:wq


# yum update


本文出自 “linux” 博客,谢绝转载!

你可能感兴趣的:(redhat,yum,5,本地源)