咖啡论坛

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

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

[复制链接]

19

主题

0

回帖

158

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
158
发表于 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-6-21 09:45 , Processed in 0.056469 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2015-2023, 咖啡主机.

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