mkdir /mnt/shufan
mount /dev/cdrom /mnt/shufan
ls /mnt/shufan
ls /etc/yum.repos.d/
rm -rf /etc/yum.repos.d/*.repo
yum-config-manager --add file:///mnt/shufan
yum clean all
yum repolist all
05-31
109
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-19
3284
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)