废话不多,直接上代码.
#设置主机
hostnamectl set-hostname debian
echo ' 127.0.0.1 localhost.localdomain localhost 1.1.1.1 debian.proxmox.com debian ' >/etc/hosts
1.1.1.1换成你服务器ip
#官方安装库
echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list 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 echo "deb http://download.proxmox.com/debian/ceph-nautilus buster main" | tee /etc/apt/sources.list.d/ceph.list
#更新系统
apt update && apt full-upgrade
注意:
1.遇到 samba server and utilities的时候,选No
2.如果你的网络中有邮件服务器,则应将postfix配置为satellite system, 并且现有的邮件服务器将是'relay host',它将把proxmox服务器发送的电子邮件路由到最终收件人, 如果你不知道在此输入什么,请选择仅限本地。
#安装proxmox
apt install proxmox-ve postfix open-iscsi
#安装完成重启
reboot
控制台:
https://1.1.1.1:8006
1.1.1.1换成你服务器ip
至此安装完成。
iso镜像路径:
/var/lib/vz/template/iso/