首页 > 系统服务 > 详细

linux yum源配置

时间:2015-10-25 17:53:16      阅读:316      评论:0      收藏:0      [点我收藏+]

2015-10-25

 

#!/bin/bash
### AUTHOR: Leo
### DATE: 2015/10/25
### NAME:yum.sh
### DESC:配置yum仓库

cd /etc/yum.repos.d
wget http://mirrors.opencas.cn/epel/epel-release-latest-6.noarch.rpm 
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
rpm -ivh epel-release-latest-6.noarch.rpm
rpm -ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
yum clean all && yum makecache
ls -hl

linux yum源配置

原文:http://www.cnblogs.com/cenliang/p/4909007.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!