这里以PVE6为演示,5请自行修改,pve默认没有安装vim完整版,可以先安装下(习惯问题)
安装vim
apt install vim
1、Debian系统源(阿里云源)和proxmox源(https://mirrors.ustc.edu.cn/proxmox/)
vi /etc/apt/sources.list
#deb http://ftp.debian.org/debian buster main contrib #deb http://ftp.debian.org/debian buster-updates main contrib # security updates #deb http://security.debian.org buster/updates main contrib # debian aliyun source deb https://mirrors.aliyun.com/debian buster main contrib non-free deb https://mirrors.aliyun.com/debian buster-updates main contrib non-free deb https://mirrors.aliyun.com/debian-security buster/updates main contrib non-free # proxmox source # deb http://download.proxmox.com/debian/pve buster pve-no-subscription deb https://mirrors.ustc.edu.cn/proxmox/debian/pve buster pve-no-subscription
2、去除Proxmox企业源
vi /etc/apt/sources.list.d/pve-enterprise.list
#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
3、Ceph源
vi /etc/apt/sources.list.d/ceph.list
#deb http://download.proxmox.com/debian/ceph-nautilus buster main deb http://mirrors.ustc.edu.cn/proxmox/debian/ceph-nautilus buster main
文章评论