咖啡百科

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1270|回复: 0

[云服务器教程] Debian11国内使用速度慢更换国内源

[复制链接]

25

主题

0

回帖

213

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
213
发表于 2024-4-12 22:12:21 | 显示全部楼层 |阅读模式
  1. sudo bash -c 'cat << EOF > /etc/apt/sources.list
  2. deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
  3. deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
  4. deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
  5. deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
  6. deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
  7. deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
  8. deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
  9. deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
  10. EOF'
  11. apt-get update --allow-releaseinfo-change -y
  12. apt-get upgrade -y
复制代码
直接输入即可
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|咖啡百科

GMT+8, 2024-11-21 18:21 , Processed in 0.038585 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表