转载:Arm版本的Proxmox VE8.0安装教程

安装Armbian,Amlogic, Rockchip 和 Allwinner 的安装方法不同
请阅读相关章节:https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/documents/README.cn.md
固件地址:https://github.com/ophub/amlogic-s9xxx-armbian/releases
版本选择:bookworm
官方固件:https://www.armbian.com https://github.com/armbian

一、通过armbian自带的armbian-software 然后选择308 进行一键自动安装。(网络需科学)

二、手搓教程:

1、禁用zram #非必须

systemctl disable armbian-zram-config.service
systemctl disable armbian-ramlog.service

2、禁用NetworkManager

systemctl stop NetworkManager
systemctl disable NetworkManager

3、修改网络配置,按需修改,mac地址(fc:7c:02:28:99:0e)及网口名(eth0)用ip a查看后替换

nano /etc/network/interfaces
例:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
hwaddress ether fc:7c:02:28:99:0e
address 192.168.1.228/24
gateway 192.168.1.1

4、修改dns,按需修改或填写公共dns(223.5.5.5等)

nano /etc/resolv.conf
例:
search lan
nameserver 192.168.1.1

5、修改hostsname,按需修改

nano /etc/hostname
例:
N1

6、修改hosts文件,对应hostname、ip,按需修改

nano /etc/hosts
例:
127.0.0.1   localhost.localdomain localhost
192.168.1.228   N1.proxmox.com N1
::1   localhost ip6-localhost ip6-loopback
fe00::0   ip6-localnet
ff00::0   ip6-mcastprefix
ff02::1   ip6-allnodes
ff02::2   ip6-allrouters

7、建议重启下设备

reboot

8、备份、新建debian源——清华或中科大源(二选一)

mv /etc/apt/sources.list /etc/apt/sources.list.bak
nano /etc/apt/sources.list
#以下为清华源地址
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware 
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware 
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware 
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware 
#以下为中科大源地址 
deb https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware 
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm main contrib non-free non-free-firmware 
deb https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src https://mirrors.ustc.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware

9、备份、新建armbian源——清华或中科大源(二选一)

mv /etc/apt/sources.list.d/armbian.list /etc/apt/sources.list.d/armbian.list.bak
nano /etc/apt/sources.list.d/armbian.list
#以下为清华源地址
deb [signed-by=/usr/share/keyrings/armbian.gpg] https://mirrors.tuna.tsinghua.edu.cn/armbian bookworm main bookworm-utils bookworm-desktop
#以下为中科大源地址
deb [signed-by=/usr/share/keyrings/armbian.gpg] https://mirrors.ustc.edu.cn/armbian bookworm main bookworm-utils bookworm-desktop

10、使用正确的path

export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

11、添加源

echo "deb https://mirrors.apqa.cn/proxmox/debian/pve bookworm port">/etc/apt/sources.list.d/pveport.list
CDN Mirros 镜像源(失效时自行更换,下同)
They are rsync from mirrors.apqa.cn
Golbal: https://global.mirrors.apqa.cn (Cloudflare)
Korea: https://mirrors.apqa.cn
Hong Kong: https://hk.mirrors.apqa.cn
China: https://mirrors.lierfang.com
Germany: https://de.mirrors.apqa.cn

12、添加apt-key

curl https://mirrors.apqa.cn/proxmox/debian/pveport.gpg -o /etc/apt/trusted.gpg.d/pveport.gpg

13、安装pve——弹窗选择第一项

apt update && apt install proxmox-ve -y

等待几分钟,安装结束后,浏览器输入 https://ip:8006 进入PVE管理界面
若安装最后出现下面错误,见修复方法

Errors were encountered while processing:
pve-manager
proxmox-ve
E: Sub-process /usr/bin/dpkg returned an error code (1)

查看pveproxy状态

service pveproxy status

报错部分

/etc/pve/local/pve-ssl.pem: failed to use local certificate chain (cert_file or cert) at ·······

修复方法

rm -f /etc/pve/pve-root-ca.pem /etc/pve/priv/pve-root-ca.* /etc/pve/local/pve-ssl.*
pvecm updatecerts -f
service pveproxy restart

浏览器输入 https://ip:8006 进入管理界面

参考:https://foxi.buduanwang.vip/virtualization/pve/1902.html/

版权声明:
作者:Jays
链接:https://ijays.com/2024/03/arm-proxmox-ve8-install.html
来源:颓废的美
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>
文章目录
关闭
目 录