Proxmox 7.2 换国内源安装

分类:分享 5.27k浏览

最近尝试用Proxmox 7.2 安装CEPH娱乐,Proxmox 7.2 默认来自官方的源,国内慢的一逼高峰期只有个几KB的速度,所以换源。

Debian系统源(阿里云源)和中科大proxmox源。

Debian和 Ubuntu 体系比较少玩,操作起来好生疏。

一、更换阿里云的源

vi /etc/apt/sources.list

替换为:

deb http://mirrors.aliyun.com/debian/ bullseye main non-free contrib

deb-src http://mirrors.aliyun.com/debian/ bullseye main non-free contrib

deb http://mirrors.aliyun.com/debian-security/ bullseye-security main

deb-src http://mirrors.aliyun.com/debian-security/ bullseye-security main

deb http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib

deb-src http://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib

deb http://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib

deb-src http://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib

二、去除企业版源

vi /etc/apt/sources.list.d/pve-enterprise.list

注释掉,如:

## deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise

三、修改自带的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

 

四、更新

apt update

完事,然后一键安装。

本文参考:https://www.nasge.com/archives/136.html  并做精简修改和优化内容。