vault backup: 2026-04-15 11:05:03
This commit is contained in:
parent
0836709b83
commit
9be21b0824
6 changed files with 232 additions and 0 deletions
|
|
@ -91,6 +91,10 @@ cd backend && alembic upgrade head
|
|||
| 2026-03-16 | Fix LlamaParse 401 + update logo to v5 |
|
||||
|
||||
## Sessions
|
||||
### 2026-04-15 – Replace logo with file from /Volumes/SSD/Downloads/BAR-ModComms-logos-v6.png
|
||||
**Asked:** Replace logo with file from /Volumes/SSD/Downloads/BAR-ModComms-logos-v6.png and set up server deployment process.
|
||||
**Done:** Created deploy-dev.sh script with dev-specific configurations (sudo docker compose, port 8001, dev project name) and successfully deployed changes.
|
||||
|
||||
### 2026-04-14 – Project catalogued
|
||||
**Done:** Added to Obsidian second brain with full details from CLAUDE.md and git history.
|
||||
|
||||
|
|
|
|||
|
|
@ -44,3 +44,10 @@ tags: [daily]
|
|||
- 11:01 (1min) | `aimpress`
|
||||
- **Asked:** Check why no files appeared in the modcomms project folder in Obsidian today despite working on it.
|
||||
- **Done:** Investigated the Obsidian project folder sync issue for the modcomms project.
|
||||
- 11:03 (1min) — session ended | `modcomms`
|
||||
- 11:03 | `modcomms`
|
||||
- **Asked:** Replace logo with file from /Volumes/SSD/Downloads/BAR-ModComms-logos-v6.png and set up server deployment process.
|
||||
- **Done:** Created deploy-dev.sh script with dev-specific configurations (sudo docker compose, port 8001, dev project name) and successfully deployed changes.
|
||||
- 11:04 | `aimpress`
|
||||
- **Asked:** Check why no files appeared in the modcomms project folder in Obsidian today.
|
||||
- **Done:** Tested Stop hook with real modcomms transcript and verified shell working directory.
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -26,6 +26,7 @@ This 3-hop pattern works for hundreds of articles without vector search.
|
|||
| [[wiki/concepts/_index\|concepts/]] | Atomic knowledge extracted from Claude Code sessions | 0 |
|
||||
| [[wiki/connections/_index\|connections/]] | Cross-cutting insights linking 2+ concepts | 0 |
|
||||
| [[wiki/qa/_index\|qa/]] | Filed answers to queries (saved with `--file-back`) | 0 |
|
||||
| [[wiki/homelab/_index\|homelab/]] | Self-hosted infra: Proxmox install, IOMMU/PCI passthrough, hypervisor setup | 1 |
|
||||
|
||||
<!-- New topic folders added here automatically as they are created -->
|
||||
<!-- Format: | [[wiki/topic/_index\|topic/]] | One-line description | N articles | -->
|
||||
|
|
|
|||
7
wiki/homelab/_index.md
Normal file
7
wiki/homelab/_index.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# Homelab
|
||||
|
||||
Self-hosted infrastructure, hypervisors, networking, and home server setup guides.
|
||||
|
||||
| Article | Summary | Source | Updated |
|
||||
|---------|---------|--------|---------|
|
||||
| [[wiki/homelab/proxmox-install-setup-2025\|proxmox-install-setup-2025]] | Full Proxmox VE install from USB + repo switch + IOMMU/passthrough prep + popup removal | YouTube — ProHomelab | 2026-04-15 |
|
||||
171
wiki/homelab/proxmox-install-setup-2025.md
Normal file
171
wiki/homelab/proxmox-install-setup-2025.md
Normal file
|
|
@ -0,0 +1,171 @@
|
|||
---
|
||||
title: "Proxmox VE — Install & Setup from Scratch (2025)"
|
||||
aliases: [proxmox-setup, proxmox-install, pve-setup]
|
||||
tags: [proxmox, homelab, hypervisor, virtualization, iommu, pci-passthrough]
|
||||
sources: ["raw/Установка и настройка Proxmox в 2025 году от А до Я (установка и подготовка к работе с нуля).md"]
|
||||
created: 2026-04-15
|
||||
updated: 2026-04-15
|
||||
---
|
||||
|
||||
## Overview
|
||||
|
||||
Complete walkthrough for installing Proxmox VE 8.x on bare metal and preparing it for VM/LXC workloads — without helper scripts. All commands manually applied so you understand what's happening under the hood.
|
||||
|
||||
**Source:** [YouTube — ProHomelab](https://www.youtube.com/watch?v=Tc-pjSD9uw8) | [GitHub commands repo](https://github.com/stilicho2011/ubuntu_rep/tree/main/proxmox%20iommu%20enabling%20and%20pci(e)%20passthrough/HDD%20passing)
|
||||
|
||||
---
|
||||
|
||||
## 1. Creating the Boot USB
|
||||
|
||||
- Use **Balena Etcher** — more reliable than Ventoy/Rufus for Proxmox ISOs (early 8.x had boot issues with those)
|
||||
- NVIDIA GPU on the host may cause graphical glitches during install — switch to **Terminal UI** mode if needed
|
||||
- If no IP is auto-assigned via DHCP, set it manually in the network step
|
||||
|
||||
---
|
||||
|
||||
## 2. Installation
|
||||
|
||||
- **Filesystem:** Choose **ext4** for beginners; **ZFS** only if you need clustering/replication and understand its RAM usage behaviour
|
||||
- ZFS uses RAM aggressively by design (not a "leak") — it's fast because of this
|
||||
- ZFS can also wear out SSDs faster without tuning (write amplification)
|
||||
- Set root password + any email (can be fake) during install
|
||||
- Default gateway = your router IP; DNS = router IP or preferred resolver
|
||||
- Access UI after reboot at `https://<IP>:8006`
|
||||
|
||||
---
|
||||
|
||||
## 3. Repository Switching (free tier)
|
||||
|
||||
Proxmox ships pointed at the paid **Enterprise** repo. Switch to the free **no-subscription** repo:
|
||||
|
||||
### Via UI
|
||||
`Node → Updates → Repositories` — disable enterprise, add no-subscription
|
||||
|
||||
### Via SSH / Shell
|
||||
|
||||
```bash
|
||||
# Check DNS is correct
|
||||
nano /etc/resolv.conf
|
||||
|
||||
# Add no-subscription + security repos
|
||||
nano /etc/apt/sources.list
|
||||
# Add:
|
||||
# deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
|
||||
# deb http://security.debian.org bookworm-security main contrib
|
||||
|
||||
# Disable enterprise repo
|
||||
nano /etc/apt/sources.list.d/pve-enterprise.list
|
||||
# Comment out the deb line
|
||||
|
||||
# Disable Ceph enterprise repo (not needed without cluster)
|
||||
nano /etc/apt/sources.list.d/ceph.list
|
||||
# Comment out the Enterprise line
|
||||
|
||||
# Update + upgrade
|
||||
apt update && apt upgrade -y
|
||||
|
||||
# Reboot after significant kernel updates
|
||||
reboot
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 4. IOMMU / PCI Passthrough Preparation
|
||||
|
||||
Required to pass physical devices (GPU, HBA, NIC) into VMs in full isolation.
|
||||
|
||||
### Step 1 — Enable IOMMU in GRUB
|
||||
|
||||
```bash
|
||||
nano /etc/default/grub
|
||||
```
|
||||
|
||||
Find `GRUB_CMDLINE_LINUX_DEFAULT` and append:
|
||||
|
||||
| CPU vendor | Value to add |
|
||||
|-----------|-------------|
|
||||
| AMD | `amd_iommu=on iommu=pt` |
|
||||
| Intel | `intel_iommu=on iommu=pt` |
|
||||
|
||||
> `iommu=pt` (passthrough mode) is optional for AMD but harmless to include.
|
||||
|
||||
Update bootloader:
|
||||
```bash
|
||||
update-grub
|
||||
```
|
||||
|
||||
### Step 2 — Load IOMMU kernel modules
|
||||
|
||||
```bash
|
||||
nano /etc/modules
|
||||
```
|
||||
|
||||
Add (Linux kernel ≥ 6.2 — **3 modules only**, not 4):
|
||||
```
|
||||
vfio
|
||||
vfio_iommu_type1
|
||||
vfio_pci
|
||||
```
|
||||
|
||||
```bash
|
||||
update-initramfs -u -k all
|
||||
reboot
|
||||
```
|
||||
|
||||
### Step 3 — Verify IOMMU is active
|
||||
|
||||
```bash
|
||||
dmesg | grep -e DMAR -e IOMMU
|
||||
```
|
||||
|
||||
Look for: **`Interrupt remapping enabled`** — confirms IOMMU groups are active.
|
||||
|
||||
---
|
||||
|
||||
## 5. Disable Subscription Nag Popup
|
||||
|
||||
The popup appears on every login without an Enterprise subscription. Remove it:
|
||||
|
||||
```bash
|
||||
# One-liner (see GitHub repo for exact command)
|
||||
sed -Ezi.bak "s/(Ext.Msg.show\(\{.*?title: gettext\('No valid sub)/void\(\{ \/\/\1/g" \
|
||||
/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
||||
systemctl restart pveproxy
|
||||
```
|
||||
|
||||
Verify by opening a fresh private/incognito browser session — popup should be gone.
|
||||
|
||||
---
|
||||
|
||||
## 6. Storage Overview (defaults)
|
||||
|
||||
| Store | Purpose |
|
||||
|-------|---------|
|
||||
| `local` | ISO images, CT templates, backups |
|
||||
| `local-lvm` | VM disks, CT volumes (LVM thin) |
|
||||
|
||||
---
|
||||
|
||||
## Key Takeaways
|
||||
|
||||
- **Balena Etcher** is the safest USB writer for Proxmox ISOs
|
||||
- **ext4** for beginners, **ZFS** only if you know what you're doing (RAM usage + SSD wear)
|
||||
- Always switch from enterprise → **no-subscription** repos right after install
|
||||
- **IOMMU** must be enabled in GRUB + kernel modules loaded before GPU/HBA passthrough works
|
||||
- Kernel ≥ 6.2 needs only **3 vfio modules** (not 4 as in older guides)
|
||||
- The subscription nag popup is cosmetic only — one sed command removes it
|
||||
- Ceph repo can be disabled if you're not running a cluster
|
||||
|
||||
---
|
||||
|
||||
## Related
|
||||
|
||||
- [[wiki/architecture/_index|Architecture Patterns]] — Docker Compose & multi-host infra patterns
|
||||
- [[wiki/homelab/_index|Homelab Index]] — other homelab topics
|
||||
|
||||
---
|
||||
|
||||
## Sources
|
||||
|
||||
- Video: *Установка и настройка Proxmox в 2025 году от А до Я* — ProHomelab (2025-04-05)
|
||||
- GitHub: `stilicho2011/ubuntu_rep` — proxmox iommu enabling and pci(e) passthrough
|
||||
Loading…
Add table
Reference in a new issue