Redhat build local Yum source
Mount disc
# Mkdir/home/yum
# cp-rv/media/rhel_6.5\ x86_64\ disc\ 1/packages/home/ yum/
# rpm-i/home/yum/deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
# rpm-i/home/yum/ python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
# rpm-i/home/yum/createrepo-0.9.9-18.el6.noarch.rpm
# createrepo-d/home/yum/
# cp/etc/yum.repos.d/rhel-source.repo/etc/yum.repos.d/ Rhel-source.repo.bak
# Vi/etc/yum.repos.d/rhel-source.repo
Press A or I into edit mode
[Rhel-source-beta]
name=red Hat Enterprise Linux $releasever beta-$basearch-source
baseurl=file:///home/yum/ (default = Baseurl= ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/srpms/)
enabled=1 (default = 0)
Gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-beta,file:///etc/pki/rpm-gpg/ Rpm-gpg-key-redhat-release
Press the ESC key to exit edit mode
: Wq (Save and exit)
# yum update
# yum Install minicom (test)
This article from "Linux" blog, declined reprint!
Redhat build local Yum source