首页 > 系统相关 >Centos6.5 可用yum源

Centos6.5 可用yum源

时间:2023-07-13 18:25:30浏览次数:33  
标签:basearch http centos mirrors 可用 yum Centos6.5 releasever com

  1. /etc/yum.repos.d/CentOS-Base.repo
    # 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 - mirrors.aliyun.com
    failovermethod=priority
    baseurl=http://mirrors.aliyun.com/centos-vault/6.10/os/$basearch/
            http://mirrors.aliyuncs.com/centos-vault/6.10/os/$basearch/
            http://mirrors.cloud.tencent.com/centos/$releasever/os/$basearch/
            http://mirrors.tencentyun.com/centos/$releasever/os/$basearch/
    #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6
     
    #released updates 
    [updates]
    name=CentOS-$releasever - Updates - mirrors.aliyun.com
    failovermethod=priority
    baseurl=http://mirrors.aliyun.com/centos-vault/6.10/updates/$basearch/
            http://mirrors.aliyuncs.com/centos-vault/6.10/updates/$basearch/
            http://mirrors.cloud.tencent.com/centos/$releasever/updates/$basearch/
            http://mirrors.tencentyun.com/centos/$releasever/updates/$basearch/
    #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6
     
    #additional packages that may be useful
    [extras]
    name=CentOS-$releasever - Extras - mirrors.aliyun.com
    failovermethod=priority
    baseurl=http://mirrors.aliyun.com/centos-vault/6.10/extras/$basearch/
            http://mirrors.aliyuncs.com/centos-vault/6.10/extras/$basearch/
            http://mirrors.cloud.tencent.com/centos/$releasever/extras/$basearch/
            http://mirrors.tencentyun.com/centos/$releasever/extras/$basearch/
    #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
    gpgcheck=1
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6
     
    #additional packages that extend functionality of existing packages
    [centosplus]
    name=CentOS-$releasever - Plus - mirrors.aliyun.com
    failovermethod=priority
    baseurl=http://mirrors.aliyun.com/centos-vault/6.10/centosplus/$basearch/
            http://mirrors.aliyuncs.com/centos-vault/6.10/centosplus/$basearch/
            http://mirrors.cloud.tencent.com/centos/$releasever/centosplus/$basearch/
            http://mirrors.tencentyun.com/centos/$releasever/centosplus/$basearch/
    #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
    gpgcheck=1
    enabled=0
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6
     
    #contrib - packages by Centos Users
    [contrib]
    name=CentOS-$releasever - Contrib - mirrors.aliyun.com
    failovermethod=priority
    baseurl=http://mirrors.aliyun.com/centos-vault/6.10/contrib/$basearch/
            http://mirrors.aliyuncs.com/centos-vault/6.10/contrib/$basearch/
            http://mirrors.cloud.tencent.com/centos/$releasever/contrib/$basearch/
            http://mirrors.tencentyun.com/centos/$releasever/contrib/$basearch/
    #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
    gpgcheck=1
    enabled=0
    gpgkey=http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-6
    1. /etc/yum.repos.d/epel.repo
    2. [epel]
      name=Extra Packages for Enterprise Linux 6 - $basearch
      baseurl=http://mirrors.aliyun.com/epel-archive/6/$basearch
              http://mirrors.aliyuncs.com/epel-archive/6/$basearch
              http://mirrors.cloud.tencent.com/epel/6/$basearch
              http://mirrors.tencentyun.com/epel/6/$basearch
      #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
      failovermethod=priority
      enabled=1
      gpgcheck=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
       
      [epel-debuginfo]
      name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
      baseurl=http://mirrors.aliyun.com/epel-archive/6/$basearch/debug
              http://mirrors.aliyuncs.com/epel-archive/6/$basearch/debug
              http://mirrors.cloud.tencent.com/epel/6/$basearch/debug
              http://mirrors.tencentyun.com/epel/6/$basearch/debug
      #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
      failovermethod=priority
      enabled=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
      gpgcheck=0
       
      [epel-source]
      name=Extra Packages for Enterprise Linux 6 - $basearch - Source
      baseurl=http://mirrors.aliyun.com/epel-archive/6/SRPMS
              http://mirrors.aliyuncs.com/epel-archive/6/SRPMS
              http://mirrors.cloud.tencent.com/epel/6/SRPMS
              http://mirrors.tencentyun.com/epel/6/SRPMS
      #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
      failovermethod=priority
      enabled=0
      gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
      gpgcheck=0

      yum clean all && yum makecache

标签:basearch,http,centos,mirrors,可用,yum,Centos6.5,releasever,com
From: https://www.cnblogs.com/wanglilu1987/p/17551736.html

相关文章

  • 解决redis yum的具体操作步骤
    如何安装RedisYum1.简介在开始讲解安装RedisYum之前,我们先来了解一下Redis和Yum的概念。Redis是一种基于内存的高性能键值存储数据库。它通过提供多种数据结构,如字符串、哈希表、列表、集合等,使得开发者可以方便地在内存中存储和操作数据,并提供了丰富的命令用于数据操作。Yu......
  • CentOS 环境下通过 YUM 安装软件
    操作场景为提升用户在云服务器上的软件安装效率,减少下载和安装软件的成本,腾讯云提供了YUM下载源。在CentOS环境下,用户可通过yum命令快速安装软件。对于YUM下载源,用户不需要添加软件源,可以直接安装软件包。操作步骤安装软件使用root帐号登录云服务器,并对应您实......
  • Ubuntu资源暂时不可用 E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源
    ubuntu使用apt时出现Ubuntu资源暂时不可用E:无法获得锁/var/lib/dpkg/lock-frontend-open(11:资源暂时不可用)一般是已经存在apt进程占用了,通过ps-grep查看ps-grep|apt查到相关进程后通过kill删掉kill-93298kill-93302再依次执行下面命令sudorm/var/cache......
  • 6.MySQL中间件mycat和MHA高可用
    MySQL中间件代理服务器数据切分方式垂直切分水平切分MyCAT数据库中间件实现数据分库,读写分离java程序要运行必须有jvm安装mycat1.下载安装Javayum-yinstalljava2.安装mycat和配置Mycat-server-1.6.7.6-release-20220524173810-linux.tar.gz解压[16:15:3......
  • 【开机10】解决出现问题,你的PIN不可用,单击以重新设置PIN 无法打开相机 设置我的PIN 登
    \(弄了1.5个小时,找到这个视频,终于弄好了!!!!!!\)\(如果各位基友出现这种问题,可以参考。\)【开机10】解决出现问题,你的PIN不可用,单击以重新设置PIN无法打开相机设置我的PIN登录选项诊断启动禁用服务后问题解决......
  • 转载:在linux下如何使用yum查看安装了哪些软件包
    yum针对软件包操作常用命令:1.使用YUM查找软件包命令:yumsearch2.列出所有可安装的软件包命令:yumlist3.列出所有可更新的软件包命令:yumlistupdates4.列出所有已安装的软件包命令:yumlistinstalled5.列出所有已安装但不在YumRepository内的软件包命令:yumlistext......
  • 07-Nginx搭建高可用集群
    1.Keepalived+Nginx高可用集群(主从模式)2.配置高可用的准备工作3.在两台服务器上安装keepalived4.完成高可用配置(主从配置)5.最终测试1.Keepalived+Nginx高可用集群(主从模式)2.配置高可用的准备工作需要两台服务器需要keepalived需要虚拟ip3.在两台服务器......
  • CentOS8配置本地yum源
    CentOS8配置本地yum源要切换到root用户下进行以下操作一、创建我们准备要挂载目录mkdir-p/media/cdrom二、将光盘目录挂载到/media/cdrom目录下mount/dev/cdrom/media/cdrom挂载时报错:mount:nomediumfoundon/dev/sr02、解决方法:确保设备状态勾选、使用iso镜像文件用df......
  • 动态电压恢复器(DVR)模型 Matlab/simulink 可用于治理电压暂降
    动态电压恢复器(DVR)模型Matlab/simulink可用于治理电压暂降、暂升和不平衡短路带来的电能质量问题:仿真总时长0.7s,DVR始终接入,0.1-0.2s治理电压暂降,0.3-0.4治理电压暂升,0.5-0.6治理不平衡短路。适配于本家的IEEE33节点模型。ID:45209650329964297......
  • 电机启动模型 Matlab/simulink ! 可用于模拟电压暂降等电能质量问题
    电机启动模型Matlab/simulink!可用于模拟电压暂降等电能质量问题,适配于本家的IEEE33节点模型。ID:71200647976272410......