Centos coming with dvd/cd as installation media, in some case you 
want to use it as yum repository. In this tech tips posting, I used 
centos 6.1 DVD#1. 
1. Mount your dvd media under one of this directory as default :
 a. /media/CentOS/
b. /media/cdrom/
c. /media/cdrecorder/
b. /media/cdrom/
c. /media/cdrecorder/
2. edit the configuration : 
# vi /etc/yum.repos.d/CentOS-Media.repo      make sure enabled = 1
3
. Test # yum --disablerepo=\* --enablerepo=c5-media install groupinstall "X Window System" "GNOME Desktop Environment" 
