relhat9.1 yum无法安装问题

cd /etc/yum.repos.d/

vim CentOS-Stream-AppStream.repo //切换到阿里云源

baseos name=CentOS Stream 9 - BaseOS baseurl=https://mirrors.aliyun.com/centos-stream/9-stream/BaseOS/x86_64/os/ gpgcheck=1 gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official enabled=1 appstream name=CentOS Stream 9 - AppStream baseurl=https://mirrors.aliyun.com/centos-stream/9-stream/AppStream/x86_64/os/ gpgcheck=1 gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official enabled=1 crb name=CentOS Stream 9 - CRB baseurl=https://mirrors.aliyun.com/centos-stream/9-stream/CRB/x86_64/os/ gpgcheck=1 gpgkey=https://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-Official enabled=1

保存后

yum clean all && yum makecache

可以安装了

相关推荐
SkyWalking中文站5 小时前
认识 Horizon UI · 15/17:用模板定制控制台
运维·监控·自动化运维
一杯奶茶¥5 小时前
Ubuntu系统镜像各个版本下载Ubuntu镜像合集资源Linux系统镜像乌班图Linux系统镜像
linux·运维·ubuntu·镜像·;inux镜像·ubuntu镜像
运维行者_13 小时前
企业无线网络监控的挑战与智能化演进趋势
大数据·运维·服务器·网络·数据库
2603_9552797014 小时前
Cursor + GitOps:自动化运维新姿势
运维·自动化
Waay14 小时前
面试口述版:个人对 Prometheus 完整理解
运维·学习·云原生·面试·职场和发展·kubernetes·prometheus
三84415 小时前
文件查找/文件压缩/解压缩
linux·运维·服务器
小猪写代码15 小时前
Linux 管道(Pipeline)作业
linux·运维·服务器
桌面运维家15 小时前
如何用半缓存云桌面将服务器硬盘容量扩展至本地终端?
运维·服务器·缓存
激情的学姐15 小时前
【大型网站技术实践】初级篇:借助Nginx搭建反向代理服务器
运维·nginx
ai_coder_ai16 小时前
编写自动化脚本,在自己后端服务中使用Open Api进行设备相关操作
java·运维·自动化