面向云技术架构 - 痴者工良

  • 首页
  • 工良写的电子书
    • kubernetes 教程
    • 从 C# 入门 Kafka
    • 多线程和异步
    • 动态编程-反射、特性、AOP
    • 表达式树
  • 本站文章导航
  • 隐私政策
愿有人陪你颠沛流离
遇到能让你付出的事物或者人,都是一种运气。
能遇到,就该珍惜。或许你们最终没能在一起,但你会切实地感受到力量。
正因为这样,那段相遇才变得有价值,才没有辜负这世间的每一段相遇。
  1. 首页
  2. 笔记和吹水
  3. 正文

Ubuntu 18.04 ARM64 可用的国内源

2019年12月20日 12371点热度 24人点赞 1条评论
内容纲要

百度了很久,网上全是抄抄抄,特别是 CSDN ,要么卡,要么404,根本用不了。
将下面的源替换到 /etc/apt/source/list 即可

 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universe
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates universe
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic multiverse
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates multiverse
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security main restricted
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security universe
 deb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security multiverse

突然发现,国内有华为arm64的镜像源!使用华为的镜像源速度十分快!
支持 ubuntu、华为鲲鹏服务器!
使用以下脚本即可自动替换为华为镜像源。

wget -O /etc/apt/sources.list https://repo.huaweicloud.com/repository/conf/Ubuntu-Ports-bionic.list
apt-get update

获取手动修改,将源地址改成

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic main restricted universe multiverse
deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic main restricted universe multiverse

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-security main restricted universe multiverse
deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic-security main restricted universe multiverse

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic-updates main restricted universe multiverse

deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb-src https://repo.huaweicloud.com/ubuntu-ports/ bionic-backports main restricted universe multiverse

## Not recommended
# deb https://repo.huaweicloud.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse
本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可
标签: arm ubuntu 可用 国内
最后更新:2020年3月19日

痴者工良

高级程序员劝退师

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

COPYRIGHT © 2022 whuanle.cn. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

粤ICP备18051778号

粤公网安备 44030902003257号