Moeyuuko's blog

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

Centos stream 替换国内源

2021年3月7日 2812点热度 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 替换国内源
openwrt x86 虚拟机镜像下载 负载均衡:ELB, ALB, NLB, CLB 音效BGM播放器-紫豪 如何选择开源许可证 阿里云OSS速度测试 7zip安装包下载

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

Theme Kratos Made By Seaton Jiang