debian10安装proxmox-ve开发环境
文章目录
前言
工作需要用到debian系统下部署proxmox-ve的开发环境,查阅资料后现记录下来,方便日后查找。
一、debian10系统安装
本教程用到的系统镜像地址如下所示:
https://cdimage.debian.org/cdimage/archive/10.10.0/amd64/iso-dvd/debian-10.10.0-amd64-DVD-1.iso
二、安装proxmox-ve开发环境
1.修改/etc/hosts文件
代码如下(示例):
127.0.0.1 localhost.localdomain localhost
192.168.15.77 prox4m1.proxmox.com prox4m1
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
2.添加镜像地址
2.1 添加Proxmox VE 仓库
echo "deb [arch=amd64] http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
2.2 添加Proxmox VE 仓库公钥
wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
chmod +r /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg # optional, if you have a non-default umask
3.更新系统镜像
apt update && apt full-upgrade
4.安装Proxmox VE
apt install proxmox-ve postfix open-iscsi
5.移除os-prober包
apt remove os-prober
总结
以上就是debian10(buster)下安装proxmox-ve开发环境的方法。