[不花钱站长]:从免费域名开始[0元] Oracle永久免费VPS[0元] VPS环境搭建免费脚本[0元] 秒变大盘挂载免费网盘[0元] 小白免费采集器1天500W[0元] CF免费DNS+CDN服务[0元]
[零基础网赚]:撸本站免费源码[0元] 网站强引免费蜘蛛法[0元] 图片视频文件免费存储[0元] 外链轻松发布免费友链[0元] 入坑免费教程学习源代码[0元] 网上百种+赚钱联盟推荐[?元]

↑↑VPS推荐网 WWW.VPS.COM.IN 稳定 便宜 免备案↑↑


您现在的位置是:首页 > 全球[VPS测评] >  Debian,VPS常用脚本,国外永久免费VPS

Debian 10/11更换国内源 解决系统无法更新和软件无法安装问题

全球[VPS测评]来源:VPS推荐网点击:1058
【性价之王】【线路之王】【价格之王】【配置之王】
【免费之王】【香港首推】【梯子之王】【独服之王】
Debian 10/11更换国内源 解决系统无法更新和软件无法安装问题

Debian 默认官方源站节点在境外,导致了更新失败,尤其实在晚上,基本上无法更新,解决这个问题我们只要通过简单的三步更换国内源即可,163网易云、阿里云、清华同方和中国科技大学等源任君选择。

1、备份现有源

sudo cp /etc/apt/sources.list /etc/apt/sources.list_bak

2、一般情况下,将 /etc/apt/sources.list 文件中 Debian 默认的源地址 http://deb.debian.org/ 替换为国内源即可。

#中国科技大学sudo sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list#163网易云sudo sed -i 's/deb.debian.org/mirrors.163.com/g' /etc/apt/sources.list#阿里云sudo sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list#清华同方sudo sed -i 's/deb.debian.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list

3、更新索引以生效。

sudo apt-get update

温馨提示:2022 年 6 月 30 日,Debian 9 “Stretch” 将达到生命周期结束(EOL)。建议用户尽快升级到 Debian 10 “Buster” 和 Debian 11 “Bullseye”

Debian, VPS常用脚本
[Debian]历史优惠活动内容
  • OpenVZ架构Debian8系统一键安装windows系统
  • 树莓派安装Debian arm64位操作系统:RPi-arm64
  • Centos Debian Ubuntu如何改更DNS
  • Linux CentOS,Debian用iptables屏蔽IP和删除IP
  • #Vultr#Debian 8及Centos7系统VPS安装破解版锐速图文教程
  • 搬瓦工Debian和Centos安装锐速教程
  • #分享#Debian 9 / Debian 8使用源安装LEMP教程
  • Debian 9 安装 LEMP + WHMCS 7.5 教程
  • Debian/Ubuntu 内核降级教程-降低(BBR)为支持锐速的内核版本
  • vultr debian 8更换内核安装锐速
  • OpenVZ架构Debian8系统一键安装windows系统
  • 树莓派安装Debian arm64位操作系统:RPi-arm64
  • Centos Debian Ubuntu如何改更DNS
  • Linux CentOS,Debian用iptables屏蔽IP和删除IP
  • #Vultr#Debian 8及Centos7系统VPS安装破解版锐速图文教程
  • 搬瓦工Debian和Centos安装锐速教程
  • #分享#Debian 9 / Debian 8使用源安装LEMP教程
  • Debian 9 安装 LEMP + WHMCS 7.5 教程
  • Debian/Ubuntu 内核降级教程-降低(BBR)为支持锐速的内核版本
  • vultr debian 8更换内核安装锐速
  • OpenVZ架构Debian8系统一键安装windows系统
  • 树莓派安装Debian arm64位操作系统:RPi-arm64
  • Centos Debian Ubuntu如何改更DNS
  • Linux CentOS,Debian用iptables屏蔽IP和删除IP
  • #Vultr#Debian 8及Centos7系统VPS安装破解版锐速图文教程
  • 搬瓦工Debian和Centos安装锐速教程
  • #分享#Debian 9 / Debian 8使用源安装LEMP教程
  • Debian 9 安装 LEMP + WHMCS 7.5 教程
  • Debian/Ubuntu 内核降级教程-降低(BBR)为支持锐速的内核版本
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • 从 Debian 10 升级到 Debian 11 Bullseye
  • VPS新手教程→kvm vps通过VNC安装debian系统
  • 在debian/ubuntu上搭建自己的DNS
  • 在Debian/Ubuntu上重设mysql的root密码
  • 在Debian/Ubuntu上安装vsftpd
  • VPS新手教程-重启Linux系统(centos/debian/ubuntu)
  • debian/ubuntu出现W: There is no public key avail
  • ubuntu/debian系统下vestacp升级php7
  • VPS服务器教程→如何在Debian9上安装LEMP套装组件(Linux-nginx-mys
  • 简单几步把debian 9升级到debian 10
  • “solusvm”下debian10系统漏洞请注意及时更新处理 附带解决办法!
  • debian11更新出错 E: The repository ‘http://securit
  • debian11更新出错 E: The repository ‘http://securit

  • 猜你可能想看的VPS


    转载请注明原文地址:http://140.238.13.167:12355/read-53814.html

    下一篇       上一篇