zoukankan      html  css  js  c++  java
  • centos5 源失效解决办法

    将源文件备份

    [base]
    name=CentOS-$releasever - Base
    failovermethod=priority
    baseurl=http://vault.centos.org/5.11/os/$basearch/
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-5
    http://mirrors.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-5
    #released updates
    [updates]
    name=CentOS-$releasever - Updates
    failovermethod=priority
    baseurl=http://vault.centos.org/5.11/updates/$basearch/
    		http://mirrors.aliyuncs.com/centos/$releasever/updates/$basearch/
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-5
    http://mirrors.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-5
    #additional packages that may be useful
    [extras]
    name=CentOS-$releasever - Extras
    failovermethod=priority
    baseurl=http://vault.centos.org/5.11/extras/$basearch/
    		http://mirrors.aliyuncs.com/centos/$releasever/extras/$basearch/
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-5
    http://mirrors.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-5
    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-$releasever - Plus
    failovermethod=priority
    baseurl=http://vault.centos.org/5.11/centosplus/$basearch/
    		http://mirrors.aliyuncs.com/centos/$releasever/centosplus/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-5
    http://mirrors.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-5
    #contrib - packages by Centos Users
    [contrib]
    name=CentOS-$releasever - Contrib
    failovermethod=priority
    baseurl=http://vault.centos.org/5.11/contrib/$basearch/
    		http://mirrors.aliyuncs.com/centos/$releasever/contrib/$basearch/
    gpgcheck=1
    enabled=0
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-5
    http://mirrors.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-5
    

      

  • 相关阅读:
    C#调用存储过程的几个方法
    easyui 获取焦点
    easyui datagrid 添加统计行
    js 序列化form
    post 加返回判断
    启动journalnode时出现问题
    安装zookeeper集群及出现的问题
    win7旗舰版(64位)环境下oracle11g的安装方法(转)
    jdbc连接各种数据库方式列表
    在Windows平台上使用XManager 3.0连接Redhat 企业版 5和6.
  • 原文地址:https://www.cnblogs.com/lcxiao/p/11361037.html
Copyright © 2011-2022 走看看