title | date | categories | tags | ||||||
---|---|---|---|---|---|---|---|---|---|
pimox howto |
2024-10-31 00:55:00 +0500 |
|
|
Many thanks to the OP of this guide @enjikaka. I've decided to fork and submit a few updates. Progression through unlearning. Numerous guides exist but none were as comprehensive and direct. Minor updates to the
apt repo
andapt sources
in Step 8 and a few cosmetic things.
Install "RPi OS Lite 64-bit" with Raspberry Pi Imager. It's listed under "Raspberry Pi OS (Other)"
Assign your Pi a static IP in your router, then SSH into the Pi and launch the network config GUI with nmtui
and adjust to the static ip.
- Alternatively, reserve an IP on our router. See this example: https://forums.serverbuilds.net/t/guide-static-ip-addresses-in-pfsense-static-dhcp/5779
apt-get update
apt-get upgrade
Alternatively, update rpiOS via raspi-config
sudo raspi-config
The default user in Proxmox is root
. From this point forward I will continue the installation as root
. Run sudo -i
to get a root prompt, then passwd
to set your root
password. This will be the login for the Proxmox UI.
Alternatively:
kielbasa@pimox5:~ $ sudo passwd root
New password:
Retype new password:
passwd: password updated successfully
kielbasa@pimox5:~ $ su root
Password:
root@pimox5:/home/kielbasa#
Backup and modify hosts
cp /etc/hosts /etc/hosts.bak
nano /etc/hosts
127.0.0.1 localhost pimox5
192.168.1.xx pimox5
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Important
Replace 192.168.1.xx
with your static IP.
nano /etc/hostname
pimox5
# rpi5 <------------ Be sure to delete or comment this line!
reboot
echo "deb [arch=arm64] https://global.mirrors.apqa.cn/proxmox/debian/pve bookworm port">/etc/apt/sources.list.d/pveport.list
echo 'deb [arch=arm64] https://mirrors.apqa.cn/proxmox/debian/pve bookworm port' | sudo tee /etc/apt/sources.list.d/pveport.list
curl https://global.mirrors.apqa.cn/proxmox/debian/pveport.gpg -o /etc/apt/trusted.gpg.d/pveport.gpg
curl -L https://mirrors.apqa.cn/proxmox/debian/pveport.gpg | sudo tee /etc/apt/trusted.gpg.d/pveport.gpg >/dev/null
apt-get update
apt-get upgrade
apt-get full-upgrade
apt-get dist-upgrade
apt-get install ifupdown2
apt-get install proxmox-ve postfix open-iscsi chrony mmc-utils usbutils
- Backup and modify
/etc/network/interfaces
cp /etc/network/interfaces /etc/network/interfaces.bak
nano /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
# source /etc/network/interfaces.d/* <------------ Be sure to comment this line out!
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.1.xx/24
gateway 192.168.1.1
bridge-ports eth0
bridge-stp off
bridge-fd 0
iface eth0 inet manual
Important
Replace 192.168.1.xx
with your static IP.
For me /etc/resolv.conf
was empty. I added nameserver 1.1.1.1
to this file.
Reboot your Pi again with reboot
.
You can now reach your Proxmox UI on http://pimox5.local:8006
or http://192.168.1.xx:8006
and login with the username root
and the password you set in 11.
Important
Replace 192.168.1.xx
with your static IP.
# Run as root
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)"
https://stevetech.me/posts/find-arm64-lxc-templates
- https://forum.proxmox.com/threads/proxmox-on-aarch64-arm64.121925/page-3
- https://www.reddit.com/r/Proxmox/comments/vpgn3f/how_to_login_pve_without_root_on_debian_after/
- https://raspberrytips.com/proxmox-on-raspberry-pi/
- https://github.com/jiangcuo/Proxmox-Port/wiki/Install-or-upgrade-from-repo
- https://tteck.github.io/Proxmox/