Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sysadmin-field-notes

shellcheck

Tested scripts, guides and configuration for administering, virtualising and tuning Linux systems (mainly Proxmox VE), Windows and GPU hardware.

Every folder stands on its own: it holds a README.md with the full guide and, where useful, the scripts and config files ready to copy. The point is to have an archive to reach for quickly — during a restore, a reinstall, or when re-applying a fix that was already solved once before.


🔎 Quick index

Category Guide Contents
Proxmox VE NVIDIA RTX 2070 passthrough Full guide + vfio diagnostic script
e1000e NIC hang fix (82579LM) Diagnosis + watchdog + network/storage/smartd config
NVIDIA fix on the Proxmox host Driver blacklisting for GPU passthrough
Restoring a VM from external backup Restore over Samba/NFS/SSH
Importing an OVF qm importovf
Laying out disks LVM, LVM-Thin, Directory (no ZFS) ⚠️ CIFS-to-self warning
Resetting a stuck LVM disk Releasing and reusing an LVM disk
Email notifications via Postfix/Gmail relay Why the notifications never arrive + automated script
GPU / NVIDIA Clean NVIDIA driver install Debian 12 / VM / Proxmox
Safe NVIDIA driver upgrade Debian/Ubuntu, VMs, Proxmox, passthrough + automated script
VRAM per Docker container Maps nvidia-smi output to containers + script
Raspberry Pi OpenMediaVault NAS Install, Docker/Portainer, WireGuard, SSH certs + hot backup script
System & disks Automatic swap for VMs Script + Proxmox/Linux guide
Hardware and disk commands CPU, RAM, disks, buses, SMART
Disk usage analysis (ncdu) Interactive usage
Temperature and hardware sensors lm-sensors + monitor script + boot/hang logging
Docker Deep Docker cleanup Cache, images, volumes
Network Samba share LAN share setup + ⚠️ how to wire it into Proxmox without CIFS-to-self
Dual-uplink LAN routing Fix unreachable LAN subnet when a second uplink (Wi-Fi/hotspot) wins the default route + script
Dual-uplink DNS routing Fix a split-horizon LAN domain not resolving when a second uplink's resolver answers instead + script
Windows Chocolatey Package manager install + bulk upgrade script
RDP hardening and port change Remote Desktop setup, registry tweak, moving off port 3389

🌳 Repository layout

sysadmin-field-notes/
├── linux/
│   ├── create-swap/                     📄 guide + 🔧 create_swap.sh
│   ├── disk-info-hw/                    📄 guide
│   ├── docker-clean/                    📄 guide
│   ├── dual-uplink-dns-routing/         📄 guide + 🔧 set-dns-routing-domain.sh
│   ├── dual-uplink-lan-route/           📄 guide + 🔧 add-lan-route.sh
│   ├── gpu-nvidia-install-guide/        📄 guide
│   ├── gpu-nvidia-update/               📄 guide + 🔧 nvidia_safe_upgrade.sh, nvidia_safe_upgrade_auto.sh
│   ├── gpu-tools/                       📄 guide + 🔧 gpu-vram-by-container.sh
│   ├── ncdu-disk-usage/                 📄 guide
│   ├── raspberry/
│   │   └── openmediavault/              📄 guide + 🔧 backup_script.sh
│   ├── proxmox/
│   │   ├── disco-lvm-reset/             📄 guide
│   │   ├── e1000e-nic-hang-fix/         📄 guide + 🔧 watchdog + ⚙️ config (interfaces/storage/smartd)
│   │   ├── import-ovf-proxmox/          📄 guide
│   │   ├── old-proxmox-nvidia-host/     📄 guide
│   │   ├── passthrough-nvidia-rtx2070/  📄 guide + 🔧 check-vfio-bind.sh
│   │   ├── postfix-gmail-relay/         📄 guide + 🔧 script + ⚙️ credential/email templates
│   │   ├── proxmox-backup-restore/      📄 guide
│   │   └── strutturazione-dischi/       📄 guide
│   ├── samba-share/                     📄 guide
│   └── sensors-hw/                      📄 guide + 🔧 monitor-cpu-temp.sh
└── windows/
    ├── chocolatey/                      📄 guide + 🔧 upgrade-choco-packages.ps1
    └── rdp-change-port/                 📄 guide + 🔧 change-rdp-port.bat + ⚙️ no-rdp-lock.reg

Legend: 📄 guide (README.md) · 🔧 executable script · ⚙️ config file or snippet


✍️ Conventions

  • One folder per topic, under linux/<category>/ or linux/proxmox/<topic>/.
  • Each folder has a README.md covering: purpose, prerequisites, steps with command blocks, troubleshooting (where relevant), a final checklist, and sources.
  • Scripts need to be made executable before use: chmod +x script-name.sh.
  • When adding a guide: create the folder, write its README.md, then update the quick index table and the tree above — that's the only thing that has to be kept in sync by hand.

Host addresses in these guides are placeholders (10.0.0.10, 10.0.0.20, 10.0.0.30), not real ones.


📚 Other pages

About

Field notes and ready-to-use scripts for Proxmox VE, GPU passthrough and Linux/Windows administration — one self-contained folder per problem, each with its own README.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages