rhel5.5快速搭建本地yum源

mount /dev/cdrom /mnt

cd /etc/yum.repos.d/

vi rhel-debuginfo.repo 

[rhel-debuginfo]

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

baseurl=file:///mnt/Server

enabled=1

gpgcheck=1

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

标红的第一个地方写具体路径,第二个地方enabled值由0改为1



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