Turning an Old Gaming Laptop into a Home Lab
说明与用途
Dell G7 笔记本被改造成可靠的家庭实验室:安装 Proxmox VE,配置分区和存储池,创建了一个 SSH 加固的 LXC 容器,并演示了快速快照恢复。
问题
Need a low‑cost, reliable platform to experiment with cloud infra, offensive security, and local AI models without over‑provisioning.
结果
A single laptop serves as a resilient, low‑power home lab with separate storage, container isolation, and verified snapshot recovery, enabling safe experimentation across three learning tracks.
工作流
- 1. Ran Memtest86+ for 7 passes on laptop RAM
- 2. Installed Proxmox VE 9.2, chose ext4, set root to 128 GB
- 3. Fixed Proxmox repos to pve‑no‑subscription
- 4. Created systemd config to ignore lid switch
- 5. Configured two storage pools: NVMe for guest disks, HDD for ISOs/backups
- 6. Created unprivileged LXC container svc‑01 with Debian 13
- 7. Hardened SSH: added key, disabled password/root logins, added user to sudo
- 8. Took snapshot clean‑base
- 9. Broke SSH by uninstalling OpenSSH and deleting /etc/ssh
- 10. Verified lockout
- 11. Restored snapshot
- 12. Reconnected via SSH without host key warning
证据
I went with Proxmox VE 9.2, installed straight onto the laptop. Windows is gone.
I set the root size to 128 GB so the rest goes to the pool where guest disks live.
I created a regular user, set up an SSH key just for the lab, and turned off password logins and root logins.
I took a snapshot called clean‑base. I made sure to take it after fixing sudo, because a snapshot saves things exactly as they are.
- 记录日期: 2026-11-01T09:13:43.450Z