#CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless
1.把光盘里的所有文件拷贝到/yum下
2.编辑 /etc/yum.repos.d/rhel-debuginfo.repo 代码如下:[base]name=Instructor Server Repositorybaseurl=file:///yum/Servergpgcheck=1# This one is needed for xen packages[VT]name=Instructor VT Repositorybaseurl=file:///yum/VTgpgcheck=1# This