Ubuntu 18.04 ARM64 可用的国内源

内容纲要

百度了很久,网上全是抄抄抄,特别是 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
点赞
  1. My wife and i have been so peaceful when Michael managed to finish up his studies via the precious recommendations he obtained using your web site. It is now and again perplexing to simply happen to be offering techniques which often some others might have been trying to sell. We remember we need you to thank for this. The type of illustrations you made, the straightforward website navigation, the relationships your site make it easier to instill - it is most spectacular, and it is letting our son in addition to us reckon that this subject matter is pleasurable, which is certainly truly serious. Thanks for the whole lot!

  2. My wife and i were so satisfied when Peter managed to finish up his survey while using the precious recommendations he received when using the site. It's not at all simplistic just to be giving away helpful tips that men and women could have been making money from. And we discover we have the blog owner to appreciate because of that. Most of the explanations you've made, the easy blog menu, the friendships you assist to engender - it's everything excellent, and it's assisting our son and our family do think that content is brilliant, and that's extraordinarily fundamental. Many thanks for all the pieces!

发表评论

邮箱地址不会被公开。 必填项已用*标注

You must enable javascript to see captcha here!