pve8.0换中科大源

 

pve8.0换中科大源

首先nano /etc/apt/sources.list
注释掉所有原来的官方源 复制进以下内容
deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware
deb https://mirrors.ustc.edu.cn/debian-security bookworm-security main
ctrl+x 按Y 回车保存
然后
nano /etc/apt/sources.list.d/ceph.list
注释掉原来的 复制进以下内容
deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-quincy bookworm no-subscription
ctrl+x 按Y 回车保存
然后
nano /etc/apt/sources.list.d/pve-enterprise.list
注释掉原来的 复制进以下内容
deb https://mirrors.ustc.edu.cn/proxmox/debian bookworm pve-no-subscription
ctrl+x 按Y 回车保存
最后解决gpg公钥
wget https://mirrors.ustc.edu.cn/proxmox/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg

评论

此博客中的热门博文

PVE8.0最新优化方案和qm disk import命令。

如何使用Fail2Ban 保护云服务器和网站安全 对接NGINX站点 拒绝暴力破解!(转载自科技lion 官方博客)

免费订阅