centos5.5 无法使用yum解决办法
来源:互联网 发布:betterzip mac 编辑:程序博客网 时间:2024/06/05 05:17
vi /etc/yum.repos.d/CentOS-Base.repo
#
# 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=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://vault.centos.org/5.11/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
baseurl=http://vault.centos.org/5.11/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
baseurl=http://vault.centos.org/5.11/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
baseurl=http://vault.centos.org/5.11/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
baseurl=http://vault.centos.org/5.11/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
阅读全文
0 0
- centos5.5 无法使用yum解决办法
- CentOS5无法使用yum的解决办法
- CentOS5.5使用yum来安装LAMP
- CentOS-5的yum源无法使用解决办法
- CentOS5.5 yum 源
- CentOS5.5无法使用ifconfig命令
- 解决CentOS5.5无法使用ifconfig命令
- CentOS5.5使用yum和光盘安装软件
- Centos5.5 本地YUM源
- centos5 yum 安装mysql5.5
- CENTOS5.5 YUM安装SVN
- centos5.5 yum 安装nginx
- redhat5 使用centos5替代yum 解决方案
- CentOS5 使用163的yum源
- python升级导致yum命令无法使用的解决办法
- RedHat未注册 无法使用yum的解决办法
- python升级导致yum命令无法使用的解决办法
- python升级导致yum命令无法使用的解决办法
- tensorflow之简单卷积神经网络(CNN)搭建
- angularjs工作原理解析
- HTML标签
- 77.组合问题
- 搭建图片服务器
- centos5.5 无法使用yum解决办法
- Django文件存储(二)定制存储系统
- 【剑指offer】题63:二叉搜索树的第k个节点
- TreeMap分析
- 【学习笔记】云服务器使用入门
- bzoj3734 [Ontak2013]Miny
- 编写Makefile
- 【jzoj5344】【NOIP2017模拟9.3A组】【摘果子】【树型依赖背包】
- tensorflow笔记: 转载的资源