前言
在CentOS默认的yum中有时会没有我们所需要的安装包,这是就需要配置第三方源。配置好源后直接yum就可以安装使用所需要的软件包了
操作步骤
1、备份(如有配置其他epel源)
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup
mv /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup
2、下载新repo 到/etc/yum.repos.d/
epel(RHEL 7)
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
epel(RHEL 6)
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-6.repo
epel(RHEL 5)
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-5.rep
3、yum安装你所需要的软件
(责任编辑:最模板)这就完成了。 |

ecshop亚马逊amazon外贸模板
人气:1451
ecshop红酒模板|红酒程序源
人气:859
免费ecshop响应式设计手机
人气:16800
ecshop韩国女装模板|女装批
人气:1959
乐到家手机数码商城|ecs
人气:548
ecshop红色综合商城(推荐
人气:1599