【小记录】虚拟机安装debian12.10_live网速慢的问题

宗同学
2025-04-05 / 0 评论 / 64 阅读 / 正在检测是否收录... / 搜一下
温馨提示:
本文最后更新于2025年04月04日,已超过26天没有更新,若内容或图片失效,请留言反馈。

大家好,我是宗同学,今天折腾debian12.10时遇到个问题,就是安装面板的时候网速特别慢,原因已经查到,记录一下。


听歌


更换国内源

debian12更换清华源帮助页面

传统软件源:

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware

# 以下安全更新软件源包含了官方源与镜像站配置,如有需要可自行修改注释切换
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware

源路径:/etc/apt/sources.list

打开源路径

命令:nano /etc/apt/sources.list

进入list后缀文件之后删掉里面的内容,粘贴清华的源保存即可。


实验

保存源之后,我们在终端输入 sudo apt update后回车,速度就起来了。


结尾

本人是在虚拟机中实验,在生产环境中一定要注意备份你们的数据哦,不然一切都白费了。此次记录又是一个知识的提升。

9

评论

博主关闭了所有页面的评论