CentOS配置YUM源(163、搜狐)
2014-04-19 11:01
681 查看
CentOS自带的YUM源下载速度太慢,一般都换成国内的YUM源,一般网易的是比较快的,下载速度可达到700/S左右,而且更新速度快。正题:更新方法如下:先进入yum源配置目录
cd /etc/yum.repos.d
备份系统自带的yum源
mv CentOS-Base.repo CentOS-Base.repo.save
下载yum源
163的yum源:
wget http://mirrors.163.com/.help/CentOS-Base-163.repo
sohu的yum源
wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
更新玩yum源后,建议更新一下,使操作立即生效
yum makecache
转载至 http://hongyuan1989.blog.51cto.com/2763144/1003927
cd /etc/yum.repos.d
备份系统自带的yum源
mv CentOS-Base.repo CentOS-Base.repo.save
下载yum源
163的yum源:
wget http://mirrors.163.com/.help/CentOS-Base-163.repo
sohu的yum源
wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
更新玩yum源后,建议更新一下,使操作立即生效
yum makecache
为CentOS安装EPEL软件仓库
EPEL全称: Extra Packages for Enterprise Linux.传说中最全的yum源通过以下命令安装:CentOS 6.x 32-bitrpm -Uvhhttp://mirror.overthewire.com.au/pub/epel/6/i386/epel-release-6-7.noarch.rpmCentOS 6.x 64-bitrpm -Uvhhttp://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpmCentOS 5.x 32-bitrpm -Uvhhttp://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpmCentOS 5.x 64-bitrpm -Uvhhttp://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm想暂停使用EPEL,在下面的文件中设置enabled=0即可.vim /etc/yum.repos.d/epel.repo转载至 http://hongyuan1989.blog.51cto.com/2763144/1003927
相关文章推荐
- CentOS配置YUM源(163、搜狐)
- CentOS配置YUM源(163、搜狐)
- CentOS配置YUM源(163、搜狐)
- CentOS配置网易163 yum源和EPEL yum源
- centos 7.0配置 163 yum源
- Centos配置163 yum源方法
- CentOS6.4配置163的yum源
- CentOS6.5配置163的yum源
- CentOS配置163的yum源
- centos6.4配置163 yum源的方法
- CentOS配置163的yum源
- CentOS配置网易163 yum源
- 配置RedHet linux 的yum源为163的CentOS
- Linux Redhat 和 CentOS配置国内163的yum源
- CentOS配置网易163 中科大 yum源
- CentOS6.4配置163的yum源
- CentOS配置网易163及本地yum源的配置
- redhat/centos配置163或者epel的YUM源。
- CentOS6.4配置163的yum源
- CentOS6.4配置163的yum源 分类: Linux 2015-06-02 22:45 32人阅读 评论(0) 收藏