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

各大云服务商的yum源

时间:2018-06-04 17:49:18      阅读:253      评论:0      收藏:0      [点我收藏+]

标签:yum源

阿里云的yum源
Linux CentOS 5.x
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repo

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

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

网易的yum源

Linux CentOS 5.x
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS5-Base-163.repo

Linux CentOS 6.x
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS6-Base-163.repo

Linux CentOS 7.x
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo

搜狐的yum源

wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo

中科大的yum源

wget http://centos.ustc.edu.cn/CentOS-Base.repo

EPEL的yum源

Linux CentOS 5.x
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5.noarch.rpm

Linux CentOS 6.x
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

Linux CentOS 7.x
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

各大云服务商的yum源

标签:yum源

原文地址:http://blog.51cto.com/13444271/2124661

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