// Proxmox Einstellungen nano /etc/apt/sources.list.d/pve-enterprise.list // folgenden Eintrag mit "#" auskommentieren" # deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise // neue Datei erstellen: nano /etc/apt/sources.list.d/pve-no-subscription.list // folgenden Eintrag hinzufügen #// für Proxmox v.6.x basierend auf v.10.x (buster) deb http://download.proxmox.com/debian/pve buster pve-no-subscription #// für Proxmox v.5.x basierend auf Debian v.9.x (stretch) deb http://download.proxmox.com/debian/pve stretch pve-no-subscription // anschließend Updates holen apt update && apt full-upgrade -y // oder sudo apt-get update && sudo apt-get full-upgrade -y //oder apt update && apt full-upgrade -y && apt install sudo && apt install curl -y && apt install net-tools && apt install cifs-utils -y && apt install nfs-common -y // und dann reboot //subscription-Meldung ausschalten sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service // neuen Benutzer anlegen adduser thomas //thomas root-Rechte verpassen su nano /etc/sudoers // eintragen: thomas ALL=(ALL:ALL) ALL // Grafische Oberfläche holen - vlt. statt chromium firefox probieren apt install xfce4 chromium lightdm xfce4-terminal apt install xfce4 firefox lightdm xfce4-terminal sudo apt-get install firefox-locale-de #deutsches Sprachpaket // Erweiterungen installieren apt install sudo apt install curl -y apt-get install lm-sensors -y // Hardwareunterstützung VTD / amdIOMMUiommu nano /etc/default/grub // in der Zeile GRUB_CMDLINE_LINUX_DAFAULT="quiet" folgendes hinzufügen: "intel_iommu=on" // das sollte dann so aussehen GRUB_CMDLINE_LINUX_DAFAULT="quiet intel_iommu=on" // danach sudo update-grub // anschließend folgende Datei erstellen nano -w /etc/modules // nachfolgende Zeilen einfügen vfio vfio_iommu_type1 vfio_pci vfio_virqfd // anschließend reboot // folgende Befehle zum testen der neuen Einstellungen dmesg | grep -e DMAR -e IOMMU lsmod | grep vfio // Optional - sofern gewünscht User-Gruppen hinzufügen pveum groupadd user -comment "Anwender" pveum groupadd system -comment "Netzwerk, systemrelevant" pveum groupadd media -comment "Entertainment und Multimedia" pveum groupadd cam -comment "Video Kameras" pveum groupadd IoT -comment "Hausautomation" pveum groupadd admin -comment "System Administrators" pveum aclmod / -group admin -role Administrator // Optional - sofern gewünscht User hnzufügen -Proxmox VE stores user attributes in /etc/pve/user.cfg pveum useradd Backup@pve -group system -firstname "Backup" -comment "Systemuser für Datensicherungen" # -password pveum useradd Entertain@pve -group media -firstname "Entertain" -comment "Zugriff auf Multimedia" # -password pveum useradd Video@pve -group cam -firstname "Video" -comment "Zugriff auf die IPCams" # -password pveum useradd ioBroker@pve -group IoT -firstname "ioBroker" - comment "user für ioBroker" # -password pveum useradd YourUser@pve -group admin -firstname "YourUser" -comment "Superuser" # -password // Beispiel um einem User sudo Rechte geben usermod -aG sudo // Beispeil um einem User ein Zugangspasswort geben /usr/bin/pvesh set /access/password --userid --password // Optional - CIFS-Storage hinzufügen - hier am Beispiel eines QNAP-NAS mit der IP 192.168.178.10. Auf dem NAS wurde ein User mit namen "NUC" und entsprechende Verzeichnisse als Ziele eingerichtet pvesm add cifs "Backup" --server 192.168.178.10 --share "Backup" --username "NUC" --password pvesm add cifs "Container" --server 192.168.178.10 --share Container --username "NUC" --password pvesm add cifs "IPCam" --server 192.168.178.10 --share IPCam --username "NUC" --password pvesm add cifs "container-Images" --server 192.168.178.10 --share "container-Images" --username "NUC" --password pvesm add cifs "iso-Images" --server 192.168.178.10 --share "iso-Images" --username "NUC" --password // Optional - seriellen Port für eine VM einrichten qm set 107 -serial /dev/ttyS0 // hier wäre "107" die ID der VM für die der serielle Port zugewiesen werden soll // ttyS0 bedeutet, das COM1 zugewiesen wurde // ganz ausführlich und vollständig findet sich die Anleitung hier:"https://pve.proxmox.com/wiki/Serial_Terminal // empfohlene zusätzliche Installationen in jeder VM/LXC apt install sudo apt install curl -y # Installation über https apt install ncdu -y # ähnlich wie "treesize" apt install cifs-utils -y # SMB NEtzwerklaufwerke mounten apt install nfs-common -y # NFS Laufwerke musik@szendeleit apt install net-tools apt insall nmap apt install neofetch -y # Systeminformationen Aufruf: neofetch // Optional - ftp Server auf eine LXC einrichten sudo apt-get install vsftpd -y sudo nano /etc/vsftpd.conf // Edit these lines, first disable anonymous FTP access for security purposes anonymous_enable=NO local_enable=YES write_enable=YES force_dot_files=YES // zudemden User "root" zulassen indem dieser mit "#" auskommentiert wird sudo nano /etc/ftpusers #root sudo service vsftpd restart // Optional - ssh Zugriff in LXC Container zulassen # inside container, open /etc/ssh/sshd_config and change PermitRootLogin to yes. nano /etc/ssh/sshd_config # Authentication: LoginGraceTime 120 PermitRootLogin yes StrictModes yes // Sprache auf Deutsch-Standard einstellen nano /etc/pve/datacenter.cfg keyboard: de language: de // Backups von (unpreviligierten Container) laufen nicht: nano /etc/vzdump.conf # vzdump default settings #tmpdir: DIR tmpdir: /tmp