标签:第三方yum源
安装第三方YUM源可以让我们轻松下载安装所需软件,自动解决依赖关系。。
目前阿里源、163源、epel源,大都是Centos的,/etc/yum.repos.d/下面是系统官方的源,连上网或许也可以用(我反正从没用过。。。)
下面我以Centos6.5系统为例
[root@localhost~]# cd /etc/yum.repos.d 配置本地yum源
[root@localhost~]# yum -y install wget
# 安装epel源,因为资源比较全#这是6系列系统的源rpm -Uvh http://mirrors.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpm #这是7系列系统的源7系统安装这个 rpm -Uvh http://mirrors.kernel.org/fedora-epel/7Server/x86_64/e/epel-release-7-8.noarch.rpm#安装163源,和epel互补,速度也较快
#这是6系列系统的源wget http://mirrors.163.com/.help/CentOS6-Base-163.repo#这是7系列系统的源 wget http://mirrors.163.com/.help/CentOS7-Base-163.repo yum makecache
这就完成了!
本文出自 “11000174” 博客,请务必保留此出处http://11010174.blog.51cto.com/11000174/1900300
标签:第三方yum源
原文地址:http://11010174.blog.51cto.com/11000174/1900300