码迷,mamicode.com
首页 > 其他好文 > 详细

更换为阿里云的源

时间:2016-06-27 00:14:22      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:更换为阿里云的源

更换为阿里云的源

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo


wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo


yum makecache


下载rpm包,但是不安装:

yum install sshpass-1.05-1.el6.x86_64  -y --downloadonly --downloaddir=/usr/local/


参考:http://zhangge.net/4222.html


本文出自 “梅花香自苦寒来!” 博客,请务必保留此出处http://daixuan.blog.51cto.com/5426657/1793034

更换为阿里云的源

标签:更换为阿里云的源

原文地址:http://daixuan.blog.51cto.com/5426657/1793034

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!