景山小窝

  • 首页
  • WOW
  • 奇趣事
  • 手机控
  • 计算机
    • 好软件
    • 路由器
  • 黑苹果
  • 算号器
你若安好,便是晴天。
生气是拿别人的错误惩罚自己。
  1. 首页
  2. 计算机
  3. 正文

debian 更改源为阿里云

2018-11-21 793点热度 0人点赞 1条评论

[title]debian 7.x (wheezy)[/title]

编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)

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

 

[title]debian 8.x (jessie)[/title]

编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)

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

[title]debian 9.x (stretch)[/title]

编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)

deb 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/ stretch main non-free contrib
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

让镜像源生效,更新系统镜像

apt-get update

apt-get upgrade

 

本作品采用 知识共享署名-非商业性使用 4.0 国际许可协议 进行许可
标签: 暂无
最后更新:2019-01-18

codeidc

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

您需要 登录 之后才可以评论

codeidc

这个人很懒,什么都没留下

分类
  • WOW
  • 奇趣事
  • 好软件
  • 手机控
  • 未分类
  • 计算机
  • 路由器
  • 黑苹果
归档
  • 2023年2月
  • 2023年1月
  • 2022年11月
  • 2022年4月
  • 2022年3月
  • 2021年11月
  • 2021年10月
  • 2021年1月
  • 2019年6月
  • 2019年5月
  • 2019年4月
  • 2019年3月
  • 2019年1月
  • 2018年12月
  • 2018年11月
  • 2018年10月
  • 2018年9月
  • 2018年8月
  • 2018年6月
  • 2018年5月
  • 2018年4月
  • 2018年3月
  • 2018年2月
  • 2018年1月
  • 2017年12月

COPYRIGHT © 2021 codeidc.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

豫ICP备2021031502号