WEIC`S BLOG

Debian8国内源

资源分享

看到好多人在找源,所以此文针对刚入门的新手,这里我放两个,一个是阿里云源,一个是163源,我目前用的是阿里云的;
源这个东西其实阿里云和163都有官方开源镜像站的,先看源;

首先是阿里云源

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

然后是163源

deb http://mirrors.163.com/debian/ jessie main non-free contrib
deb http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ jessie-backports main non-free contrib
deb-src http://mirrors.163.com/debian-security/ jessie/updates main non-free contrib

现在就是方法,只针对新手,命令走起

sudo vi /etc/apt/source.list

然后挑一个源替换掉里面的内容,vi或vim的使用方法我就不再赘述了;

最后放上阿里云开源镜像站的网址(这些都可以在百度、google等搜索引擎搜到的)

http://mirrors.aliyun.com/

接着是163开源镜像站的网址

http://mirrors.163.com/
加载评论
打赏本文
二维码