centos yum 源停用整改

背景

centos远程yum源正式下线,需要针对实用centos的yum源进行整改;

影响范围

  • 配置centos基础yum源的云主机;
  • 使用centos基础docke镜像的业务Dockerfile

整改方案

centos 更换阿里云 yum 源
复制代码
#阿里云操作系统源
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum clean all
yum makecache

#阿里云基础软件源
wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo
yum clean all
yum makecache
相关推荐
Flash.kkl2 小时前
Linux——进程信号
运维·服务器
苏宸啊3 小时前
Linux权限
linux·运维·服务器
Gofarlic_oms14 小时前
Windchill用户登录与模块访问失败问题排查与许可证诊断
大数据·运维·网络·数据库·人工智能
xqhoj4 小时前
Linux——make、makefile
linux·运维·服务器
文亭湖畔程序猿4 小时前
Debian 12 日常命令 & nano 快捷键速查表
运维·debian
张童瑶4 小时前
Linux 在线安装编译Python3.11
linux·运维·python3.11
ziqibit4 小时前
debian Live with Persistence 持久化U盘的debian系统
运维·debian
Shi_haoliu4 小时前
SolidTime 在 Rocky Linux 9.5 上的完整部署流程
linux·运维·nginx·postgresql·vue·php·laravel
Lkygo5 小时前
LlamaIndex使用指南
linux·开发语言·python·llama
qq_254617775 小时前
nslookup 这个命令解析dns,和系统接口gethostbyname解析区别在哪?
linux·网络