阿里云镜像切换阿里巴巴开源镜像站镜像——Debian镜像
Posted xuyebao
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了阿里云镜像切换阿里巴巴开源镜像站镜像——Debian镜像相关的知识,希望对你有一定的参考价值。
@TOC
一、参考链接
阿里巴巴开源镜像站:阿里巴巴开源镜像站
阿里镜像站—Deepin 镜像:Debian镜像
二、Debian简介
下载地址: https://mirrors.aliyun.com/debian/
https://mirrors.aliyun.com/debian-archive/
三、更换阿里Debian镜像源
1、登录Debian操作系统
2、打开终端窗口
3、测试网络连通性
4、备份系统源镜像文件
5、编辑source.list配置文件
debian 11.x (bullseye)
root@debian:/etc/apt# cat sources.list
deb http://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb http://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src http://mirrors.aliyun.com/debian-security/ bullseye-security main
deb http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
6、运行命令生成缓存
root@debian:/etc/apt# apt-get clean
root@debian:/etc/apt# apt-get update
获取:1 http://mirrors.aliyun.com/debian bullseye InRelease [116 kB]
获取:2 http://mirrors.aliyun.com/debian-security bullseye-security InRelease [44.1 kB]
获取:3 http://mirrors.aliyun.com/debian bullseye-updates InRelease [39.4 kB]
获取:4 http://mirrors.aliyun.com/debian bullseye-backports InRelease [43.7 kB]
获取:5 http://mirrors.aliyun.com/debian bullseye/main Sources [8,617 kB]
获取:6 http://mirrors.aliyun.com/debian bullseye/contrib Sources [43.0 kB]
获取:7 http://mirrors.aliyun.com/debian bullseye/non-free Sources [80.5 kB]
获取:8 http://mirrors.aliyun.com/debian bullseye/main amd64 Packages [8,180 kB]
获取:9 http://mirrors.aliyun.com/debian bullseye/main Translation-en [6,241 kB]
获取:10 http://mirrors.aliyun.com/debian bullseye/main Translation-zh [1,215 B]
获取:11 http://mirrors.aliyun.com/debian bullseye/main Translation-zh_CN [114 kB]
获取:12 http://mirrors.aliyun.com/debian bullseye/main amd64 DEP-11 Metadata [4,049 kB]
获取:13 http://mirrors.aliyun.com/debian bullseye/main DEP-11 48x48 Icons [3,478 kB]
获取:14 http://mirrors.aliyun.com/debian bullseye/main DEP-11 64x64 Icons [7,315 kB]
获取:15 http://mirrors.aliyun.com/debian bullseye/non-free amd64 Packages [93.8 kB]
获取:16 http://mirrors.aliyun.com/debian bullseye/non-free Translation-en [91.5 kB]
获取:17 http://mirrors.aliyun.com/debian bullseye/non-free amd64 DEP-11 Metadata [17.9 kB]
获取:18 http://mirrors.aliyun.com/debian bullseye/non-free DEP-11 48x48 Icons [741 B]
获取:19 http://mirrors.aliyun.com/debian bullseye/non-free DEP-11 64x64 Icons [27.7 kB]
获取:20 http://mirrors.aliyun.com/debian bullseye/contrib amd64 Packages [50.5 kB]
获取:21 http://mirrors.aliyun.com/debian bullseye/contrib Translation-en [46.9 kB]
获取:22 http://mirrors.aliyun.com/debian bullseye/contrib amd64 DEP-11 Metadata [13.6 kB]
获取:23 http://mirrors.aliyun.com/debian bullseye/contrib DEP-11 48x48 Icons [47.2 kB]
获取:24 http://mirrors.aliyun.com/debian bullseye/contrib DEP-11 64x64 Icons [93.3 kB]
获取:25 http://mirrors.aliyun.com/debian-security bullseye-security/main Sources [68.4 kB]
获取:26 http://mirrors.aliyun.com/debian-security bullseye-security/main amd64 Packages [97.1 kB]
获取:27 http://mirrors.aliyun.com/debian-security bullseye-security/main Translation-en [60.1 kB]
获取:28 http://mirrors.aliyun.com/debian bullseye-updates/main Sources [1,868 B]
获取:29 http://mirrors.aliyun.com/debian bullseye-updates/main amd64 Packages [2,592 B]
获取:30 http://mirrors.aliyun.com/debian bullseye-updates/main Translation-en [2,343 B]
获取:31 http://mirrors.aliyun.com/debian bullseye-backports/main Sources [119 kB]
获取:32 http://mirrors.aliyun.com/debian bullseye-backports/non-free Sources [780 B]
获取:33 http://mirrors.aliyun.com/debian bullseye-backports/contrib Sources [1,608 B]
获取:34 http://mirrors.aliyun.com/debian bullseye-backports/main amd64 Packages [138 kB]
获取:35 http://mirrors.aliyun.com/debian bullseye-backports/main Translation-en [102 kB]
获取:36 http://mirrors.aliyun.com/debian bullseye-backports/non-free amd64 Packages [1,224 B]
获取:37 http://mirrors.aliyun.com/debian bullseye-backports/non-free Translation-en [472 B]
获取:38 http://mirrors.aliyun.com/debian bullseye-backports/contrib amd64 Packages [3,108 B]
获取:39 http://mirrors.aliyun.com/debian bullseye-backports/contrib Translation-en [2,908 B]
已下载 39.4 MB,耗时 11秒 (3,698 kB/s)
正在读取软件包列表... 完成
7、测试使用阿里云镜像源下载速度
root@debian:/etc/apt# apt install -d -y vim*
apt install -d -y xfce4 gnome libreoffice vlc
以上是关于阿里云镜像切换阿里巴巴开源镜像站镜像——Debian镜像的主要内容,如果未能解决你的问题,请参考以下文章