This guide covers installing and configuring Ubuntu for homelab use.
Before installing Ubuntu, enable the following settings in your BIOS:
- Virtualization (Required for running virtual machines and containers).
- Wake-on-LAN (WoL) (Allows remote power-on of the machine).
When installing Ubuntu, during the storage configuration step, disable LVM group to keep a simpler partition layout.
After the first boot, update the system and install some essential utilities:
sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y
sudo apt install neofetch btop -y
Set a static IP for your machine in your router's DHCP settings.
To prevent the laptop from suspending when the lid is closed:
- Open the logind.conf configuration file:
sudo nano /etc/systemd/logind.conf
- Uncomment the following keys and change its values to ignore:
HandleSuspendKey=ignore
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
- Apply the changes:
sudo systemctl restart systemd-logind