CentOS自带的YUM源下载速度太慢,一般都换成国内的YUM源,一般网易的是比较快的,下载速度可达到700/S左右,而且更新速度快。
EPEL全称: Extra Packages for Enterprise Linux.传说中最全的yum源 通过以下命令安装: CentOS 6.x 32-bit rpm -Uvh http://mirror.overthewire.com.au/pub/epel/6/i386/epel-release-6-7.noarch.rpm CentOS 6.x 64-bit rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm CentOS 5.x 32-bit rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm CentOS 5.x 64-bit rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm 想暂停使用EPEL,在下面的文件中设置enabled=0即可. vim /etc/yum.repos.d/epel.repo
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软件仓库
CentOS配置YUM源(163、搜狐)
转载正题:
更新方法如下:
先进入yum源配置目录
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Centos7.9 清华yum源配置
清华YUM源配置
CentOS centos -
centos 7.0配置 163 yum源
yum centos7.0
yum centos7.0 -
为 CentOS 6.5 配置163 yum 源
为 CentOS 6.5 配置163 yum 源
linux yum repo -
配置163yum源
163yum
163yum -
163yum源配置
yum源
yum 源配置