Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2295812
  • 博文数量: 395
  • 博客积分: 10994
  • 博客等级: 上将
  • 技术积分: 5586
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-17 19:49
文章存档

2014年(1)

2013年(10)

2012年(74)

2011年(303)

2010年(7)

分类: LINUX

2011-03-10 18:48:32

# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.  
# The mirror system uses the connecting IP address of the client and the  
# update status of each mirror to pick mirrors that are updated to and  
# geographically close to the client.    You should use this for CentOS updates  
# unless you are manually picking other mirrors.  
#  
# If the mirrorlist= does not work for you, as a fall back you can try the     
# remarked out baseurl= line instead.  
#  
#   

[base]   
name=CentOS-$releasever - Base  
#mirrorlist=  
#baseurl=  
baseurl=  
gpgcheck=1   
gpgkey=  

#released updates      
[updates]   
name=CentOS-$releasever - Updates  
#mirrorlist=  
#baseurl=  
baseurl=  
gpgcheck=1   
gpgkey=  

#packages used/produced in the build but not released   
[addons]   
name=CentOS-$releasever - Addons  
#mirrorlist=  
#baseurl=  
baseurl=  
gpgcheck=1   
gpgkey=  

#additional packages that may be useful   
[extras]   
name=CentOS-$releasever - Extras  
#mirrorlist=  
#baseurl=  
baseurl=  
gpgcheck=1   
gpgkey=  

#additional packages that extend functionality of existing packages   
[centosplus]   
name=CentOS-$releasever - Plus  
#mirrorlist=  
#baseurl=  
baseurl=  
gpgcheck=1   
enabled=0   
gpgkey=

3. 导入key
 #rpm --import


阅读(1195) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2011-03-27 18:51:01

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com