超级多的yum源哦

2023-11-03

[root@registry ~]# cd /etc/yum.repos.d/
[root@registry yum.repos.d]# vim 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
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://mirrors.linode.com/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever – Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
baseurl=http://mirrors.linode.com/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever – Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
baseurl=http://mirrors.linode.com/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever – Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
baseurl=http://mirrors.linode.com/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[root@registry yum.repos.d]# vim CentOS-CR.repo 
# CentOS-CR.repo
#
# The Continuous Release ( CR ) repository contains rpms that are due in the next
# release for a specific CentOS Version ( eg. next release in CentOS-7 ); these rpms
# are far less tested, with no integration checking or update path testing having
# taken place. They are still built from the upstream sources, but might not map
# to an exact upstream distro release.
#
# These packages are made available soon after they are built, for people willing
# to test their environments, provide feedback on content for the next release, and
# for people looking for early-access to next release content.
#
# The CR repo is shipped in a disabled state by default; its important that users
# understand the implications of turning this on.
#
# NOTE: We do not use a mirrorlist for the CR repos, to ensure content is available
# to everyone as soon as possible, and not need to wait for the external
# mirror network to seed first. However, many local mirrors will carry CR repos
# and if desired you can use one of these local mirrors by editing the baseurl
# line in the repo config below.
#
[cr]
name=CentOS-$releasever – cr
baseurl=http://mirror.centos.org/centos/$releasever/cr/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
enabled=0
[root@registry yum.repos.d]# vim CentOS-Debuginfo.repo 
# CentOS-Debug.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.
#
# All debug packages from all the various CentOS-7 releases
# are merged into a single repo, split by BaseArch
#
# Note: packages in the debuginfo repo are currently not signed
#
[base-debuginfo]
name=CentOS-7 – Debuginfo
baseurl=http://debuginfo.centos.org/7/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-Debug-7
enabled=0
[root@registry yum.repos.d]# vim CentOS-fasttrack.repo  
#CentOS-fasttrack.repo
[fasttrack]
name=CentOS-7 – fasttrack
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=fasttrack&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/fasttrack/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[root@registry yum.repos.d]# vim CentOS-Media.repo 
# CentOS-Media.repo
#
# This repo can be used with mounted DVD media, verify the mount point for
# CentOS-7. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
# yum –enablerepo=c7-media [command]
#
# or for ONLY the media repo, do this:
#
# yum –disablerepo=\* –enablerepo=c7-media [command]
[c7-media]
name=CentOS-$releasever – Media
baseurl=file:///media/CentOS/
file:///media/cdrom/
file:///media/cdrecorder/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[root@registry yum.repos.d]# vim CentOS-Sources.repo 
# CentOS-Sources.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-source]
name=CentOS-$releasever – Base Sources
baseurl=http://vault.centos.org/centos/$releasever/os/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates-source]
name=CentOS-$releasever – Updates Sources
baseurl=http://vault.centos.org/centos/$releasever/updates/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras-source]
name=CentOS-$releasever – Extras Sources
baseurl=http://vault.centos.org/centos/$releasever/extras/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus-source]
name=CentOS-$releasever – Plus Sources
baseurl=http://vault.centos.org/centos/$releasever/centosplus/Source/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[root@registry yum.repos.d]# vim CentOS-Storage-common.repo 
# CentOS-Storage.repo
#
# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more
# information
[centos-storage-debuginfo]
name=CentOS-$releasever – Storage SIG – debuginfo
baseurl=http://debuginfo.centos.org/$contentdir/$releasever/storage/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
[root@registry yum.repos.d]# vim glusterfs.repo 
# CentOS-Gluster-7.repo
#
# Please see http://wiki.centos.org/SpecialInterestGroup/Storage for more
# information
[centos-gluster7]
name=CentOS-$releasever – Gluster 7
mirrorlist=http://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-gluster-7
#baseurl=http://mirror.centos.org/$contentdir/$releasever/storage/$basearch/gluster-7/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
[centos-gluster7-test]
name=CentOS-$releasever – Gluster 7 Testing
baseurl=http://buildlogs.centos.org/centos/$releasever/storage/$basearch/gluster-7/
gpgcheck=0
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Storage
[root@registry yum.repos.d]# vim CentOS-x86_64-kernel.repo [centos-kernel]
name=CentOS LTS Kernels for $basearch
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kernel&infra=$infra
#baseurl=http://mirror.centos.org/altarch/7/kernel/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[centos-kernel-experimental]
name=CentOS Experimental Kernels for $basearch
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=experimental&infra=$infra
#baseurl=http://mirror.centos.org/altarch/7/experimental/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

写在后面:

  • 这些yum源大概有三万多个,但是大多都是没有开机自启,如果需要,可以将enabled改为1,然后你就可以拥有超级超级超级多的yum源!!!!!
  • 在执行yum下载时可能会报错如下信息:
  • 获取 GPG 密钥失败:
[Errno 14] curl#37 – “Couldn’t open file /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7”
  • 解决办法:
[root@node1 ~]# cd /etc/pki/rpm-gpg/
[root@node1 rpm-gpg]# wget https://archive.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
[root@node1 rpm-gpg]# rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7           # 导入签名
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

超级多的yum源哦 的相关文章

  • 医学图像格式转换 -- .dcm转为.nii.gz

    注 代码主要根据 dcm2nii 多张dcm 文件转换成nii等其他格式的存储 进行函数整合 感谢原作者 coding utf 8 import SimpleITK as sitk def dcm2nii dcms path nii pat
  • oracle改表结构非空字段类型,Oracle修改表结构语句

    1 修改表的字段 修改一个列的数据类型 一般限于修改长度 修改为一个不同类型时有诸多限制 语法 ALTER TABLE 表名 MODIFY 列名 数据类型 eg1 alter table skate test modify author n
  • 解决“'export' is only available in ES6 (use 'esversion: 6')”问题

    问题 export is only available in ES6 use esversion 6 截图 把鼠标移上去就会有这个提示 解决方法 在顶部加入这句话 jshint esversion 6 如图所示 没有红色下滑线啦 完美解决
  • Discuz!教程之后台隔段时间需要重新登录的解决方法

    用Discuz 的站长们都有一个很苦恼的问题 就是后台登录页面过一段时间再去操作就要重新登录 非常不方便 为了减少站长们的工作量 本文给站长们介绍放宽disduz后台登录默认限制方法 一 取消检测管理员ip 1 用ftp工具连接您的虚拟主机
  • 一个简单通用的logback配置文件

    首先pom依赖于ch qos logback基于slf4j
  • Spark SQL架构工作原理及流程解析

    前言 Spark SQL架构工作原理及流程解析 spark sql从shark发展而来 Shark为了实现Hive兼容 在HQL方面重用了Hive中HQL的解析 逻辑执行计划翻译 执行计划优化等逻辑 Spark SQL兼容Hive 因为Sp
  • DFRobot离线语音识别模块真实测评

    春节前在DF商城到上架两款新品 分别是离线语音识别模块 离线语音合成模块 它们和二哈识图一起组成了 人工智能三剑客 其中语音识别模块有现货 语音合成模块接受预定 心痒痒想在春节尝鲜 看商城公告春节发货截止日期2月7日 于是6日上午匆匆下单
  • 学习笔记(一):Java中Stream的基本用法和相关API详解

    目录 引言 一 什么是Stream 二 Stream有什么用 三 Stream的分类 四 常用的Stream创建方法 1 Stream of 方法 2 Arrays stream 3 集合对象中的stream 方法 五 Stream的常见操
  • opencv缩小图片的方法

    scaling factor 0 4 img scaled cv2 resize img None fx scaling factor fy scaling factor interpolation cv2 INTER LINEAR 双线性
  • 带你了解『百度智能云发布云智一体的AI开发全栈模式』

    在 云智一体 的独家优势下 百度智能云为企业的 AI 开发打开了更多可能 3月27日 百度智能云2021云智技术论坛首场活动在京举行 重磅发布 云智一体的 AI 开发全栈模式 基于百度全球领先的 AI 技术和生态优势 AI 原生的云基础设施
  • 如何判断一个以太坊地址是不是合约地址?

    转载自https blog csdn net shebao3333 article details 80043317 使用web3 js web3 eth getCode 方法返回指定地址上代码的16进制字符串 由于普通账户地址处没有代码
  • osgcuda

    osgcuda 转 原文 http blog sina com cn s blog df1b276a0101inbi html osgCompute是对代码的并行流处理器执行的抽象基库 库连接到OSG的 OSG 因此它可以被包括在场景图 它
  • ReadTimeoutError: HTTPSConnectionPool(host=‘cdn-lfs.huggingface.co‘, port=443)

    问题 最近遇到需要从hugging face下载并导入预训练模型SimCSE 然后进行计算文本相似度 代码如下 from transformers import AutoModel AutoTokenizer import os os en
  • python爬取京东商品评论(可实现翻页)

    上一篇文章 我们已经实现抓取商品第一页的功能 下面来实现翻页的功能 首先通过类定义三个方法 初始化方法 解析一页的方法 翻页爬取 class jd comment object def init self pass def page sel
  • iOS 中集成 FFmpeg

    FFmpeg是一套可以用来记录 转换数字音频 视频 并能将其转化为流的开源计算机程序 它提供了录制 转换以及流化音视频的完整解决方案 ffmpeg的代码是包括两部分的 一部分是library 一部分是tool api都是在library里面
  • 靶场复现————平行越权、垂直越权

    知识学习 不能上升到现实 确对不能 什么是越权 越权漏洞的概念 越权漏洞是一种很常见的逻辑安全漏洞 是由于服务器端对客户提出的数据操作请求过分信任 忽略了对该用户操作权限的判定 导致修改相关参数就可以拥有了其他账户的增 删 查 改功能 从而
  • 第1章 实践基础

    文章目录 第1章 实践基础 1 1 如何运行本书的代码 1 1 1 本地运行 1 1 1 1 环境准备 1 1 1 2 快速安装 1 1 2 AI Studio运行 1 2 张量 1 2 1 创建张量 1 2 1 1 指定数据创建张量 1
  • Python中关于list和set的搜索效率及底层原理浅析

    从上图可以看到 同样情况下 在set中查找大概60纳秒 在list中查找大概440微秒 440 1000纳秒 440000纳秒 所用时间大概是set的6000倍 总结原因 list是顺序存储的 在查找的时候遍历整个数组 所以时间复杂度是O
  • 使用RSA算法实现表单数据加密——前端js后端Java

    前言 有时候我们会遇到这样一个需求 提交表单的时候对表单中的特定数据进行加密后传到后台 再由后台进行解密 本文会针对该类需求的实现思路进行讲解 希望能够让各位读者有所收获 说在前面 我们知道加解密算法可以分为对称加密和非对称加密 对于这个需
  • 缺少installscript引擎,请运行ISScript.msi(如果有的话)解决方案

    装了从神东网上下载的IBM windows XP系统 在装flash时会出现 缺少计算机 引擎installscript 请运行ISScript msi 如果有的话 这样的错误 在网上找了解决的方法 并且实验成功 在这里分享一下 解决方法

随机推荐

  • 一致性hash KetamaHash代码实现(分布式路由算法)及原理分析

    KetamaHash代码实现一致性hash 分布式路由算法 及原理分析 一致性hash是什么 一致性hash作为常见的分布式路由算法 可以很好的实现服务端的负载均衡 用户在请求时通过分布式路由算法打到不同的服务器上 可以保证用户粘性的同时有
  • linux中文件权限rwx,umask,chwod

    在linux 下 每个文件 文件夹都有 3 种用户权限 分别是文件 文件夹的所有者 组成员 其他人员 权限分为读 写 运行 如果运行 ll 命令 就可以看到文件 文件夹前面显示一串 rw r r 的信息 一个 rwx 用二进制表示就是 11
  • Maven 的聚合(多模块)和 Parent 继承

    在使用多模块时 子模块总要指定聚合的 pom 为 parent 一般配置 1 parentr父项目 引用私服 放一下maven jar包 或者依赖项目
  • SingalR实现简单的聊天室

    SingalR实现简单的聊天室 SignalR服务端 新建一个ASP NET Core Web API项目 给项目命名为TestSignalRServer 将https取消勾选 之后点击创建 项目创建完成后 新建一个ChatHub类 这个类
  • element plus中的el-link如何去掉下划线

    解决方法 在el link中增加 underline false
  • python-爬虫-xpath方法-批量爬取王者皮肤图片

    import requests from lxml import etree 获取NBA成员信息 发送的地址 url https nba hupu com stats players UA 伪装 google header User Age
  • 哔哩哔哩前端笔试(卷1)

    文章目录 哔哩哔哩前端笔试 1 下面哪个网址和示例符合同源策略 2 关于DOMContentLoaded和load事件说法正确的是 3 如何在 div 容器里展示这几个字符 4 以下是哪一组全是块级元素 5 这个div里面最终的字体颜色是什
  • 常用颜色的RGB值及调色方法

    RGB值指某种颜色中的红 Red 绿 Green 蓝 Blue 成分 理论上讲红绿蓝三种基色按照不同的比例混合可以调配出任何一种颜色来 白色 rgb 255 255 255 黑色 rgb 0 0 0 灰色 rgb 128 128 128 红
  • Scrapy爬虫框架(实战篇)【Scrapy框架对接Splash抓取javaScript动态渲染页面】

    1 前言 动态页面 HTML文档中的部分是由客户端运行JS脚本生成的 即服务器生成部分HTML文档内容 其余的再由客户端生成 静态页面 整个HTML文档是在服务器端生成的 即服务器生成好了 再发送给我们客户端 这里我们可以观察一个典型的供我
  • Java实现QQ机器人

    Java实现QQ机器人 使用Java拦截QQ消息 回复消息 等等 酷Q java 实现 需要下载的文件 https pan baidu com s 13xvYG6VXr9Bj oJokVbJ9w 提取码 od38 解压后 添加上项目依赖 j
  • 如何进行Logstash logstash-input-jdbc插件的离线安装

    我们单位的服务器位于隔离区 不允许链接互联网 因此整理了在ELK集群上离线安装Logstash的jdbc input插件的方法 供大家参考 总体思路是需要一台中转的机器 这台机器需要能够访问互联网 先在这台机器中将需要安装的插件及依赖包制作
  • 2022网鼎杯青龙组签到题+crypto题解

    签到题 解题方法 百度搜答案即可 crypto 题目 小A鼓起勇气向女神索要电话号码 但女神一定要考考他 女神说她最近刚看了一篇发表于安全顶会USENIX Security 2021的论文 论文发现苹果AirDrop隔空投送功能的漏洞 该漏
  • numpy添加新的维度:newaxis

    numpy中包含的newaxis可以给原数组增加一个维度 np newaxis放的位置不同 产生的新数组也不同 一维数组 x np random randint 1 8 size 5 x Out 48 array 4 6 6 6 5 x1
  • 织梦dedecms系统后台添加新变量出现Request var not allow

    论坛上很多人都反馈说在后台添加新变量的时候会出现 Request var not allow 的BUG错误 本文主要就是介绍如何去解决这个问题 下面看具体操纵 在DEDE根目录打开 include common inc php 文件 查找到
  • python排序算法之基数排序

    代码如下 基数排序 1 把数据分为10个桶 以为数字有0 9这10个 2 依次把数据的个位 十位 百位等等各个位数的数据进行分桶排序 放在这10个桶中 3 最大的数有k位 则循环k次 4 时间复杂度O kn 空间复杂度O k n 其中k l
  • 自定义view-饼图

    效果图如下 看到上述view的效果 首先分析view有几部分组成 这里仅做练习 没有做适配 一 view的组成 1 由不同的扇形 2 各分类的线段 3 各分类的名字 1 绘制不同的扇形 这个比容易 首先要弄清楚0度是从哪个位值开始 andr
  • Unity3D_最简单的开始界面_结束界面

    Unity3D 最简单的开始界面 结束界面 开始界面 结束界面 开始界面 1 创建一个新的场景 添加button 2 C 脚本 LoadingGame cs using System Collections using System Col
  • org.springframework.web.multipart.MaxUploadSizeExceededException: Maximum upload size exceeded;

    报错信息 org springframework web multipart MaxUploadSizeExceededException Maximum upload size exceeded nested exception is j
  • Vue3全局挂载方法

    方式一 import createApp from vue import App from App vue import router from router const app createApp App app use router a
  • 超级多的yum源哦

    root registry cd etc yum repos d root registry yum repos d vim CentOS Base repo CentOS Base repo The mirror system uses