$ 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 inet 192.168.0.45/24 brd 192.168.0.255 scope global dynamic enp3s0 valid_lft 86396sec preferred_lft 86396sec
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 inet 192.168.0.45/24 brd 192.168.0.255 scope global dynamic enp3s0 valid_lft 86396sec preferred_lft 86396sec
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 inet 192.168.0.45/24 brd 192.168.0.255 scope global dynamic enp3s0 valid_lft 86396sec preferred_lft 86396sec
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">update && -weight: 600;">sudo -weight: 500;">apt -weight: 500;">upgrade -y
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">update && -weight: 600;">sudo -weight: 500;">apt -weight: 500;">upgrade -y
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">update && -weight: 600;">sudo -weight: 500;">apt -weight: 500;">upgrade -y
# Install UFW
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install ufw -y # Allow SSH connections
-weight: 600;">sudo ufw allow ssh # Enable the firewall
-weight: 600;">sudo ufw -weight: 500;">enable
# Install UFW
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install ufw -y # Allow SSH connections
-weight: 600;">sudo ufw allow ssh # Enable the firewall
-weight: 600;">sudo ufw -weight: 500;">enable
# Install UFW
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install ufw -y # Allow SSH connections
-weight: 600;">sudo ufw allow ssh # Enable the firewall
-weight: 600;">sudo ufw -weight: 500;">enable
-weight: 600;">sudo nano /etc/systemd/logind.conf
-weight: 600;">sudo nano /etc/systemd/logind.conf
-weight: 600;">sudo nano /etc/systemd/logind.conf
HandleLidSwitch=ignore
HandleLidSwitch=ignore
HandleLidSwitch=ignore
-weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">restart systemd-logind.-weight: 500;">service
-weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">restart systemd-logind.-weight: 500;">service
-weight: 600;">sudo -weight: 500;">systemctl -weight: 500;">restart systemd-logind.-weight: 500;">service
-weight: 500;">curl -fsSL https://get.-weight: 500;">docker.com -o get--weight: 500;">docker.sh
-weight: 600;">sudo sh get--weight: 500;">docker.sh
-weight: 500;">curl -fsSL https://get.-weight: 500;">docker.com -o get--weight: 500;">docker.sh
-weight: 600;">sudo sh get--weight: 500;">docker.sh
-weight: 500;">curl -fsSL https://get.-weight: 500;">docker.com -o get--weight: 500;">docker.sh
-weight: 600;">sudo sh get--weight: 500;">docker.sh
-weight: 600;">sudo usermod -aG -weight: 500;">docker $USER
-weight: 600;">sudo usermod -aG -weight: 500;">docker $USER
-weight: 600;">sudo usermod -aG -weight: 500;">docker $USER
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install -weight: 500;">docker-compose-plugin -y
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install -weight: 500;">docker-compose-plugin -y
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install -weight: 500;">docker-compose-plugin -y
-weight: 500;">docker compose version
-weight: 500;">docker compose version
-weight: 500;">docker compose version - Cost-Effective: It's free if you have one lying around!
- Built-in UPS: The battery acts as a built-in Uninterruptible Power Supply (UPS), keeping the server running through short power outages.
- Low Power Consumption: Laptop hardware is designed to be power-efficient, which is great for a device that will be running 24/7. - Create a Bootable USB: I downloaded the Debian 13 "netinst" ISO from the official website and used Rufus on Windows to create a bootable USB drive.
- Boot from USB: I plugged the USB into the laptop and booted from it (usually pressing F12, F2, or Esc during startup to select the USB device).
- Language, Location, and Keyboard: Selected English, United States, and the default keyboard layout.
- Network Setup: Connected the laptop to my home network (Ethernet preferred for stability).
- Hostname & Domain: Entered a short, memorable hostname for the server (e.g., homelab) and left the domain blank.
- User Accounts: Set a root password.
Created a non-root regular user (this will be used for daily management).
- Set a root password.
- Created a non-root regular user (this will be used for daily management).
- Partition Disks: Chose Guided – use entire disk with separate /home partition. This is simpler for a server setup.
- Software Selection: At the “Software selection” screen: Unchecked “Debian desktop environment” Checked “SSH server” and “standard system utilities”
This ensures a clean command-line system that can be accessed remotely.
- Unchecked “Debian desktop environment”
- Checked “SSH server” and “standard system utilities”
- This ensures a clean command-line system that can be accessed remotely.
- GRUB Bootloader: Installed GRUB on the primary drive (so the system boots correctly).
- Finish Installation: Removed the USB drive when prompted and rebooted into the fresh Debian -weight: 500;">install. - Set a root password.
- Created a non-root regular user (this will be used for daily management). - Unchecked “Debian desktop environment”
- Checked “SSH server” and “standard system utilities”
- This ensures a clean command-line system that can be accessed remotely. - Interface name: enp3s0
- Current IP: 192.168.0.45
- MAC address: shown under link/ether in the same section.