suse15 sp1使用华为云软件源yum源zypper源

登录suse15终端,

cd /etc/zypp/repos.d/进入目录后执行以下命令:

zypper ar -fcg https://mirrors.huaweicloud.com/opensuse/distribution/leap/15.1/repo/oss HuaWeiCloud:15.1:OSS

zypper ar -fcg https://mirrors.huaweicloud.com/opensuse/distribution/leap/15.1/repo/non-oss HuaWeiCloud:15.1:NON-OSS

zypper ar -fcg https://mirrors.huaweicloud.com/opensuse/update/leap/15.1/oss HuaWeiCloud:15.1:UPDATE-OSS

zypper ar -fcg https://mirrors.huaweicloud.com/opensuse/update/leap/15.1/non-oss HuaWeiCloud:15.1:UPDATE-NON-OS

zypper ref

按a接受密钥

15.1根据实际情况替换,可访问页面替换

原文章:

openSUSE的镜像地址为:https://mirrors.huaweicloud.com/opensuse/

1、备份配置文件:

mkdir /etc/zypp/repos.d/repo_bak

mv /etc/zypp/repos.d/*.repo /etc/zypp/repos.d/repo_bak/

2、以 openSUSE Leap 15.2 为例,可以参考如下命令:

sudo zypper ar -fcg https://mirrors.huaweicloud.com/opensuse/distribution/leap/15.2/repo/oss HuaWeiCloud:15.2:OSS

sudo zypper ar -fcg https://mirrors.huaweicloud.com/opensuse/distribution/leap/15.2/repo/non-oss HuaWeiCloud:15.2:NON-OSS

sudo zypper ar -fcg https://mirrors.huaweicloud.com/opensuse/update/leap/15.2/oss HuaWeiCloud:15.2:UPDATE-OSS

sudo zypper ar -fcg https://mirrors.huaweicloud.com/opensuse/update/leap/15.2/non-oss HuaWeiCloud:15.2:UPDATE-NON-OS

3、执行sudo zypper ref刷新源

参考:https://mirrors.huaweicloud.com/mirrorDetail/5ec1f784c1bbdcb43010ab9e?mirrorName=opensuse\&catalog=os

相关推荐
SZ1701102311 天前
华为云 银河麒麟 vscode远程连接
ide·vscode·华为云
Just_Paranoid4 天前
华为云Flexus+DeepSeek征文|基于Dify构建音视频内容转录工作流
华为云·音视频·dify·maas·deepseek·flexusx
小明说Java4 天前
华为云Flexus+DeepSeek征文 | 基于华为云Flexus X实例部署Dify平台构建企业行政助手的可用性研究
华为云·maas·deepseek·flexus
降世神童4 天前
华为云Flexus+DeepSeek征文| 使用华为云CCE容器部署Dify-LLM高可用方案的验证与测试
运维·华为云·aigc
安 当 加 密4 天前
多云密钥统一管理实战:CKMS对接阿里云/华为云密钥服务
数据库·阿里云·华为云
降世神童4 天前
华为云Flexus+DeepSeek征文| 基于华为云Dify-LLM高可用平台开发运维故障处理智能体
运维·华为云·aigc
cooldream20094 天前
华为云Flexus+DeepSeek征文|利用华为云一键部署 Dify 平台并接入 DeepSeek 大模型,构建长篇文章生成助手
大模型·华为云·dify
Linux猿4 天前
华为云Flexus+DeepSeek征文|基于华为云Flexus云服务的Dify 快速构建联网搜索助手
华为云·华为云服务·华为云征文·联网搜索助手·华为云flexus云服务
江湖有缘4 天前
华为云Flexus+DeepSeek征文|基于 Dify-LLM 构建网站智能客服助手的实践探索
华为云
AI生存日记4 天前
AI 日报:阿里、字节等企业密集发布新技术,覆盖语音、图像与药物研发等领域
人工智能·华为云·语音识别·open ai大模型