运行: sudo gedit /etc/apt/sources.list

然后文件里面的内容全部替换为下面的镜像源

# deb cdrom:[Ubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb https://repo.huaweicloud.com/ubuntu/ focal main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal main restricted## Major bug fix updates produced after the final release of the
## distribution.
deb https://repo.huaweicloud.com/ubuntu/ focal-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb https://repo.huaweicloud.com/ubuntu/ focal universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal universe
deb https://repo.huaweicloud.com/ubuntu/ focal-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal-updates multiverse## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb https://repo.huaweicloud.com/ubuntu/ focal-backports main restricted universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partnerdeb https://repo.huaweicloud.com/ubuntu/ focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb https://repo.huaweicloud.com/ubuntu/ focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

Ubuntu 华为开源镜像站 Mirror相关推荐

  1. 【产品评测】华为开源镜像站体验:美好终将不期而遇

    电脑因为前段时间有问题,昨天刚刚重装好系统,之前一大堆运行环境全部要重新弄--T_T 今天碰上华为开源镜像站体验,那就测试和体验一把吧! 先说说测试环境: 网络:广东电信20M企业光纤 系统:Wind ...

  2. 阿里巴巴Linux开源镜像站 华为Linux开源镜像站 Linux宝塔面板

    学习Linux系统和用Linux系统作服务器时,推荐Linux从Linux系统开源镜像站下载,国内源下载速度快,Linux系统可选择方案多! 1.阿里巴巴开源镜像站: https://develope ...

  3. 华为软件开发云又出新服务:开源镜像站正式上线,致敬开源,使能开发者!...

    看着终端上的下载才几kb/s的龟速,新版本同步不及时,源代码找不到--你是不是也曾经历过这样的痛苦?简直是下载4小时,使用5分钟. 现在,华为软件开发云平台又推出新服务--华为开源镜像站正式上线了!C ...

  4. ubuntu 16.04 镜像下载(国内开源镜像站)

    转自:ubuntu 16.04 镜像下载 转载备份一下,网友评论说浙大最快. 官方下载地址(不推荐) https://www.ubuntu.com/download 中科大源 http://mirro ...

  5. 中国大陆开源镜像站汇总

    为什么80%的码农都做不了架构师?>>>    1.企业贡献: 搜狐开源镜像站:http://mirrors.sohu.com/ 网易开源镜像站:http://mirrors.163 ...

  6. 01-国内开源镜像站汇总

    本文来自:https://blog.csdn.net/william234/article/details/59540151 一.站点版 (一).企业站 网易:http://mirrors.163.c ...

  7. 来自清华大学开源镜像站LinuxToy的公开信~

    来自清华大学开源镜像站的公开信 首先对大家说一声对不起,作为 LT 编辑的我已经很久没为 LT 做贡献,这次却利用"职务之便"在 LinuxToy 发布这封公开信.但事关镜像站生死 ...

  8. 【阿里云镜像】更改阿里巴巴开源镜像站镜像源之——CentOS 7

    目录 1.备份自带的YUM源 2.下载新的yum源 3.清除旧的 yum 缓存 4.更新yum缓存 4.查看更换的阿里云镜像的仓库是否生效. 为了下载速度快,每次都要做好镜像的更改,既然次数多,懒得每 ...

  9. 【Java】中国大陆开源镜像站汇总

    [Java]中国大陆开源镜像站汇总 [清华大学](https://mirrors.tuna.tsinghua.edu.cn/) 1.企业贡献: 搜狐开源镜像站:http://mirrors.sohu. ...

最新文章

  1. 查看Linux系统中某目录的大小
  2. Debain/ArchLinux/Gentoo 等将合并为超级Linux
  3. 浏览器上的HTML5语音识别功能实例页面
  4. openssh 7.4 java使用_openssh/openssl升级到7.4和1.0.2j 源码方式
  5. [密码学] 复杂性理论基础
  6. 原生 遍历_前端原生写js代码还是用vue等框架写项目?
  7. java深度克隆_Java深入学习26:Java深度克隆
  8. Textview的3种事件
  9. 在OpenShift上扩展Java EE微服务
  10. Spring MVC和Thymeleaf:如何从模板访问数据
  11. Linux下汇编语言学习笔记13 ---
  12. 深入理解 MySQL ——锁、事务与并发控制 1
  13. [渝粤教育] 中国地质大学 微积分(二) 复习题 (2)
  14. linux cat命令使用方法,Linux cat命令怎么使用
  15. Python之身份证号码的校验
  16. lda2vec (2)
  17. 图数据库入门教程-深入学习Gremlin(1):图基本概念与操作
  18. halcon机器视觉之玩转车牌识别-超人视觉罗超
  19. 概率论总结(五):极限理论之大数定律、中心极限定理、概率收敛
  20. 快节奏多人在线游戏网络入门系列教程(2):客户端预测与服务器协调

热门文章

  1. Python——赋值、浅拷贝、深拷贝
  2. JavaScript大师必须掌握的12个知识点
  3. 将VMware Workstation 12 Pro的虚拟网卡修改为自己希望的IP网段
  4. 亲自己主动手从源代码 构建 Groovy 2.3.8 公布包
  5. 腾达W303R v3 无线路由器使用移动光纤无法打开视频的设置方法
  6. Git手册 - 分支远程同步
  7. sublime text 常用快捷键
  8. Hanlder Looper MessageQueue Message
  9. 82.开始→运行→输入的命令集锦
  10. 追加内容到文件末尾的几种常用方法