随心海

Good Luck To You!

PVE 8.4 (Proxmox VE) 虚拟机系统

    PVE (全称 Proxmox Virtual Environment) 是一个既可运行虚拟机也能运行 Docker 容器的虚拟化环境平台。它基于 Debian 和 KVM 技术开发,完全开源免费!通过 PVE 你可以随时创建管理多台虚拟机,在一台 PC 或服务器上同时运行各种 Linux、OpenWRT、Windows 等操作系统。

    PVE 8.3 基于最新的 Debian 12.8 Bookworm 开发而来,使用了较新的 Linux 6.8.12-4 内核,虚拟环境中的主要开源组件也都更新到了新版本,如 QEMU 9.0.2、LXC 6.0.0、ZFS 2.2.6 和 Ceph Squid 19.2.0、Ceph Reef 18.2、Ceph Quincy 17.2.7 等等,可以享受到更多新的技术特性。

PVE 8.0 官方源在国内访问速度比较慢,甚至有时完全抽风。我们可以修改国内源的镜像,来加速更新和下载的速度,方法并不复杂。

一、更换 Debian 系统国内软件源

1、首先,移除(备份)一下 PVE 原始的官方源 (将 sources.list 改名为 sources.list.bak)

mv /etc/apt/sources.list /etc/apt/sources.list.bak

2、添加国内 Debian 软件源:

#编辑 sources.list 源文件,写入国内源

nano /etc/apt/sources.list# 

内容如下:

deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main contribe
deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib

二、给 PVE 更换国内源

# 编辑文件 

pve-no-subscription.listnano /etc/apt/sources.list.d/pve-no-subscription.list# 

内容如下:

deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bookworm pve-no-subscription

三、屏蔽 PVE 企业源:

# 编辑文件
nano /etc/apt/sources.list.d/pve-enterprise.list# 

将下面这一行注释掉 (前面加上井号)

# deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bookworm pve-no-subscription

四、更新一下测试:

apt-get update


访问官方下载:https://www.proxmox.com/en/downloads

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

«    2025年5月    »
1234
567891011
12131415161718
19202122232425
262728293031
控制面板
您好,欢迎到访网站!
  查看权限
网站分类
搜索
最新留言
    文章归档