1、安装debian系统

安装 buster版本的debian,安装好基础组件
测试使用的iso为:debian-10.9.0-amd64-xfce-CD-1.iso
如ssh.vim

1.1、配置官方存储库

vim /etc/apt/sources.list

  1. deb http://mirrors.aliyun.com/debian buster main contrib non-free
  2. #deb http://mirrors.tuna.tsinghua.edu.cn/debian buster main contrib non-free

1.2、配置pve存储库

vim /etc/apt/sources.list.d/pve-install-repo.list

  1. deb [allow-insecure=yes] http://mirrors.tuna.tsinghua.edu.cn/proxmox/debian buster pve-no-subscription
  2. # [allow-insecure=yes] 不验证密钥

下载签名:
wget ``[http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg](http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg)`` -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg

2、安装pve

官方文档

2.1、配置hosts

vim /etc/hosts

  1. 192.168.189.164 pve.domain pve

2.2、安装

更新
apt update && apt full-upgrade
安装
apt install proxmox-ve postfix open-iscsi -y

建议:删除os-prober
apt remove os-prober

2.2.1、问题

1、如果看到:
ipcc_send_rec[1] failed: Connection refused
检查 /etc/hosts文件

  1. 127.0.0.1 localhost.localdomain localhost
  2. 192.100.3.202 pve-test-2.domain pve-test-2
  3. # The following lines are desirable for IPv6 capable hosts
  4. ::1 ip6-localhost ip6-loopback
  5. fe00::0 ip6-localnet
  6. ff00::0 ip6-mcastprefix
  7. ff02::1 ip6-allnodes
  8. ff02::2 ip6-allrouters
  9. ff02::3 ip6-allhosts

2、dpkg: error processing package XXX
mv /var/lib/dpkg/info/ /var/lib/dpkg/info_old/
mkdir /var/lib/dpkg/info/

重新执行2.2安装步骤

2.4、重启

reboot

3、配置桥接网络

image.png

注意,需要将网卡上的ip 和网卡删除掉,然后创建网桥

成功后点击应用配置。
需要先安装 ifupdown2
apt install ifupdown2

至此,安装以及配置网络完成

注:存储需要自己单独配置,debian系统使用的linux分区管理磁盘。