mount /dev/cdrom /mnt/

cd /etc/yum.repos.d/

cd ..

cp -r yum.repos.d/ yum.repos.d.bak

cd yum.repos.d

ls

rm -rf CentOS-Base.repo 删掉之后就没办法用网络的yum源了

vim CentOS-Media.repo 搭建本地yum

[lcoal_cdrom]

name=cd

basurel=file:///mnt/

gpgcheck=0

enabled=1

保存退出

yum grouplist 

LANG=en

yum groupinstall -y "Khmer Support"