奇奇怪怪小经验
  • 五味杂陈·东倒西歪
  • Vue3 踩坑
    • 在vue3中定义filter
    • 父组件调用refs里的方法
  • Electron
    • Electron use vue devtools
  • Collection
    • Little tools
    • virtual box安装win11
    • CentOS 镜像
    • Yarn1 to Yarn2
  • 另一个伊甸-穿越时空的猫
    • 天冥值介紹及角色升星(升級)職業書出處
  • vuetify使用日记
    • 自定义Preset包
  • 前端小店
    • 奇怪知识点
    • 前端工具箱
    • 数组求和的几种方法
    • Vue i18n dynamic set messages
    • 关于H5自动播放被禁止的问题
    • 倒计时时间
    • css禁止选中文本
    • 在chrome dev tool 中使用JQ
  • Yarn-berry
    • Which files should be gitignored
    • yarn upgrade-interactive
  • 错误题集
    • Node "cannot use import statement outside a module"
  • Node
    • 在Node中使用Es6的import
    • express 动态加载route与使用自定义回调和通用回调
  • deno
    • 构建简单的api service
  • Mac使用技巧
    • 提示:已损坏,为无法打开,您应该将它移到废纸篓
    • macOs 升级后提示xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missin
  • winston使用技巧
    • 使用level颜色
    • level大写
  • demo
    • 九宫格抽奖
    • 波浪效果
  • Vue
    • 在组件中同步v-model
    • 工具库
  • 文章记录
    • 前端开发
  • 日常工具
    • 微信小助手
    • Untitled
由 GitBook 提供支持
在本页
  1. Collection

CentOS 镜像

上一页virtual box安装win11下一页Yarn1 to Yarn2

最后更新于3年前

这有帮助吗?

CtrlK

这有帮助吗?

下载地址:

配置方法

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

覆盖配置文件

CentOS 6

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-6.repo

CentOS 7

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo

CentOS 8(centos8官方源已下线,建议切换到centos-vault源)

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo

运行 yum makecache 生成缓存

非阿里云ECS用户会出现 Couldn't resolve host 'mirrors.cloud.aliyuncs.com' 信息,不影响使用。用户也可自行修改相关配置: eg:

sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo
阿里云开源镜像站资源目录
阿里云开源镜像站资源目录