码迷,mamicode.com
首页 > 其他好文 > 详细

Debian stretch更换国内源

时间:2018-07-23 14:44:22      阅读:694      评论:0      收藏:0      [点我收藏+]

标签:update   清华   ror   div   镜像   安装过程   pre   port   apt   

在debian图形化安装过程中就可以选择网络镜像的位置

据说电信用清华的源快,移动的用网易源快

备份源配置文件:

cp /etc/apt/sources.list /etc/apt/sources.listbak 

 

sudo nano /etc/apt/sources.list

 

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

 

更新源:

apt-get update

 

Debian stretch更换国内源

标签:update   清华   ror   div   镜像   安装过程   pre   port   apt   

原文地址:https://www.cnblogs.com/arrive/p/9353994.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!