🛠️ Project: Operation Refit - Risa (The Pleasure Planet)
Status: 🏗️ Planned
Target: risa-recreation (HP EliteDesk 800 G4 Mini)
Objective: Decommission current gaming role, wipe clean, and repurpose as the high-performance "Front of House" Media & Network Gateway.
🌌 The Mission
We are transforming risa-recreation from a generic Ubuntu box into a specialized Appliance optimized for low-latency User Experience (UX).
The New Identity
- Hostname:
risa-shore-leave(Or keeprisa-recreationif preferred, but "Shore Leave" implies high availability leisure).- Decision: Let's stick with
risa-shore-leaveto signify the fresh start.
- Decision: Let's stick with
- Role: Federation Gateway & Media Core.
- Prime Directive: "Immediate Response." (User clicks -> Risa delivers).
📅 Execution Plan
Phase 1: The Purge (Cleaning)
We need a clean slate. 1. Audit: Verify no critical data exists on the 256GB NVMe (It's currently just an OS drive). 2. Wipe/Reinstall: Install Debian 12 (Bookworm) or Ubuntu Server 24.04 LTS (Minimal). * Why Minimal? We want zero bloat. No Snap packages, no GUI overhead.
Phase 2: Power & Performance Tuning
Before installing apps, we tune the engine (i5-8500T).
1. Bios Config: Enable "Wake on LAN", "Restore on AC Power Loss".
2. OS Tuning (powertop):
* Configure powertop --auto-tune to run on boot.
* Enable Intel P-State scaling driver (powersave governor by default, jumping to performance on demand).
3. Intel GPU Drivers:
* Install intel-media-driver and intel-gpu-tools.
* Verify QuickSync access (/dev/dri/renderD128).
Phase 3: The Gateway Foundation (Migration from Proxmox)
These critical services will be moved from memory-alpha (VM 104) to risa-mediacore to reduce VM load and improve latency.
- Docker & Compose: Standard installation.
- Pi-hole:
- Source:
memory-alpha(VM 104). - Action: Export Teleporter backup, shutdown VM container, import to Risa.
- Goal: Faster DNS response via i5 CPU.
- Source:
- Nginx Proxy Manager:
- Source:
memory-alpha(VM 104). - Action: Migrate config/certs.
- Goal: Handles SSL termination for
plex.the-lal.netlocally.
- Source:
Phase 4: The Holodeck (Media Stack)
These media services move from holodeck-subspace (VM 106) to leverage the iGPU.
- Storage Mount: Mount
/mnt/vault/mediavia NFS. - Plex / Jellyfin:
- Source:
starfleet-compute/holodeck-subspace. - Config: Map
/dev/drifor Hardware Transcoding.
- Source:
- Audiobookshelf:
- Source:
holodeck-subspace(VM 106). - Action: Migrate following the storage refit.
- Goal: Shutdown
holodeck-subspaceentirely.
- Source:
- Immich:
- Source:
starfleet-compute. - Goal: Use QuickSync for video transcoding and AVX for ML.
- Source:
🛠️ Step-by-Step Instructions (For Agent)
Step 1: Renaming & Prep
# On the current machine (192.168.1.21)
sudo hostnamectl set-hostname risa-shore-leave
# Update /etc/hosts
Step 2: Software Removal (If not reinstalling OS)
If we are avoiding a full OS reinstall (to save time), we must purge existing bloat.
# Remove unused packages
sudo apt purge --autoremove -y x11-common gnome-core snapd
# Disable unused services
sudo systemctl disable --now cups avahi-daemon
Step 3: Power Tuning
sudo apt install -y powertop intel-gpu-tools
# Create systemd service for auto-tune
✅ Success Criteria
- Hostname is
risa-shore-leave. - Idle Power: < 10W (Measured if possible, or estimated via
powertop). - Transcode Test:
intel_gpu_topshows activity during Plex playback. - Responsiveness: Pi-hole DNS queries < 5ms.