思绪的空中生活

Debian 换阿里云源
说明:买的阿里云国内学生机,一年114.开通后第一件事当然是重装。装完后发现国外源"snapshot.debian...
扫描右侧二维码阅读全文
01
2019/05

Debian 换阿里云源

说明:买的阿里云国内学生机,一年114.开通后第一件事当然是重装。装完后发现国外源"snapshot.debian.org"特别慢,遂换成国内的。
VPS一键重装Debian系统

更换步骤

vi /etc/apt/sources.list
加#注释掉原来的,并添加阿里云源地址

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

stretch可以替换成jessie或者wheezy
保存后执行
apt-get update

参考:
http://ningxy.cn/Debian%209%20%E6%8D%A2%E9%98%BF%E9%87%8C%E5%8C%85%E6%BA%90.html

相关文章:

  • 宝塔面板安装frp
  • N1将armbian刷入emmc
  • Debian 限速
  • Debian网络流量分析脚本
  • debian 10 换源
  • Last modification:December 25th, 2019 at 12:35 am
    If you think my article is useful to you, please feel free to appreciate

    Leave a Comment