我是靠谱客的博主 可靠茉莉,这篇文章主要介绍配置华为linux系统的镜像源(centos与ubuntu系统),现在分享给大家,希望可以做个参考。

 centOS6与centOS7的镜像源(x86_64)  yum makecache

curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.myhuaweicloud.com/repo/CentOS-Base-6.repo
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.myhuaweicloud.com/repo/CentOS-Base-7.repo

centOS7(arm架构) yum makecache

curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.myhuaweicloud.com/repo/Centos-altarch-7.repo

Ubuntu  x86_64架构使用如下命令   apt-get update

wget -O /etc/apt/sources.list http://mirrors.myhuaweicloud.com/repo/sources.list.trusty

 Ubuntu  arm架构使用如下命令   apt-get update

wget -O /etc/apt/sources.list http://mirrors.myhuaweicloud.com/repo/aarch64/sources.list.bionic

 

 

最后

以上就是可靠茉莉最近收集整理的关于配置华为linux系统的镜像源(centos与ubuntu系统)的全部内容,更多相关配置华为linux系统内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(64)

评论列表共有 0 条评论

立即
投稿
返回
顶部