# Proxmox VE Installation

By
Adrien

# repositories update

apt update
apt dist-upgrade

deb [http://ftp.debian.org/debian](http://ftp.debian.org/debian) bullseye main contrib
deb [http://ftp.debian.org/debian](http://ftp.debian.org/debian) bullseye-updates main contrib

# security updates

  1. On a terminal, type :
deb [http://security.debian.org/debian-security](http://security.debian.org/debian-security) bullseye-security main contrib
  1. Edit /etc/apt/sources.list.d/pve-enterprise.list
nano  /etc/apt/sources.list.d/pve-enterprise.list

#deb https://enterprise.proxmox.com/debian/pve

apt-get update
apt dist-upgrade
reboot

# Storage

  1. Create ZFS from your node > Disks > ZFS > Create

if "no disk unused", then wipe the disk

fdisk /dev/sda
  1. then P for partition, then D for delete, then W for write.

# check SMART Monitoring

smartctl -a /dev/sda

# IOMMU (PCI Passthrough)

  1. edit /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
  1. Update GRUB
update-grub
  1. edit /etc/modules
vfio  
vfio_iommu_type1  
vfio_pci  
vfio_virqfd
  1. Update configurationand reboot
update-initramfs -u -k all
reboot

# Network

# VLAN aware

  1. Go to your node > Network > vmbr0 > check VLAN aware

# NFS Share

  1. Add your NFS Share on your node > Storage > Add > NFS based on TrueNAS Server

# Schedule Backup

  1. nano /etc/vzdump.conf > tmpdir: /opt/tmpbackup (don't forget to create tmpbackup directory)
  2. Go to Datacenter > Backup > Create
  3. Import ISO / VirtIO / Templates
  4. Create VM /CT

# Initialize VM/CT

  • [VM] Kali (4Go), Windows 11
  • [CT] Nginx Proxy Manager
  • [CT] TrueNAS
  • [CT] Uptime Karma
  • [CT] Homepage
  • [CT] Filebrowser, Bitwarden, Jellyfin, Photoprism, Gitlab, Syncthing, Retype
  • [CT] Shlink, n8n

# Create new user

  1. Create a folder for new_user on TrueNas in "USER" and export NFS/SMB point
  2. Create new user on TrueNas with rights permissions
  3. Create new user in FileBrowser with access to "user > new_user"
  4. Create new user in Jellyfin
  5. Create new invitation in Bitwarden
  6. Create new Win11 VM and connect SMB share on "user > new_user"