其实博主还是优先使用Centos,因为它做web感觉比较方便,能更好的支援宝塔面板、AppNode等。
但在有些时候,比如小内存机器、折腾机器、想更新更快的机器上,我优先还是用debian。
整理点debian源,让自己用起来方便。
debian版本代号:
Debian 10("buster") — 当前的稳定版(有支持)
Debian 9("stretch") — 被淘汰的稳定版(有支持)
Debian 8("jessie") — 被淘汰的稳定版(有支持)
Debian 7("wheezy") — 被淘汰的稳定版(有支持)
Debian 6.0("squeeze") — 被淘汰的稳定版(已无更新)
Debian GNU/Linux 5.0("lenny") — 被淘汰的稳定版(已无更新)
Debian GNU/Linux 4.0("etch") — 被淘汰的稳定版(已无更新)
Debian GNU/Linux 3.1("sarge") — 被淘汰的稳定版(已无更新)
Debian GNU/Linux 3.0("woody") — 被淘汰的稳定版(已无更新)
Debian GNU/Linux 2.2("potato") — 被淘汰的稳定版(已无更新)
Debian GNU/Linux 2.1("slink") — 被淘汰的稳定版(已无更新)
Debian GNU/Linux 2.0("hamm") — 被淘汰的稳定版(已无更新)
(请注意,以下源可能随时有更新,我在检查失效后会更新,如发现源有问题欢迎反馈)
首先推荐阿里云,全球CDN,国内国外都可以使用,速度不错,稳定,但是好像限制了单线程速度,罪囚极致速度的可能不太适合。
https://developer.aliyun.com/mirror/debian
debian10
deb http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb http://mirrors.aliyun.com/debian-security buster/updates main
deb-src http://mirrors.aliyun.com/debian-security buster/updates main
deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib.
debian9
deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb http://mirrors.aliyun.com/debian-security stretch/updates main
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main
deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
debian8
deb http://mirrors.aliyun.com/debian/ jessie main non-free contrib
deb http://mirrors.aliyun.com/debian/ jessie-proposed-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ jessie main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ jessie-proposed-updates main non-free contrib
debian7
deb http://mirrors.aliyun.com/debian/ wheezy main non-free contrib
deb http://mirrors.aliyun.com/debian/ wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ wheezy main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ wheezy-proposed-updates main non-free contrib
其他国内源:
腾讯云:这个中国大陆有CDN,其他的地方就别用了。
https://mirrors.cloud.tencent.com/help/debian.html
debian7.x(wheezy)
deb http://mirrors.cloud.tencent.com/debian wheezy main contrib non-free
deb http://mirrors.cloud.tencent.com/debian wheezy-updates main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian wheezy main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian wheezy-updates main contrib non-free
debian 8.x (jessie)
deb http://mirrors.cloud.tencent.com/debian jessie main contrib non-free
deb http://mirrors.cloud.tencent.com/debian jessie-updates main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian jessie main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian jessie-updates main contrib non-free
debian9.x(stretch)
deb http://mirrors.cloud.tencent.com/debian stretch main contrib non-free
deb http://mirrors.cloud.tencent.com/debian stretch-updates main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian stretch main contrib non-free
deb-src http://mirrors.cloud.tencent.com/debian stretch-updates main contrib non-free
debian10.x(buster)
deb https://mirrors.cloud.tencent.com/debian/ buster main contrib non-free
deb https://mirrors.cloud.tencent.com/debian/ buster-updates main contrib non-free
deb https://mirrors.cloud.tencent.com/debian/ buster-backports main contrib non-free
deb https://mirrors.cloud.tencent.com/debian-security buster/updates main contrib non-free
deb-src https://mirrors.cloud.tencent.com/debian/ buster main contrib non-free
deb-src https://mirrors.cloud.tencent.com/debian/ buster-updates main contrib non-free
deb-src https://mirrors.cloud.tencent.com/debian/ buster-backports main contrib non-free
deb-src https://mirrors.cloud.tencent.com/debian-security buster/updates main contrib non-free
华为云:看起来只有北京几个节点。
https://mirrors.huaweicloud.com/
Debian的仓库地址为:https://mirrors.huaweicloud.com/debian/
Debian-Security的镜像地址为:https://mirrors.huaweicloud.com/debian-security/
Debian的镜像地址为:https://mirrors.huaweicloud.com/debian-cd/
中科大:教育网的源,国内速度不错,国外没测试过。支持IPV6
http://mirrors.ustc.edu.cn/help/debian.html
中科大源有个配置生成器:https://mirrors.ustc.edu.cn/repogen/
挺好的。
国内还有很多。。。
国外:
国外建议官方源。
补充:现在debian7和8之类的都已经从官方源中删除了,需要用archive源(建议升级,已经不维护了)
debian 7
deb http://archive.debian.org/debian/ wheezy main contrib non-free
debian 8
deb http://archive.debian.org/debian/ jessie main contrib non-free