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

相关推荐
少妇的美梦28 分钟前
logstash教程
运维
chen9451 小时前
k8s集群部署vector日志采集器
运维
chen9451 小时前
aws ec2部署harbor,使用s3存储
运维
東雪蓮☆6 小时前
深入理解 LVS-DR 模式与 Keepalived 高可用集群
linux·运维·服务器·lvs
qq_264220896 小时前
LVS负载均衡群集和LVS+Keepalived群集
运维·负载均衡·lvs
乌萨奇也要立志学C++6 小时前
【Linux】进程概念(二):进程查看与 fork 初探
linux·运维·服务器
雨落Liy7 小时前
Nginx 从入门到进阶:反向代理、负载均衡与高性能实战指南
运维·nginx·负载均衡
Yyyy4827 小时前
Nginx负载均衡集群实验步骤
运维·nginx·负载均衡
獭.獭.8 小时前
Linux -- 信号【上】
linux·运维·服务器
hashiqimiya8 小时前
centos配置环境变量jdk
linux·运维·centos