1.
mkdir /mnt/iso
mkdir /mnt/cdrom
2.
mount -o loop /mnt/iso/CentOS-6.5-x86_64-bin-DVD1.iso /mnt/cdrom
df -h
3.
vi CentOS-Media.repo
[c5-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
file:///mnt/cdrom/
file:///media/cdrecorder/
gpgcheck=0
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
4.
yum clean
yum list