Proxmox配置国内更新源

@[TOC] (Proxmox)

Proxmox国内更新源

1.修改sources.list内容。
#vi /etc/apt/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.同步 /etc/apt/sources.list 和 /etc/apt/sources.list.d 中列出的源的索引
(1)#apt-get update
(2)apt-get update只是更新了apt的资源列表,没有真正的对系统执行更新。如果需要,要使用apt-get upgrade来更新。
#apt-get update & upgrade

上一篇:Debian更换国内源


下一篇:Debian systemctl 命令设置 自启动(开机启动)