(1) mount the CD
# mount /dev/cdrom /mnt
All repo files (2) delete the directory /etc/yum.repos.d
# Cp -r /etc/yum.repos.d /etc/yum.repos.d_bak
# rm -rf /etc/yum.repos.d/*
(3) create a new file dvd.repo
# vim /etc/repos.d/dvd.repo
[dvd]
name=install dvd
baseurl = file: /// mnt
enabled=1
gpgcheck=0
(4) generating the cache refresh repos
# yum makecache
(5) using the command yum install the required test package
# yum install -y tftp