1、安装debian系统
安装 buster版本的debian,安装好基础组件
测试使用的iso为:debian-10.9.0-amd64-xfce-CD-1.iso
如ssh.vim
1.1、配置官方存储库
vim /etc/apt/sources.list
deb http://mirrors.aliyun.com/debian buster main contrib non-free
#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
deb [allow-insecure=yes] http://mirrors.tuna.tsinghua.edu.cn/proxmox/debian buster pve-no-subscription
# [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
192.168.189.164 pve.domain pve
2.2、安装
更新apt update && apt full-upgrade
安装apt install proxmox-ve postfix open-iscsi -y
建议:删除os-proberapt remove os-prober
2.2.1、问题
1、如果看到:
ipcc_send_rec[1] failed: Connection refused
检查 /etc/hosts文件
127.0.0.1 localhost.localdomain localhost
192.100.3.202 pve-test-2.domain pve-test-2
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
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、配置桥接网络
注意,需要将网卡上的ip 和网卡删除掉,然后创建网桥
成功后点击应用配置。
需要先安装 ifupdown2
apt install ifupdown2
至此,安装以及配置网络完成
注:存储需要自己单独配置,debian系统使用的linux分区管理磁盘。