How to Set Up a Debian HomeLab on a Dell Optiplex Mini PC (2026)
I am looking for a way to install Debian on a new Dell mini PC (which does not support Windows 11) to replace an old laptop running Windows 7. I want the mini PC to perform automatic system updates (using `unattended-upgrades`) and automatically power on after a power outage or when the UPS battery runs out—features the old laptop lacked (as it didn't support auto-booting upon plugging in). While upgrading to a mini PC is a good idea, I wouldn't use a standard desktop tower for this purpose, as the machine will serve as a home server hosting local or private web applications.
Upgrading from Ubuntu to Debian allows for indefinite package updates without needing to reinstall the OS, thereby extending the security lifespan of your HomeLab server. For instance, while Ubuntu Server 26.04 reaches its End of Life (EOL) in April 2036, Debian offers a path for continued support beyond that timeframe.
Preparing to install Debian on a Dell mini PC:
Note: If your newly purchased Dell Mini PC comes with Windows 10 pre-installed, you will need to wipe the data and install Debian via USB.
1. Create your Debian image on a flash drive. Don't have Debian yet? Click here to download. Example if using rufus and ventoy.
2. To boot from a flash drive on the Dell Mini PC, press F2 to configure the USB boot settings.
3. When installing Debian, choose the option to erase data and install if Windows 10 is pre-installed.
4. After installing Debian, remove the USB drive.
5. To update and upgrade packages, run "apt upgrade" to keep the system up to date.
6. Install OpenSSH server.
Preparing to set up a HomeLab on Debian:
Tip: Make Ubuntu Server more like Debian by removing the desktop environment and unnecessary packages to free up disk space.
7. Install 1Panel (must run on port 80 only, and the secure entrance must be disabled)
8. Assign a static IP address or set up a DHCP reservation for your HomeLab.
You're all set! You can customize the settings on your home server to your liking and proceed to install, run, and manage Docker containers or use the ssh command.

Comments
Post a Comment