Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung |
proxmox [2021/10/25 11:29] – Fabian Horst | proxmox [2024/03/21 10:53] (aktuell) – Fabian Horst |
---|
====== Proxmox ====== | ====== Proxmox ====== |
| |
| * [[intern:proxmox-quest]] |
| * [[intern:proxmox-repository]] |
* [[intern:timea9c3de]] | * [[intern:timea9c3de]] |
| * [[intern:barthel]] |
* [[intern:proxmoxtjerksscripte]] | * [[intern:proxmoxtjerksscripte]] |
* [[intern:iptablesv4]] | * [[intern:iptablesv4]] |
| * [[intern:pve-umbenennen]] |
* [[intern:npmdocker]] https://github.com/jc21/nginx-proxy-manager | * [[intern:npmdocker]] https://github.com/jc21/nginx-proxy-manager |
| |
| |
| |
| https://github.com/bruj0/ProxmoxIPv6 |
| |
| |
| |
| |
| |
| DISCARD immer an bei VMs / Speicherplatz freigebend! |
| |
===== Markdown Basics ===== | ===== Markdown Basics ===== |
| |
from: https://pve01.it-walther.de:8006/pve-docs/pve-admin-guide.html#markdown_basics | from: https://pve01.xxx:8006/pve-docs/pve-admin-guide.html#markdown_basics |
| |
<code> | <code> |
* https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve | * https://community.hetzner.com/tutorials/install-and-configure-proxmox_ve |
* https://community.hetzner.com/tutorials/securing-ssh | * https://community.hetzner.com/tutorials/securing-ssh |
| * https://www.schreiner.pro/proxmox/proxmox-lxc-container-konfigurieren/ |
| * https://www.schreiner.pro/proxmox/docker-docker-compose-und-portainer-ce-im-proxmox-lxc-container-installieren/ |
| * https://learn.umh.app/guides/troubleshootingcommunity/proxmox/disable-swap-proxmox/ |
| |
| <code>/etc/init.d/isc-dhcp-server restart</code> DHCP Server neustarten |
===== ISO-Images direkt in den Host runterladen ===== | ===== ISO-Images direkt in den Host runterladen ===== |
<code>cd /var/lib/vz/template/iso/</code> | <code>cd /var/lib/vz/template/iso/</code> |
<code>wget http://linux.darkpenguin.net/distros/ubuntu-releases/focal/ubuntu-20.04.2-live-server-amd64.iso</code> | <code>wget http://linux.darkpenguin.net/distros/ubuntu-releases/focal/ubuntu-20.04.2-live-server-amd64.iso</code> |
| |
| ===== Load Probleme bei Proxmox ===== |
| |
| https://forum.proxmox.com/threads/udisksd-using-lots-of-cpu.62967/ |
| |
| Hohe Load bei Proxmox durch udisk ist wenn man grafische Oberfläche mit drauf hat und die halt USB-Auto-Mounting usw anbietet und das teil dann amok läuft also aus damit! |
| |
| <code>systemctl stop udisks2.service</code> |
| <code>systemctl disable udisks2.service</code> |
| |
| ===== Proxmox auf Debian Installieren ===== |
| * https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye |
| * Vorteil: Partitionierung ist schon fertig, Nachteil: eigentlich nur die kurze Handarbeit gegen das bescheidene Grafische |
| * Hinweis: beim updaten auf ifupdown2 was vorher passiert ist der server unerreichbar, am besten also vorher machen oder via Remote Reboot machen können |
| |
| ===== Backups verschieben ===== |
| |
| <code>cd /var/lib/vz/dump/</code> |
| <code>scp vzdump-lxc-100-2021_11_06-00_00_04.tar.zst root@192.168.x.x:/vzdump-lxc-100-2021_11_06-00_00_04.tar.zst</code> |
| <code>scp vzdump-lxc-100-2021_11_06-00_00_04.log root@192.168.x.x:/vzdump-lxc-100-2021_11_06-00_00_04.log</code> |
| |
| ===== Storage hinzufügen ===== |
| |
| erstmal UUID rausfinden: |
| <code>lsblk -o +FSTYPE,UUID /dev/sd*</code> |
| Dort dann die UUID ablesen und z.B. |
| <code>echo 'UUID=d8871cd7-11b1-4f75-8cb6-254a6120 /mnt/bak ext4 defaults 0 2' >> /etc/fstab</code> |
| |
| ===== Neue Storage formatieren ===== |
| |
| <code>lsblk </code>#anzeigen |
| <code>apt-get install parted</code> |
| <code>parted /dev/sdb mklabel gpt</code> |
| <code>parted -a opt /dev/sdb mkpart primary ext4 0% 100%</code> |
| <code>lsblk </code>#anzeigen |
| <code>mkfs.ext4 -L storage /dev/sdb1</code> |
| <code>mkdir -p /mnt/storage</code> |
| <code>mount -a</code> |
| <code>nano /etc/fstab </code> |
| <code>--> LABEL=storage /mnt/storage ext4 defaults 0 2</code> |
| <code>Proxmox GUI -> Storage Hinzufügen (datacenter) -> /mnt/storage -> alle Optionen anmachen.</code> |