Ubuntu镜像源配置

Ubuntun国内镜像下载及虚拟机安装与换源 Ubutun的虚拟机安装与配置 阅读详情
AI摘要

本文介绍了如何配置Ubuntu系统的镜像源,包括阿里云提供的不同版本的Ubuntu镜像源配置方法,适合各种Ubuntu版本,如14.04 LTS、16.04 LTS等。提供了图形界面和手动配置两种方式。

Ubuntu配置镜像源

1. 简介

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

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

2. 相关仓库

  • Ubuntu安装源(ubuntu-releases): https://developer.aliyun.com/mirror/ubuntu-releases
  • Ubuntu ARM源(ubuntu-ports): https://developer.aliyun.com/mirror/ubuntu-ports
  • Ubuntu过期源(oldubuntu-releases): https://developer.aliyun.com/mirror/oldubuntu-releases
  • Ubuntu其他架构安装镜像(ubuntu-cdimage): https://developer.aliyun.com/mirror/ubuntu-cdimage

3. 配置方法

注: 该镜像仅适用于配置 x86 架构下的 ubuntu系统,如果您的系统为 ARM, PowerPC 等其他架构,请移步使用 ubuntu-ports 源进行配置。

3.1 域名说明

对于阿里云ECS用户,需要将配置文件中 https://mirrors.aliyun.com/ 替换成 http://mirrors.cloud.aliyuncs.com/ 进行使用

sed -i 's/https:\/\/mirrors.aliyun.com/http:\/\/mirrors.cloud.aliyuncs.com/g' /etc/apt/sourc

3.2 图形界面配置

新手推荐使用图形界面配置: 系统设置 -> 软件和更新 选择下载服务器 -> “mirrors.aliyun.com”

3.3 手动更改

用你熟悉的编辑器打开:

/etc/apt/sources.list

替换默认的

http://archive.ubuntu.com/

为

http://mirrors.aliyun.com/

3.4 各个版本配置文件示例

ubuntu 14.04 LTS (trusty) (EOL) 配置如下
deb https://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

## Not recommended
# deb https://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
ubuntu 16.04 LTS (xenial) (EOL) 配置如下
deb https://mirrors.aliyun.com/ubuntu/ xenial main
deb-src https://mirrors.aliyun.com/ubuntu/ xenial main

deb https://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb-src https://mirrors.aliyun.com/ubuntu/ xenial-updates main

deb https://mirrors.aliyun.com/ubuntu/ xenial universe
deb-src https://mirrors.aliyun.com/ubuntu/ xenial universe
deb https://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb-src https://mirrors.aliyun.com/ubuntu/ xenial-updates universe

deb https://mirrors.aliyun.com/ubuntu/ xenial-security main
deb-src https://mirrors.aliyun.com/ubuntu/ xenial-security main
deb https://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb-src https://mirrors.aliyun.com/ubuntu/ xenial-security universe
ubuntu 18.04 LTS (bionic) 配置如下
deb https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
ubuntu 20.04 LTS (focal) 配置如下
deb https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
ubuntu 22.04 LTS (jammy) 配置如下
deb https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse
ubuntu 23.04 (lunar) 配置如下
deb https://mirrors.aliyun.com/ubuntu/ lunar main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ lunar main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ lunar-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ lunar-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ lunar-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ lunar-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ lunar-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ lunar-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ lunar-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ lunar-backports main restricted universe multiverse
ubuntu 24.04 (noble) 配置如下
deb https://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ noble-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ noble-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ noble-backports main restricted universe multiverse

4. 相关链接

  • 官方主页: http://www.ubuntu.com/
  • 邮件列表: http://www.ubuntu.com/support/community/mailinglists
  • 论坛: http://ubuntuforums.org/
  • 中文论坛: http://forum.ubuntu.org.cn/
  • Wiki: https://wiki.ubuntu.com/
  • 帮助: https://help.ubuntu.com/
列举Ubuntu常会使用到的几种镜像源 列举Ubuntu常会使用到的几种镜像源。 阅读详情

相关推荐

Mirror | ubuntu 镜像源配置

本文介绍了如何为 Ubuntu 配置镜像源,包括备份原文件、使用清华源并验证设置。

宇宙有只 AGI 的博客 1356

Ubuntu设置国内镜像源

Ubuntu设置国内镜像源

duke_ding2的博客 2万+

无法连接上 cn.archive.ubuntu.com:80 (123.129.214.98)。 - connect (111: 拒绝连接)

今天用sudo apt-get install flex的时候出现了标题上的问题,不能连接。 先ping了一下这个域名,发现能够ping的通,就是不懂为什么不能链接。 接着从网上找相应的解决方法,有网友说是源出问题拉,权且认为是这个源的主机down了。 然后从网上搜到与OS相对应的版本的源,我的是10.04,然后更改了源,就没问题了。 具体如下: 1. sudo gedit /etc/a

嵌入式Linux 2万+

Ubuntu如何配置软件镜像源?

在Ubuntu中配置软件镜像源可以帮助加快软件包的下载速度,并且从可靠的镜像服务器获取软件更新。选择合适的镜像源:根据你的地理位置或个人偏好,选择一个合适的镜像源。备份原有的软件源配置文件(可选):如果你想保留原有的软件源配置备份,可以执行以下命令备份。现在,你的Ubuntu系统已经配置了新的软件镜像源。命令来安装、更新或卸载软件包,并从所选的镜像源获取软件包。编辑软件源配置文件:使用文本编辑器(如。你可以根据需要选择其他镜像源。

高性价比服务器就选:蓝易云 1万+

基于YOLOv8的玉米病害监测系统

本研究的主要目标是设计并实现一个基于深度学习的玉米病害识别系统,通过采用YOLOv8算法进行玉米叶片病害的自动化识别。研究首先对玉米病害的种类和特点进行了分析,选择了具有代表性的病害类型,如玉米锈病、灰叶斑病、枯叶病和健康叶片,以构建一个多类别的分类问题。数据集的构建和处理是研究的关键部分,通过数据增强、图像标注等手段确保了数据的多样性和丰富性,从而提高了模型的泛化能力。

yupan__的博客 498

心电图机原理及电路超详细讲解

前置心电放大电路(虚线框:这是隔离电路的分界,在隔离电路分析中知道,完整隔离包括信号隔离(脉宽调制)、控制信号隔离(光电耦合)和电源隔离)后级放大电路。

fcxgfdjy的博客 2万+

Ubuntu系统镜像源配置

一、Ubuntu系统镜像源配置。

weixin_45690427的博客 3243

浊音/清音/爆破音的时域及频域特性

第一周作业 浊音/清音/爆破音的时域及频域特性 思路:使用Audacity进行录制,时域部分将音频放大观察波形规律,频域部分生成并进行频谱分析。 (1)浊音U 时域分析: 时域表现为短周期性,波形比较规律。 频域分析: 频域上表现为频率集中在低频区域,共振峰较为明显,短时能量较高。 (2)清音S 时域分析: 时域波形没有周期性,整体振幅小于浊音。 频域分析: 频域波形平缓,无共振峰,能量比较集中。 (3)爆破音t 时域分析: 脉冲波,更为尖锐,整体上振幅降低。 频域分析: 没有像浊音一样的共振

Leylaaaa的博客 1228

ubuntu 镜像源配置

1. 详细步骤 1.1 查看源文件位置(可跳过) # 传统格式 more /etc/apt/sources.list # DEB822 格式 more /etc/apt/sources.list.d/ubuntu.sources 注:后续步骤都以传统格式的 /etc/apt/sources.list 为例 1.2 备份源文件 sudo mv /etc/apt/sources.list /etc...

宇宙有只 AGI 的博客 1672

SCU【C】程序设计基础期末安全项目lab2-Deadbeef-writeup(附题目&源码)

项目名称(本质:栈溢出攻击)【源码在文首】和lab1一样,此题又是美国卡耐基梅隆大学的平时作业哈哈哈! 项目要求是把栈溢出,强行更改函数返回值,输出0xdeadbeef。

2301_79586491的博客 1550

静态时序分析(STA)_深入解析Data to Data Checks的零周期挑战

本文深入解析了静态时序分析(STA)中Data to Data Checks的核心概念与零周期挑战。重点探讨了当Setup要求值超过时钟周期时,工具如何调整发射沿,并导致Hold检查的发射与捕获沿“分裂”这一反直觉现象。文章通过案例详细解读了时序报告,并提供了通过调整约束或接受多周期保持两种策略来应对这一挑战,帮助工程师正确理解和处理此类复杂时序检查。

weixin_29204205的博客 358

Linux配置篇 | Ubuntu配置apt镜像源

有时候下载一些资源包的时候,有些镜像源有这个包,而有些可能会没有,因此一次性配置多个镜像源,保证资源包可以找到。 一、修改apt镜像源 (1)执行如下命令打开apt配置文件: vim /etc/apt/sources.list (2)分别添加中科大、阿里云、163、清华镜像源: deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse deb-src https://mirrors.us

Systemcall名屋 1万+

OpenClaw人人养虾:接入即时通讯平台Zalo

通过 Zalo Official Account(OA,官方账号)API,可以将 OpenClaw 接入 Zalo,实现面向越南用户的自动化客服和互动。

王国平的博客 444

Ubuntu配置镜像源

Ubuntu配置国内镜像源

ETON2的博客 6867

Android系统修改驱动固定USB摄像头节点绑定前后置摄像头

Android系统中usb摄像头节点会因为摄像头所接的usb口不同或者usb设备识别顺序不一样而出现每次开机生成的video节点不一样的问题。由于客户app调用摄像头时,需要固定摄像头的节点。因此需要针对前面的情况做处理。

Android系统开发笔记 2253

【学习系列】SAP RAP 7:行为定义-Draft

本文介绍了RAP框架中的草稿表(Draft)功能及其应用。草稿表允许用户临时保存数据,在激活前不影响业务逻辑,支持保存继续、暂存和设备切换功能。草稿分为独占草稿(仅限同一用户编辑)和协作草稿(允许多用户协同编辑)。启用草稿需在行为定义和投影中包含标准action,并创建包含TotalETag等管理字段的草稿表。TotalETag确保草稿转换时活动数据未被修改,而ETagmaster则防止并发修改。文章通过OData调用示例详细说明了ETag验证过程,强调草稿功能由RAP框架自动处理,开发者只需关注定义和配置

DeveloperMrMeng的博客 451

Ubuntu 镜像源配置

获取国内镜像源 地址:https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/ 备份系统自带的更新源配置文件 配置镜像源 输入命令:gedit   source.list 打开文件,把文件内容全部删除,再把更新源路径粘贴进来。 更新源 安装自己需要的应用 其他的一些命令 sudo apt-get update 更新源...

Fly_鹏程万里 1591

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

ubuntu下docker配置国内镜像源

既然都看到这篇文章了,就不解释为什么需要配置国内镜像源了,直接上步骤。 此文使用ubuntu环境为Ubuntu 18.04.4 LTS 使用 sudo vim /etc/docker/daemon.json 命令新建或编辑文件 输入以下内容: { "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"] } 注意: 我这里使用的...

Let_me_tell_you的博客 9088

efm32 入门.pdf

本PDF共计22页,介绍的是操作驱动API,下载与否自己斟酌。

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

ubuntu国内镜像源手动配置

注意:focal是Ubuntu 20.04的代号,根据你的Ubuntu版本,可能需要替换为bionic(Ubuntu 18.04)、xenial(Ubuntu 16.04)或其他代号。将文件中的内容替换为适合的国内镜像源地址。

QianKun 1366

霍尼韦尔SoftMaster使用说明

霍尼韦尔SoftMaster使用说明

Ubuntu下高效配置pip镜像源的两种方法

本文针对Ubuntu系统下pip安装速度慢的问题,详细介绍了两种高效配置pip镜像源的方法:命令行修改法和配置文件修改法。通过更换国内镜像源(如清华、阿里云源),可大幅提升Python包下载速度,解决网络延迟问题,是提升开发效率的必备技能。

weixin_28834169的博客 215

ubuntu 安装前首先要配置【正确】镜像源

ubuntu yum安装。

majingchang的博客 488

Ubuntu 配置镜像源

Ubuntu 配置镜像源 注, 如果添加镜像后没有自己要安装的软件, 切回原镜像即可, 只是有点慢. cp /etc/apt/sources.list /etc/apt/sources.list.bak echo ''>/etc/apt/sources.list echo deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ ...

dgce32897的博客 381

配置ubuntu镜像源

Ubuntu repository configuration file’s location /etc/apt/sources.list 1. backup backup your previous configuration file before you try to modify it either by UI or command line. sudo cp /etc/apt/sour...

yangOvOyang 1874

【Ubuntu】Ubuntu 24.04 配置镜像源

介绍如何把Ubuntu24的软件源改为阿里云的镜像软件源~

有知识,世界会更大 7749

ubuntu镜像源的配置

摘要:你是否遇到过按照网上教程更改了自己的镜像源之后,貌似还是不兼容,许多安装包还是下不了?其实不是他们写的教程有错误,而是你没用根据自己使用的ubuntu的版本去正确配置镜像源!!!

Leon的博客 1万+
上一篇: CentOS镜像源配置
下一篇: 3. ChaosBlade-Box平台安装
KongTY312
博客等级 码龄12年 2143粉丝 189原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

KongTY312

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址