标签:yum
1.在vmware里加载光盘2.配置/etc/yum.repos.d/
cp -r /etc/yum.repos.d /etc/yum.repos.d.bak
cd /etc/yum.repos.d
rm -rf /etc/yum.repos.d/* #别误删,注意该命令
vi Centos-Local.repo
[Local]
name = Local yum
baseurl=file:///yum/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=1
标签:yum
原文地址:http://blog.51cto.com/13522822/2091085