Skip to content
0
  • Categories
  • 讨论
  • Recent
  • Tags
  • Popular
  • Top
  • Users
  • Categories
  • 讨论
  • Recent
  • Tags
  • Popular
  • Top
  • Users
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
JIKE社区
  1. 首页
  2. 讨论区
  3. 技术专区
  4. CentOS 7.8 yum update 更新,报 404

CentOS 7.8 yum update 更新,报 404

Scheduled Pinned Locked Moved 技术专区
1 Posts 1 Posters 350 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 我是小马甲~M
    我是小马甲~M
    我是小马甲~
    🤫
    wrote on last edited by
    #1
    mkdir ~/bak/
    cp -r /etc/yum.repos.d/* ~/bak/
    
    # https://mirrors.tuna.tsinghua.edu.cn/centos-vault/7.8.2003/
    
    cd /etc/yum.repos.d
    
    minorver=7.8.2003
    sudo sed -e "s|^mirrorlist=|#mirrorlist=|g" \
             -e "s|^#baseurl=http://mirror.centos.org/centos/\$releasever|baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos-vault/$minorver|g" \
             -i.bak \
             /etc/yum.repos.d/CentOS-*.repo
    
    
    yum makecache
    

    唐宋元明清,连排小工兵!

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    Popular Topics - 热门主题
    • 相亲73法则
      2
      1
      155

    • 【中国移动】100GB流量畅快用!广东移动
      T
      TnZzZHlp
      1
      2
      253

    • 农行5元立减金
      1
      1
      105

    • AMD 推出了官方的免费大模型API
      1
      1
      182

    • 11月5日中国移动灵犀口令是:吃饺迎立冬
      自
      自媒体
      0
      5
      244

    • 北京移动撸云电脑
      R
      reinforced
      0
      3
      189


    • Login

    • Don't have an account? Register

    • Login or register to search.
    夸克网盘
    5,726 topics
    百度网盘
    5,191 topics
    连续剧
    1,813 topics
    国产剧
    1,154 topics
    美剧
    910 topics
    动作片
    855 topics
    恐怖片
    627 topics
    jike早报
    465 topics

    139

    Online

    45.4k

    Users

    52.5k

    Topics

    128.9k

    Posts
    • First post
      Last post