「PVE」- 安装、升级

  CREATED BY JENKINSBOT

问题描述

该笔记将记录:如何安装 PVE 环境,以及相关问题的处理方法。

解决方案

通过 PVE ISO 安装

官方提供 PVE 镜像,我们能够通过 PVE 镜像来直接安装:Installation – Proxmox VE

# for Linux
dd bs=1M conv=fdatasync if=./proxmox-ve_*.iso of=/dev/XYZ

# for Windows
# 通过 Etcher 或 Rufus 工具,将 ISO 写入 USB 存储设备;

通过 Debian-based 升级

Alternatively, Proxmox VE can be installed on top of an existing Debian system.
某些特殊硬件,鉴于比如硬件驱动等等原因,我们需要使用这种安装方法:
Install Proxmox VE on Debian Buster – Proxmox VE

based on Debian 11(Install Proxmox VE on Debian 11 Bullseye – Proxmox VE):

# vim /etc/hosts
...
192.168.15.77   prox4m1.example.com prox4m1
...

# echo "deb [arch=amd64] http://download.proxmox.com/debian/pve bullseye pve-no-subscription" \
    > /etc/apt/sources.list.d/pve-install-repo.list

# wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg \
    -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg

# apt update && apt full-upgrade

# https://github.com/CumulusNetworks/ifupdown2/issues/177
# 否则,当后续装 PVE 环境时,会出现 ifupdwon2 安装错误(执行 Post Script 失败);
# systemctl enable networking

# apt install proxmox-ve postfix open-iscsi

# systemctl reboot

# apt remove linux-image-amd64 'linux-image-5.10*'
# update-grub

# Recommended:
apt remove os-prober 

其他内容

pveperf,性能测试工具,基础测试。

Do not use UNetbootin. It does not work with the Proxmox VE installation image
dd for macOS and Linux; Etcher or Rufus for Windows;

Proxmox VE can be installed on ZFS. As ZFS offers several software RAID levels, this is an option for
systems that don’t have a hardware RAID controller.
Warning: ZFS on top of any hardware RAID is not supported and can result in data loss. Typically you should never run ZFS on top of disks configured in a RAID array. Note that ZFS does not have to run in RAID mode. You can just use individual disks. However, virtually 99% of people run ZFS for the RAID portion of it.(ZFS best practices with hardware RAID

下载:https://www.proxmox.com/en/downloads/category/iso-images-pve

访问:https://ip-address:8006

常见问题(安装相关)

Unsupported video frequency

Unsupported video frequency while installation of PVE 7.2 | Proxmox Support Forum

Dell PowerEdge R750,PVE 7.2;

问题描述:
在安装时,能够正常进入 PVE 的安装主界面;但是,选择 Install Proxmox 选项,则显示器提示不支持的刷新频率;

原因分析:
可能内核的问题;

解决方案:
1)我们是 Dell 服务器,通过 iDRAC/Virtual Console 功能,可以不用接入显示器;
2)或者,更换显示器(应该使用低端的显示器?);
3)或者,尝试安装 PVE 7.1 版本,然后在进行系统升级;

for ARM

GitHub – pimox/pimox7: Proxmox V7 for Raspberry Pi