avatar

Proxmox VE 6.2 国内源设置

更换 PVE 社区源

删除企业源

1
rm -rf /etc/apt/sources.list.d/pve-enterprise.list

下载秘钥

1
wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg

添加社区源

1
echo "deb http://download.proxmox.wiki/debian/pve stretch pve-no-subscription" >/etc/apt/sources.list.d/pve-install-repo.list

更换 Debian 国内源

备份原文件

备份原文件: /etc/apt/sources.list

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

编辑源信息

1
nano /etc/apt/sources.list

在原文件增加下面的内容

1
2
3
4
5
6
7
8
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

更新和升级

1
2
apt update
apt dist-upgrade
文章作者: 樵子
文章链接: https://www.aikiki.top/hexo/2020/06/01/Proxmox-VE-6.2-%E5%9B%BD%E5%86%85%E6%BA%90%E8%AE%BE%E7%BD%AE/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 AiKIKI
打赏
  • 微信
    微信
  • 支付寶
    支付寶