Skip to main content

Proxmox - LXC und Helper-Scripts

Die Virtualisierungstechnologie LXC ermöglicht es mehrere voneinander isoliert laufende Linux-Systeme auf einem einzigen Host zu betreiben. LXC fungiert als Userspace-Interface für die Linux Container-Technologie im Kernel womit Anwender ganz einfach System- oder Applikations-Container erstellen und verwalten können. Ziel ist es Ressourcen zu schonen.

LXC Container können manuell erstellt werden oder auch mit Helper-Scripts einfach generiert werden. Helper-Scripts sind dafür da Abläufe einfach zu automatisieren und durchzuführen. Für die ersten Schritte nach der Installation gibt es Beispielsweise das Prxmox VE Post Install Script.

https://community-scripts.org/

Diese Scripts können direkt von der PVE Shell ausgeführt werden. Dabei reicht immer ein einfacher Befehl. Für das Post Install Script reicht Beispielsweise der Befehl:

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/pve/post-pve-install.sh)"

Es empfiehlt sich dabei immer das Script im vorhinein anzuschauen. Die Skripte werden von der Community bereitgestellt und nicht überprüft. Den Source-Code kann man sich meist direkt über die Helper-Script Seite anschauen.

image.png

Weitere nützliche Skripte sind;

Cloudflare: https://community-scripts.org/scripts/cloudflared

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/cloudflared.sh)"

Tailscale: Proxmox VE Helper-Scripts (proxmox-helper-scripts.vercel.app)

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/add-tailscale-lxc.sh)"

Nextcloud: Proxmox VE Helper-Scripts (proxmox-helper-scripts.vercel.app)

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/nextcloudpi.sh)"

Home Assistant OS: Proxmox VE Helper-Scripts (proxmox-helper-scripts.vercel.app)

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/vm/haos-vm.sh)"

Home Assistant Core: Proxmox VE Helper-Scripts (proxmox-helper-scripts.vercel.app)

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/homeassistant-core.sh)"

Homepage: Proxmox VE Helper-Scripts (proxmox-helper-scripts.vercel.app)

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/homepage.sh)"