教程因为网络问题和其他问题,自行测试

Github:https://github.com/pimox/pimox7

一、静态IP设置

  • 编辑interfaces

nano /etc/network/interfaces

pi5-pve-1.png

  • ip add查看IP和网卡

pi5-pve-2.png

  • 在interfaces添加下面参数(自行修改参数)

auto eth0
iface eth0 inet static
	address 192.168.1.5/24
	network 255.255.255.0
	gateway 192.168.1.1
	dns-nameservers 223.5.5.5
  • 修改Host

nano /etc/hosts

pi5-pve-3.1.png

  • 重启服务器

reboot

二、开始安装PVE

  • 添加源

echo "deb https://raw.githubusercontent.com/pimox/pimox7/master/dev/ " > /etc/apt/sources.list.d/pimox.list
  • 添加GPG

curl https://raw.githubusercontent.com/pimox/pimox7/master/KEY.gpg | apt-key add -

更新系统

sudo apt update

安装PVE(连接显示器执行)

apt install proxmox-ve