云yum仓库配置
首先裝給wget
yum -y? install? wget
進(jìn)入yum目錄 : cd /etc/yum.repos.d
將大M文件移到bak目錄內(nèi)
wget -O /etc/yum.repos.d/aliyun.repo ? http://mirrors.aliyun.com/repo/epel-6.repo (阿里yum源)
wget -O /etc/yum.repos.d/163.repo? http://mirrors.163.com/.help/CentOS6-Base-163.repo (163的yum源)
清空緩存 : yum -y cleanall
重建緩存 : yum makecache
?
轉(zhuǎn)載于:https://www.cnblogs.com/lijianjie/p/9930007.html
總結(jié)
- 上一篇: RHEL7.2系统下的软件管理(yum)
- 下一篇: 编写一个微信小程序