高哲技术博客 高哲技术博客
首页
编程
爬虫
运维
硬件
收藏
归档
关于

嘉美伯爵

前途光明,无需畏惧
首页
编程
爬虫
运维
硬件
收藏
归档
关于
  • 方案

  • 数据库

  • 虚拟化

  • 自动化部署

  • 中间件

  • 可观测

  • 操作系统

    • linux系统命令汇总
    • linux安装包错误汇总
    • ubuntu安装需要注意的地方
    • brew常见问题归纳
    • centos7修改源遇到的问题
    • centos c++环境配置
    • centos 虚拟机内核升级
    • GLIBCXX环境配置
    • centos git lfs安装方案
  • 运维
  • 操作系统
fovegage
2023-08-21

centos7修改源遇到的问题

Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
base                                                                                                               | 3.6 kB  00:00:00     
http://10.9.2.42/elrepo-kernel/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.9.2.42:80; Connection timed out"
Trying other mirror.
http://10.9.2.42/elrepo-kernel/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to 10.9.2.42:80; Connection timed out"
Trying other mirror.
^Chttp://10.9.2.42/elrepo-kernel/repodata/repomd.xml: [Errno 14] curl#56 - "Callback aborted"
Trying other mirror.


wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
rm -rf /etc/yum.repos.d/Centos7.repo
yum clean all
yum makecache

# 解决 https://developer.aliyun.com/article/691851
/etc/yum.repos.d 文件下面只能有一个repo 删除Centos7.repo
# Centos7.repo CentOS-Base.repo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
上次更新: 2023-11-15 09:35:36
brew常见问题归纳
centos c++环境配置

← brew常见问题归纳 centos c++环境配置→

最近更新
01
token embed和postion embed
06-10
02
k8s pod日志排查问题
10-24
03
golang内部私服建设方案
10-21
更多文章>
Theme by Vdoing | Copyright © 2018-2025 嘉美伯爵 | 鲁ICP备20001560号-4
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式