Ubuntu,是一款基于 Debian Linux 的以桌面应用为主的操作系统,内容涵盖文字处理、电子邮件、软件开发工具和 Web 服务等,可供用户免费下载、使用和分享。

阿里云官方镜像站:https://developer.aliyun.com/mirror/

下载地址: 阿里云开源镜像站资源目录

配置方法

域名说明

对于阿里云ECS用户,可以直接使用内部域名访问,而对于非云用户则需要使用公网域名 mirrors.aliyun.com 来访问。

手动更改

用你熟悉的编辑器打开:

/etc/apt/sources.list

替换默认的

http://archive.ubuntu.com/

mirrors.aliyun.com

这里以ubuntu 21.10版本为例,最后的效果如下:

sudo vi /etc/apt/sources.list

# deb cdrom:[Ubuntu 21.10 _Impish Indri_ - Release amd64 (20211012)]/ impish main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.aliyun.com/ubuntu/ impish main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ impish main restricted## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.aliyun.com/ubuntu/ impish-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ impish-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 http://mirrors.aliyun.com/ubuntu/ impish universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ impish universe
deb http://mirrors.aliyun.com/ubuntu/ impish-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ impish-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 http://mirrors.aliyun.com/ubuntu/ impish multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ impish multiverse
deb http://mirrors.aliyun.com/ubuntu/ impish-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ impish-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 http://mirrors.aliyun.com/ubuntu/ impish-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ impish-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 impish partner
# deb-src http://archive.canonical.com/ubuntu impish partnerdeb http://mirrors.aliyun.com/ubuntu/ impish-security main restricted
# deb-src http://security.ubuntu.com/ubuntu impish-security main restricted
deb http://mirrors.aliyun.com/ubuntu/ impish-security universe
# deb-src http://security.ubuntu.com/ubuntu impish-security universe
deb http://mirrors.aliyun.com/ubuntu/ impish-security multiverse
# deb-src http://security.ubuntu.com/ubuntu impish-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操作系统配置阿里云镜像方法二相关推荐

  1. Ubuntu操作系统配置阿里云镜像方法一

    Ubuntu,是一款基于 Debian Linux 的以桌面应用为主的操作系统,内容涵盖文字处理.电子邮件.软件开发工具和 Web 服务等,可供用户免费下载.使用和分享. 阿里云官方镜像站:https ...

  2. Ubuntu 20.04 阿里云镜像、国内源

    阿里云镜像下载 http://mirrors.aliyun.com/ubuntu-releases/20.04/ 阿里云源 deb http://mirrors.aliyun.com/ubuntu/ ...

  3. python安装工具命令pip安装慢切换为国内阿里云镜像方法及前后对比

    pip是python下的一个包安装工具,可以在cmd里面直接输入pip install 工具或包名.我想安装一个itchat工具包.于是输入 pip install itchat 结果 不忍直视. 下 ...

  4. 下载MySQL阿里云镜像方法

    ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ 官网下载地址 ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ ...

  5. ubuntu更换阿里云镜像源操作步骤

    过程较为复杂,能清楚自己改了镜像源,避免了忘记或备份等 修改下载(镜像源)源 输入: sudo nano /etc/apt/sources.list 2.将所有deb 后的网址http://..... ...

  6. docker配置阿里云镜像加速并更改镜像和容器的存储位置及常见的docker bug解决方法

    配置阿里云镜像加速 使用docker容器管理服务,总结下来就三个重要概念: 镜像,容器,数据卷.在之前的博文中我们已经讲述了如何在linux服务器上安装docker,并运行docker服务了. 这篇文 ...

  7. Ubuntu(乌班图)修改阿里云镜像源详细步骤及安装gcc编译器

    1.首先备份本地的源 sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak (回车) 输入密码 (回车) 注:非root用户需要使用sudo( ...

  8. ubuntu虚拟机更改镜像源(中科大或者阿里云镜像源)

    ubuntu虚拟机更改镜像源(中科大或者阿里云镜像源)** 1.进入终端后,编辑源列表文件: 输入:sudo vim /etc/apt/sources.list 后输入:i 2.将原来的列表内的所有内 ...

  9. 嵌入式linux/鸿蒙开发板(IMX6ULL)开发 (二)Ubuntu操作入门与Linux常用命令

    文章目录 1.Ubuntu操作入门 1.1 Ubuntu下打开终端 1.1.1 用搜索框打开终端 1.1.2 使用右键打开终端 1.1.3 快捷键打开终端 1.1.4 调节终端的字体大小及颜色 1.2 ...

最新文章

  1. 离线人脸属性分析_最新开源 | 人脸识别应用套件:毫秒级离线识别 适用多类场景...
  2. 相机矩阵(Camera Matrix)
  3. Wireshark 在Windows下的安装
  4. 产品经理和项目经理有哪些区别?
  5. 2-2hadoop概述
  6. 不会真的有人拿了上万甚至几十万在网络上赌博吧?
  7. Python请求外部POST请求,常见四种请求体
  8. 如何使用JavaScript来写ASP程序
  9. 网管必须掌握的八个DOS命令
  10. 基于TCP协议的摄像头视频网络传输
  11. Python3 根据关键字爬取百度图片
  12. module ‘eli5‘ has no attribute ‘show_weights‘
  13. 为什么大数据与云计算密不可分?
  14. 解决“8080端口“被占用问题
  15. 概论_第5章_切比雪夫不等式
  16. matlab mag函数,频谱分析函数
  17. 如何在JavaScript中对对象数组进行排序
  18. CVPR_2021_Fast-GANFIT: Generative Adversarial Networkfor High Fidelity 3D Face Reconstruction
  19. php毕业设计题目课题选题之php购物商城系统(1)开题报告
  20. Ubuntu下安装adobe reader

热门文章

  1. 基于个人服务器的P2P内网穿透
  2. 李现,成为微软零售全品牌大使
  3. 查找数组的相对“平衡点”
  4. javascript/html 禁止图片缓存
  5. IDEA官网进不去--解决方法
  6. 2018 微信数据报告
  7. 无人驾驶与人工驾驶的对比,人工驾驶的优缺点
  8. 初中学历就没出息?看一个农村小孩是如何开超市年赚百万的!
  9. 对于目标文件系统,文件过大无法复制到u盘的解决方案:
  10. 复盘今年寒气逼人的秋招