Debian 10安装Proxmox VE(PVE)虚拟化管理软件

date
Sep 11, 2023
slug
pve debian10 setup
status
Published
tags
Server
Network
summary
type
Post

设置host

PVE官方要求,/etc/hosts需要做如下修改:
首先设置hostname,根据实际情况自行修改,我这里设置为pve
hostnamectl set-hostname pve
vim /etc/hosts
修改为以下内容

添加PVE安装源

安装pve

apt -y install proxmox-ve postfix open-iscsi
删除os-prober软件包
apt remove os-prober
echo "deb [arch=amd64] http://download.proxmox.com/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

ovh 杜甫
iptables -t nat -A PREROUTING -p tcp --dport 9001 -j DNAT --to-destination 106.75.65.51:9003
iptables -t nat -A PREROUTING -d 10.7.127.100 -p tcp --dport 9001 -j DNAT --to-destination 10.9.44.140:9005
iptables -t nat -A PREROUTING -p tcp --dport 6666 -j DNAT --to-destination 152.32.240.219:9001 iptables -t nat -A POSTROUTING -p tcp -d 152.32.240.219 --dport 9001 -j SNAT --to-source 106.75.65.51

© suguo210 2022 - 2023