设置host
1.设置主机名
hostnamectl set-hostname pve.example.com --static
2.设置host,xxx替换成自己IP
rm /etc/hosts
echo "127.0.0.1 localhost" >> /etc/hosts
echo "::1 localhost ip6-localhost ip6-loopback" >> /etc/hosts
echo "ff02::1 ip6-allnodes" >> /etc/hosts
echo "ff02::2 ip6-allrouters" >> /etc/hosts
echo "xx.xx.xx.xx pve.example.com pve" >> /etc/hosts
安装PVE
1.更新源
apt update -y
apt install curl wget sudo -y
2.添加arm结构PVE源
echo "deb https://mirrors.apqa.cn/proxmox/debian/pve bookworm port">/etc/apt/sources.list.d/pveport.list
curl -L https://mirrors.apqa.cn/proxmox/debian/pveport.gpg -o /etc/apt/trusted.gpg.d/pveport.gpg
3.安装PVE
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
apt update -y && apt install -y chrony ksmtuned rsyslog ifupdown2
apt install -y proxmox-ve
后台https://[IP]:8006
评论0
暂时没有评论