设置centos5.3 yum源
来源:互联网 发布:hadoop安装教程windows 编辑:程序博客网 时间:2024/05/16 08:36
1.修改/etc/yum.repos.d/CentOS-Base.repo为
[base]
name=CentOS-5 - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever5&arch=$basearch&
repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#released updates
[update]
name=CentOS-5 - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=updates
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#packages used/produced in the build but not released
[addons]
name=CentOS-5 - Addons
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=addons
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#additional packages that may be useful
[extras]
name=CentOS-5 - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=extras
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-5 - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=centosplus
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
#contrib - packages by Centos Users
[contrib]
name=CentOS-5 - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=contrib
baseurl=http://ftp.sjtu.edu.cn/centos/5.3/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5
2.执行:
64位:
32位:
3.执行
- 设置centos5.3 yum源
- 设置centos5.3 yum源
- 现用centos5.3yum源
- centos5.3添加国内快速yum源
- centos5.3添加国内快速yum源
- CentOS5.5 yum 源
- centos5.8 yum源
- centos5安装yum源
- CentOS5.6环境下设置yum代理
- CentOS5.4上海交大YUM源
- Centos5.5 本地YUM源
- CentOS5.4 yum 源配置
- centos5本地yum源配置
- 设置Centos5.3防火墙
- Centos5 用光盘作为本地yum源
- CentOS5.7 yum软件源的问题
- CentOS5.8 163Yum源配置文件
- CentOS5 使用163的yum源
- 关于WCF双向通信的想法
- 电子商务时代的网络营销
- SQL Server CHARINDEX和PATINDEX详解
- html,css.js
- 09年经典网络营销案例
- 设置centos5.3 yum源
- 1000瓶酒与老鼠的问题
- ArcGIS Server 9.3部署时碰到的部分问题
- 获取SQL Server元数据的几种方法
- C++中的虚函数与多态性
- n70提示存储卡已坏,但在电脑上有读卡器能识别
- 纯 JS FCKEditor 输入验证
- C#创建Windows服务(Windows Services) 实战之系统定时重启服务
- UE使用技巧