debian apt 更改阿里源

  1. 备份文件

cp /etc/apt/sources.list /etc/apt/sources.list.bak

  1. 更改 sources.list文件内容为:

    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

  2. 更新

apt-get update -y

相关推荐
欲买桂花同载酒5824 分钟前
程序人生-Hello’s P2P
运维·服务器·数据库
NineData10 分钟前
AI时代的数据对比:DBA还需要盯着屏幕看差异吗?
运维·数据库
jyfool21 分钟前
Ubuntu 远程桌面配置踩坑实录:从 TightVNC 到 x11vnc 的折腾之旅
linux·运维·ubuntu
网硕互联的小客服37 分钟前
服务器防火墙是如何区分正常流量和攻击流量?
运维·服务器·网络
安当加密1 小时前
基于 RADIUS 的 Linux 服务器双因子认证:从 FreeRADIUS 到轻量级 ASP 方案的演进
linux·运维·服务器
A-刘晨阳1 小时前
【Prometheus】Alertmanager配置钉钉告警
运维·云原生·钉钉·prometheus·监控
wangqiaowq2 小时前
llama.cpp 启动命令优化
运维·服务器
double2li2 小时前
linux/unix 段错误捕获【续】
linux·运维·服务器·网络·unix
love530love2 小时前
Windows 11 源码编译 vLLM 0.16 完全指南(CUDA 12.6 / PyTorch 2.7.1+cu126)
人工智能·pytorch·windows·python·深度学习·comfyui·vllm
allway22 小时前
Linux / Unix last Command Examples
linux·运维·unix