【阿里云镜像】切换阿里巴巴开源镜像站镜像——Debian镜像

简介: Debian GNU/Linux ,是一个操作系统及自由软件的发行版,由一群自愿付出时间和精力的用户来维护并更新。它附带了超过 59000 个软件包,这些预先编译好的软件被打包成一种良好的格式以便于用户安装和使用。

一、参考链接

阿里巴巴开源镜像站:阿里巴巴开源镜像站

阿里镜像站—Deepin 镜像:Debian镜像

二、Debian简介

Debian GNU/Linux ,是一个操作系统及自由软件的发行版,由一群自愿付出时间和精力的用户来维护并更新。它附带了超过 59000 个软件包,这些预先编译好的软件被打包成一种良好的格式以便于用户安装和使用。

下载地址: https://mirrors.aliyun.com/debian/

https://mirrors.aliyun.com/debian-archive/

在这里插入图片描述

三、更换阿里Debian镜像源

1、登录Debian操作系统

在这里插入图片描述

2、打开终端窗口

在这里插入图片描述

3、测试网络连通性

在这里插入图片描述

4、备份系统源镜像文件

在这里插入图片描述

5、编辑source.list配置文件

编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份

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、运行命令生成缓存

apt-get clean - 删除所有已下载的包文件
apt-get update - 取回更新的软件包列表信息
apt-get upgrade - 进行一次升级
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

在这里插入图片描述

目录
相关文章
|
6天前
|
Java Linux 数据安全/隐私保护
Docker自定义JDK镜像并拉取至阿里云镜像仓库全攻略
Docker自定义JDK镜像并拉取至阿里云镜像仓库全攻略
|
16天前
|
弹性计算 JSON 运维
Serverless 应用引擎产品使用之阿里云serverless的s deploy,本地的代码编译后的镜像无法推送上去如何解决
阿里云Serverless 应用引擎(SAE)提供了完整的微服务应用生命周期管理能力,包括应用部署、服务治理、开发运维、资源管理等功能,并通过扩展功能支持多环境管理、API Gateway、事件驱动等高级应用场景,帮助企业快速构建、部署、运维和扩展微服务架构,实现Serverless化的应用部署与运维模式。以下是对SAE产品使用合集的概述,包括应用管理、服务治理、开发运维、资源管理等方面。
30 0
|
16天前
|
运维 IDE Serverless
Serverless 应用引擎产品使用之阿里函数计算中,阿里云容器镜像服务(Container Registry)中创建自定义镜像,然后将其部署到FC上如何解决
阿里云Serverless 应用引擎(SAE)提供了完整的微服务应用生命周期管理能力,包括应用部署、服务治理、开发运维、资源管理等功能,并通过扩展功能支持多环境管理、API Gateway、事件驱动等高级应用场景,帮助企业快速构建、部署、运维和扩展微服务架构,实现Serverless化的应用部署与运维模式。以下是对SAE产品使用合集的概述,包括应用管理、服务治理、开发运维、资源管理等方面。
29 0
|
16天前
|
关系型数据库 Serverless 异构计算
Serverless 应用引擎产品使用之在阿里云函数计算中使用包含GPU的实例并且镜像超过10GB了如何解决
阿里云Serverless 应用引擎(SAE)提供了完整的微服务应用生命周期管理能力,包括应用部署、服务治理、开发运维、资源管理等功能,并通过扩展功能支持多环境管理、API Gateway、事件驱动等高级应用场景,帮助企业快速构建、部署、运维和扩展微服务架构,实现Serverless化的应用部署与运维模式。以下是对SAE产品使用合集的概述,包括应用管理、服务治理、开发运维、资源管理等方面。
34 0
|
21天前
|
存储 固态存储 NoSQL
阿里云企业级云服务器实例、云盘、带宽、镜像选择参考
对于许多初次接触云服务的用户来说,在购买阿里云服务器的时候,并不清楚应该如何选择适合自己的实例规格、云盘、带宽和镜像等配置,因为很多用户以往只用过物理服务器,对于阿里云企业级服务器的实例规格、云盘和带宽等不知道如何选择,本文为大家简单介绍一下阿里云企业级服务器应该如何选择这些参数。
阿里云企业级云服务器实例、云盘、带宽、镜像选择参考
|
1月前
|
存储 弹性计算 安全
阿里云服务器镜像类型怎么选?公共镜像、自定义镜像等镜像区别及选择参考
阿里云服务器镜像包括公共镜像、云市场镜像、自定义镜像、社区镜像、共享镜像,镜像可以满足各类型用户对于应用环境的快速部署、灵活管理的需求。不过有的新手用户并不知道这些镜像之间的区别,因此不知道应该怎么选择,本文为大家介绍一下阿里云服务器各个镜像之间的区别及选择参考。
阿里云服务器镜像类型怎么选?公共镜像、自定义镜像等镜像区别及选择参考
|
1月前
|
Kubernetes 安全 API
debian11 安装 k8s,containerd ,阿里云镜像(已成功)
在准备 Kubernetes 集群环境中,确保每台机器至少有 2GB RAM,推荐 4GB,需连接网络。需3台机器,1台作为 Master,2台作为 Worker。安装 `sudo`,设置各节点主机名为 k8s-master、k8s-node1、k8s-node2,并更新 `/etc/hosts`。升级系统,接着安装并更新 containerd 至 v1.7,配置 `containerd` 并启用。
62 0
|
4天前
|
弹性计算 运维 监控
解密阿里云弹性计算:探索云服务器ECS的核心功能
阿里云ECS是核心计算服务,提供弹性云服务器资源,支持实例按需配置、集群管理和监控,集成安全防护,确保服务稳定、安全,助力高效业务运营。
30 0
|
13天前
|
存储 弹性计算 固态存储
阿里云服务器CPU内存配置详细指南,如何选择合适云服务器配置?
阿里云服务器配置选择涉及CPU、内存、公网带宽和磁盘。个人开发者或中小企业推荐使用轻量应用服务器或ECS经济型e实例,如2核2G3M配置,适合低流量网站。企业用户则应选择企业级独享型ECS,如通用算力型u1、计算型c7或通用型g7,至少2核4G配置,公网带宽建议5M,系统盘可选SSD或ESSD云盘。选择时考虑实际应用需求和性能稳定性。
125 6
|
15天前
|
域名解析 弹性计算 Linux
阿里云购买云服务器、注册域名、备案及绑定图文教程参考
本文为大家介绍了2024年购买阿里云服务器和注册域名,绑定以及备案的教程,适合需要在阿里云购买云服务器、注册域名并备案的用户参考,新手用户可通过此文您了解在从购买云服务器到完成备案的流程。
阿里云购买云服务器、注册域名、备案及绑定图文教程参考