Moeyuuko's blog

  • 首页
    • blog博客首页
    • www导航主页
    • My Github
    • ADS-B 飞机信号接收
  • git
    • Github
    • 私人Gogs
  • 服务
    • Gogs
    • 剪切板
    • 二维码生成
    • 萌盘
    • 萌盘[旧]
    • KMS server
  • 图片
  • MC
    • Minecraft 服务器
    • 明月乡
  • 友链
  • 其他
    • 常用软件
    • 投食
得閒飲茶
when free, drink drink tea.
  1. 首页
  2. 主要文章
  3. 笔记
  4. 正文

Centos stream 替换国内源

2021年3月7日 6843点热度 4人点赞 0条评论

替换到 中国科学技术大学开源软件镜像 命令

http://mirrors.ustc.edu.cn/help/centos.html

sudo sed -e 's|^mirrorlist=|#mirrorlist=|g' \
         -e 's|^#baseurl=http://mirror.centos.org/$contentdir|baseurl=https://mirrors.ustc.edu.cn/centos|g' \
         -i.bak \
         /etc/yum.repos.d/CentOS-Stream-AppStream.repo \
         /etc/yum.repos.d/CentOS-Stream-BaseOS.repo \
         /etc/yum.repos.d/CentOS-Stream-Debuginfo.repo \
         /etc/yum.repos.d/CentOS-Stream-Extras.repo \
         /etc/yum.repos.d/CentOS-Stream-HighAvailability.repo \
         /etc/yum.repos.d/CentOS-Stream-Media.repo \
         /etc/yum.repos.d/CentOS-Stream-PowerTools.repo \
         /etc/yum.repos.d/CentOS-Stream-RealTime.repo

替换之后请运行 yum makecache 更新缓存

本作品采用 知识共享署名 4.0 国际许可协议 进行许可
标签: Centos Centos stream
最后更新:2021年3月7日

Moeyuuko

等,等灯,等灯

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

Moeyuuko

等,等灯,等灯

最新 热点 随机
最新 热点 随机
Proxmox网桥通过SLAAC配置公网ipv6地址 OculusClient 无法启动问题 SlimeVR 全身追踪 PCB与外壳 如何选择开源许可证 Gravatar头像镜像 Centos stream 替换国内源
KMS服务 简单开启linux服务器的Swap虚拟内存 负载均衡:ELB, ALB, NLB, CLB 博客已经完成搭建 Gravatar头像镜像 编译安装ss-libev

COPYRIGHT © 2022 Moeyuuko's blog. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang