Howto proxmox raspberrypi5: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
  127.0.0.1 localhost
  127.0.0.1 localhost
  127.0.1.1 raspberrypi
  127.0.1.1 raspberrypi
  192.168.77.122 raspberrypi
  192.168.77.125 raspberrypi
  EOF
  EOF
edit network configuration:
edit network configuration:
Line 21: Line 21:
  auto vmbr0
  auto vmbr0
  iface vmbr0 inet static
  iface vmbr0 inet static
         address 192.168.77.122
         address 192.168.77.125
         netmask 255.255.255.0
         netmask 255.255.255.0
         gateway 192.168.77.1
         gateway 192.168.77.254
         dns-nameservers 4.2.2.1  
         dns-nameservers 4.2.2.1  
         dns-nameservers 4.2.2.2
         dns-nameservers 4.2.2.2

Revision as of 19:36, 29 April 2024

install gpg key:

curl -o /usr/share/keyrings/pveport.gpg https://mirrors.apqa.cn/proxmox/debian/pveport.gpg 

install proxmox repo:

echo "deb [deb=arm64 signed-by=/usr/share/keyrings/pveport.gpg] https://mirrors.apqa.cn/proxmox/debian/pve bookworm port" | tee /etc/apt/sources.list.d/pvport.list

update to latest:

apt update && apt dist-upgrade -y

add hostname to /etc/host:

cat >> /etc/hosts << EOF
127.0.0.1 localhost
127.0.1.1 raspberrypi
192.168.77.125 raspberrypi
EOF

edit network configuration:

cat >> /etc/network/interfaces << EOF
# loopback
auto lo
iface lo inet loopback
# eth0
iface eth0 inet static
# vmbr0 bridge
auto vmbr0
iface vmbr0 inet static
        address 192.168.77.125
        netmask 255.255.255.0
        gateway 192.168.77.254
        dns-nameservers 4.2.2.1 
        dns-nameservers 4.2.2.2
        bridge-ports eth0
        bridge-stp off
        bridge-fd 0
EOF

install this packages:

apt install ifupdown2 bridge-utils -y

install firmware:

apt install pve-edk2-firmware

install proxmox packages:

apt install proxmox-ve postfix open-iscsi pve-edk2-firmware-aarch64

reboot system:

reboot

for download lxc container images: