meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
vm:proxmox:on_debian [2020/04/22 16:35] – created niziak | vm:proxmox:on_debian [2020/04/24 16:16] – niziak | ||
---|---|---|---|
Line 12: | Line 12: | ||
Detailed step-by-step instuciton [[https:// | Detailed step-by-step instuciton [[https:// | ||
- | It is very important (to SSL key generation), | + | It is very important (to SSL key generation), |
<code bash> | <code bash> | ||
hostname --ip-address | hostname --ip-address | ||
Line 22: | Line 22: | ||
wget http:// | wget http:// | ||
apt-get update | apt-get update | ||
+ | apt-get remove network-manager | ||
+ | apt-get install ifupdown2 open-iscsi ksmtuned | ||
+ | apt-get remove ntp | ||
+ | systemctl enable --now systemd-timesyncd | ||
apt-get install proxmox-ve | apt-get install proxmox-ve | ||
</ | </ | ||
+ | |||
+ | To avoid GFX issues disable '' | ||
+ | <file | / | ||
+ | GRUB_CMDLINE_LINUX_DEFAULT=" | ||
+ | </ | ||
+ | |||
+ | Reboot system. | ||
+ | System will boot with default Debian kernel, because Buster Backports kernel is newer than Proxmox one. | ||
+ | With dfault Debian kernel there is no ZFS support, and also Docker engine cannot work because of some apparmor issues. | ||
+ | |||
+ | To try to boor PVE kernel once: | ||
+ | <file | / | ||
+ | GRUB_DEFAULT=saved | ||
+ | # Comment or disable: | ||
+ | # GRUB_SAVEDEFAULT=true | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | update-grub | ||
+ | # get menu ids: | ||
+ | egrep -i " | ||
+ | # Set grub env using chosen ids. For submenu use '>' | ||
+ | grub-set-default ' | ||
+ | grub-reboot ' | ||
+ | </ | ||
+ | |||
+ | If everything works well, remove Debian kernel. | ||
+ | <code bash> | ||
+ | apt remove linux-image-amd64 ' | ||
+ | update-grub | ||
+ | grub-set-default 0 | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== issues ===== | ||
+ | |||
+ | ==== pveproxy: failed to load local private key ==== | ||
+ | |||
+ | Proxmox was installed with incorrect /etc/hosts configuration. After fixing it still shows errors in journal: | ||
+ | < | ||
+ | pveproxy[26742]: | ||
+ | pveproxy[26743]: | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | journalctl -u pve-cluster | ||
+ | |||
+ | systemd[1]: Stopped The Proxmox VE cluster filesystem. | ||
+ | systemd[1]: Starting The Proxmox VE cluster filesystem... | ||
+ | pmxcfs[2398]: | ||
+ | pmxcfs[2398]: | ||
+ | systemd[1]: pve-cluster.service: | ||
+ | systemd[1]: pve-cluster.service: | ||
+ | systemd[1]: Failed to start The Proxmox VE cluster filesystem. | ||
+ | </ | ||
+ | |||
+ | Reason cluster FS on ''/ | ||
+ | < | ||
+ | /etc/pve# tree | ||
+ | . | ||
+ | ├── local -> nodes/ | ||
+ | ├── lxc -> nodes/ | ||
+ | ├── openvz -> nodes/ | ||
+ | └── qemu-server -> nodes/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | Reboot device | ||
+ | |||
+ | ==== local-zfs | ||
+ | |||
+ | Missing '' | ||