Ubuntu阿里源镜像_ubuntu阿里云镜像源-程序员宅基地

技术标签: 阿里云  ubuntu  

Ubuntu 镜像

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

备份sources.list

sudo cp /etc/apt/sources.list /etc/apt/sources.list.back

手动更改
用你熟悉的编辑器打开:

例如:

sudo vim /etc/apt/sources.list

全选

ggVG

删除

d

点击鼠标右键粘贴源

按下ESC
输入

:wq

即可保存退出

替换默认的

http://archive.ubuntu.com/

mirrors.aliyun.com

以Ubuntu 14.04.5 LTS为例,最后的效果如下:

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 配置如下

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

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

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

deb http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe

Ubuntu 18.04(bionic) 配置如下

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

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

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

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

deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

Ubuntu 20.04(focal) 配置如下

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

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

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

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

deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse

相关链接:
官方主页: 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/

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/weixin_47540149/article/details/123713461

智能推荐

L1-033 出生年 (15分)-程序员宅基地

文章浏览阅读45次。L1-033 出生年 (15分)题目以上是新浪微博中一奇葩贴:“我出生于1988年,直到25岁才遇到4个数字都不相同的年份。”也就是说,直到2013年才达到“4个数字都不相同”的要求。本题请你根据要求,自动填充“我出生于y年,直到x岁才遇到n个数字都不相同的年份”这句话。输入格式:输入在一行中给出出生年份y和目标年份中不同数字的个数n,其中y在[1, 3000]之间,n可以是2、或3、或4。注意不足4位的年份要在前面补零,例如公元1年被认为是0001年,有2个不同的数字0和1。输出格式:根据输

mysql 3.23 注入_安全狗SQL注入、上传绕过-2017-3-23-程序员宅基地

文章浏览阅读64次。作者是谁不清楚,看到群里分享出来的,所以转载到博客了。-----收集整理 by: www.nvhack.com 安全狗SQL注入绕过 测试文件,明显的字符型SQL 注入 _mysql注入上传绕开分号

pytorch环境搭建_import pytorch as pytouch-程序员宅基地

文章浏览阅读311次。我也是个新手所以遇到的问题可能不全面,不过确实有很多的坑,写下来,后面再补充第一步:找到b站安装视频https://www.bilibili.com/video/BV1oz411v7cv?from=search&seid=12498239426358158910第二步:按照上述步骤下载anaconda 这里指出官网下载需要注册,而恰巧你没有梯子,那么,你可以去清华的镜像网站 https://mirrors.tuna.tsinghua.edu.cn/anacon..._import pytorch as pytouch

autodesk genuine service卸载不掉,找不到autodesk genuine service.msi 怎么办_autodeskgenuineservice为什么卸载不掉-程序员宅基地

文章浏览阅读1w次。尝试了很多网上的方法,反复提到找到 autodesk genuine service.msi 这个文件,但是电脑里没有这个文件只有autodesk genuine service.conf这个文件把他删了再去控制面板卸载就可以了_autodeskgenuineservice为什么卸载不掉

华为荣耀鸿蒙3.0安装谷歌Play商店,安装谷歌服务三件套GMS,Google_华为鸿蒙安装googleplay三件套-程序员宅基地

文章浏览阅读6.6w次,点赞12次,收藏102次。我们升级到鸿蒙3.0也面临着一个问题,那就是安装谷歌服务框架GMS谷歌play商店。在鸿蒙2.0的时候我们使用工具:华谷套件,列,X2,XS2。那么我们升级到鸿蒙3.0也面临着一个问题,那就是安装谷歌服务框架GMS谷歌play商店。在鸿蒙2.0的时候我们使用工具:华谷套件,同时配置电脑链接手机降级备份就可以安装Play商店。最新的好消息鸿蒙3.0也可以安装谷歌Play商店了,而且不需要使用电脑,只需要一个安卓APP:华谷套件,就可以轻松地安装。同时我找了几款其他的机型,比如mate 40系列都是可以安装的。_华为鸿蒙安装googleplay三件套

【Qt】ubuntu下Qt开发环境的搭建_ubuntu qt环境搭建-程序员宅基地

文章浏览阅读3.4k次,点赞4次,收藏25次。在打开示例工程的过程中,由于示例工程的源码是安装到根目录(/opt/)下的,所以不具有写权限,这时候QtCreator会弹窗提示,我们可以选择将其复制到家目录下自定义的目录中即可。如果是新安装的ubuntu操作系统,需将软件包源更换为国内对应ubuntu版本下的源,方便软件包的安装。注意如果不是以sudo进行安装,则不能在根目录(/)下创建目录,Qt默认安装路径目录也不是在。上图红框中是必须选择的,其他的组件就根据自己的实际需要选择啦,此处我选择了。方式进行安装,或者根据具体的依赖提示进行处理。......_ubuntu qt环境搭建

随便推点

毕业设计项目 深度学习人体目标检测-程序员宅基地

文章浏览阅读851次,点赞18次,收藏16次。1 简介今天学长向大家介绍一个机器视觉的毕设项目,基于深度学习的人体目标检测算法研究与实现毕业设计 深度学习行人目标检测系统。

CMake笔记(1)简单语法_cmake if not-程序员宅基地

文章浏览阅读260次。简单语法注释#命令格式COMMAND(参数1 参数2 ...)分隔符A;B;C D #用分号或者空格分割变量set(VAR a b c) 设置变量VAR command(${VAR}) 引用变量VAR的值,等价于command(a b c) command("${VAR}") 等价于 command("a b c") command("/..._cmake if not

Ubuntu18.04安装QGC_ubuntu18.04 安装qgc-程序员宅基地

文章浏览阅读3.2k次,点赞6次,收藏41次。QGC下载下载地址:https://github.com/mavlink/qgroundcontrol/releases进入网站后找到自己需要的版本,我自己使用的为3.5.2和4.1.2后缀.exe为window的安装包,这里我们下载后缀.Applmage和.tar.bz2。安装QGC下载完成后解压tar.bz2 tar -xjf QGroundControl.tar.bz2安装相关依赖sudo apt-get install espeak libespeak-dev libudev-d_ubuntu18.04 安装qgc

好未来---锁定广东卫视,听大师分享人生中的“顿悟时刻”_卢勤 杨永信-程序员宅基地

文章浏览阅读540次。 锁定广东卫视,听大师分享人生中的“顿悟时刻” 你是否还记得,成长路上那些至关重要的时刻?那些忽然醒悟的瞬间?这便是“顿悟”的力量。成长路途中的“顿悟”,离不开师长的点拨。它可能会是一个良好的习惯,会是一份持之以恒的毅力,也会是优秀的品格和综合素养。 ..._卢勤 杨永信

面向对象设计大作业——火车售票系统_铁路售票系统用例图购票用例规约-程序员宅基地

文章浏览阅读744次。用户注册登录:按始发地、目的地查询购票:按车次号查询购票:查看已购车票,退票,注销:管理员登录,查看所有用户信息:录入车次:删除车次:修改车次信息:查看所有车次:管理员注销:点击运行火车售票系统软件,用户输入用户名和密码,或者直接注册一个账号。登录成功后进入用户界面,可以选择按始发地、目的地或者车次号查询购票,点击用户信息里面的已购车票,可以查看已经购买的车票和进行退票,操作完成后进行注销。管理员输入唯一的账号进行登录,可以点击功能,查看所有用户信息或者注销返回登录界面。管理员可以录入车次,修改车次信息,删_铁路售票系统用例图购票用例规约

Dymola多学科系统仿真平台-程序员宅基地

文章浏览阅读279次。Dymola是法国Dassault Systems(达索)公司的多学科系统快速设计和验证工具,广泛应用于国内外汽车、交通、能源等行业的系统总体架构设计、选型及匹配验证、系统优化、控制系统MIL/HIL验证等。_dymola

推荐文章

热门文章

相关标签