易秋网络旗下全球VPS测评站
云主机测评/独立服务器测评/主机优惠码

debian10更换apt-get源/163源/阿里云源

今天易秋网络老易在debian10的基础安装安装promox,遇到一点小问题,更新下debian10的源即可。

更新sources.list

备份
mv /etc/apt/sources.list /etc/apt/sources.list.bak
修改文件
nano /etc/apt/sources.list
复制以下代码,保存

debian10的163

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

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

更新

apt-get update

别的debian10源参考:https://cloud.tencent.com/developer/article/1590080

赞(2) 打赏
版权归求VPS所有,未经允许不准转载!求VPS » debian10更换apt-get源/163源/阿里云源
【声明】:求VPS,易秋网络旗下专业VPS测评站,主要侧重筛选全球质量比较好的VPS、云主机以及独立服务器,并且进行简单测评,仅供参考。因为全国网络差异较大,求VPS的VPS以及独立服务器测评数据仅对当时的测评环境有效。求VPS不强制网友购买本站介绍的VPS以及独立服务器资源,如果网友购买了本站介绍的资源,风险自担!

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏