在ARM处理器的计算机上安装Proxmox VE(PVE)

一、安装Debian for ARM系统

镜像可从这里下载

https://cdimage.debian.org/debian-cd/current/arm64/iso-cd/

二、配置Hosts

编辑/etc/hosts 文件

修改前两行为如下格式

127.0.0.1 localhost.localdomain localhost
192.168.110.33 debian.pvetest.com debian

其中第二行里,将ip替换为实际的ip,将debian换成自己的hostname,这个hostname将作为PVE的节点名称

修改完可以运行如下命令验证是否修改成功,若修改成功则命令执行结果为刚刚配置的ip地址

hostname --ip-address

三、修改源

  1. 修改软件源

编辑/etc/apt/sources.list 文件,修改对应的网址为:

```shell
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free
```
  1. 添加源

如果是安装pve8,且版本为bookworm,则添加如下源

echo "deb https://mirrors.apqa.cn/proxmox/debian/pve bookworm port">/etc/apt/sources.list.d/pveport.list

添加apt-key

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

四、安装Proxmox VE

apt update
apt install -y proxmox-ve

如果安装过程提示:Please select the mail server configuration type that best meets your needs. 则选择No configuration。

安装完毕即可通过主机当前ip加上端口访问,如http://192.168.11.33:8006

用户名为root,密码为Debian系统的root密码


配置固定静态IP

编辑/etc/network/interfaces 文件,配置当前使用的网络接口为静态IP地址,如:

iface vmbr0 inet static
        address 192.168.1.100       # 你想要设置的静态IP地址
        netmask 255.255.255.0       # 子网掩码
        gateway 192.168.1.1         # 网关地址(通常是路由器IP)
        bridge_ports eth0           # 物理网络接口(可以通过ifconfig查询)
        bridge_stp off
        bridge_fd 0
        dns-nameservers 114.114.114.114 8.8.8.8   # DNS 服务器地址
systemctl restart pve-cluster
systemctl restart pveproxy
  • 6
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值