云服务器免费试用

debian镜像源(debian 镜像源)

服务器知识 0 935

本文目录:

  • 1、debian源配置
  • 2、Debian “stretch” 镜像源,试验可用
  • 3、deepin源设置

debian源配置

debian系统安装过程中会提示选择区域的源。一般选择完安装好系统就不需要再修改了。如若需要切换那就需要编辑/etc/apt/sources.list文件。

以清华镜像源为例,提供了各个版本可供选择和切换,很方便。

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释

deb testing main contrib non-free

# deb-src testing main contrib non-free

deb testing-updates main contrib non-free

# deb-src testing-updates main contrib non-free

deb testing-backports main contrib non-free

# deb-src testing-backports main contrib non-free

deb testing-security main contrib non-free

# deb-src testing-security main contrib non-free

很多时候我们直径安装的debian的testing版的iso,在安装完查看源的时候,源里面并不像上面那样显示的是testing,而是当前已发部的稳定版版本的下一个版本的代号。

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释

deb sid main contrib non-free

# deb-src sid main contrib non-free

Debian “stretch” 镜像源,试验可用

序:

近期在编写 Dockerfile 镜像的时候,折腾了很多源,本文列了几个速度还可以的国内源。

本文编撰于2018.12.06。

感谢这些机构的源。

one more thing:

镜像没有vi,直接用如下方法替换

都刷了一遍,杭州ECS上最快的是163源,惊讶~~

deepin源设置

debian镜像源书写格式:

deb url codename components(软件性质)

deb-src url codename components(软件性质)

例如:

deb apricot main contrib non-free

例如阿里云的deepin源:

url:

打开dists文件夹,dist文件夹下面的文件夹名字就是版本代号。

pool文件夹下的各个文件夹都是以软件的性质分类的。即所有的软件都放在pool文件夹下的各个文件夹中。

deb apricot non-free contrib main

deb-src apricot non-free contrib main

【debian镜像源】的内容来源于互联网,如引用不当,请联系我们修改。

声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942@qq.com核实处理,我们将尽快回复您,谢谢合作!
若转载请注明出处: debian镜像源(debian 镜像源)
本文地址: https://solustack.com/18620.html

相关推荐:

网友留言:

我要评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。